/**
 * Women of God Meet — Login et Rejoin V179
 */

:root {
  color-scheme: dark;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #fff;
  background:
    radial-gradient(circle at 14% 8%, rgba(123,54,141,.42), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(239,173,206,.18), transparent 26%),
    linear-gradient(150deg, #140219, #26092f 60%, #120116);
}

body {
  display: grid;
  place-items: center;
  padding: 18px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 80%);
}

main,
.auth-shell,
.login-shell,
.rejoin-shell {
  position: relative;
  z-index: 1;
  width: min(980px,100%);
}

.card,
.login-card,
.rejoin-card,
.auth-card,
form {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(242,197,92,.32);
  border-radius: 24px;
  background: rgba(35,8,46,.88);
  box-shadow: 0 30px 90px rgba(0,0,0,.44);
  backdrop-filter: blur(18px);
}

form {
  padding: clamp(20px,5vw,38px);
}

h1,
h2 {
  margin-top: 0;
  letter-spacing: -.03em;
}

label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  color: #fff;
  background: rgba(12,2,17,.70);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(242,197,92,.18);
  border-color: rgba(242,197,92,.68);
}

button,
.button,
.btn,
a.button {
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  color: #2d0c34;
  background: linear-gradient(135deg,#f6d060,#efa7cc);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.error,
.alert-error {
  padding: 11px 13px;
  border: 1px solid rgba(255,105,135,.42);
  border-radius: 12px;
  color: #ffdce6;
  background: rgba(120,24,54,.72);
}

.success,
.alert-success {
  padding: 11px 13px;
  border: 1px solid rgba(88,227,154,.36);
  border-radius: 12px;
  color: #d9ffe9;
  background: rgba(25,92,58,.70);
}

@media (max-width: 640px) {
  body {
    padding: 8px;
  }

  form {
    padding: 18px;
    border-radius: 18px;
  }

  .actions,
  .form-actions {
    display: grid;
  }

  button,
  .button,
  .btn,
  a.button {
    width: 100%;
  }
}
