

body {
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(255, 127, 163, .22), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(255, 183, 214, .18), transparent 55%),
    radial-gradient(800px 500px at 55% 85%, rgba(244, 124, 162, .16), transparent 60%),
    linear-gradient(180deg, #fff, #fff7fb);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  padding: var(--container-pad);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  color: #15131a;
}

.fp-container {
  max-width: var(--card-max);
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.72));
  border-radius: var(--radius-1);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 55px rgba(19, 12, 29, .10);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.8s ease-in-out;
}

.auth-logo{
  width: clamp(72px, 10vw, 90px);
  height: clamp(72px, 10vw, 90px);
  object-fit: contain;
  border-radius: var(--radius-0);
  padding: var(--space-1);
  background: linear-gradient(135deg, #ffffff 0%, #ffb7d6 100%);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow:
    0 18px 50px rgba(255, 154, 197, .32),
    0 12px 30px rgba(255, 183, 214, .22);
  align-self: center;
  margin-bottom: 10px;
}

.fp-container h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 var(--space-2) 0;
  color: #15131a;
  text-align: center;
  width: 100%;
  letter-spacing: 1px;
}

.fp-subtitle {
  color: rgba(21, 19, 26, .70);
  font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  margin-bottom: var(--space-4);
  text-align: center;
  width: 100%;
  line-height: 1.55;
}

.fp-label {
  font-size: 1rem;
  color: rgba(21, 19, 26, .86);
  font-weight: 600;
  margin-bottom: var(--space-1);
  margin-left: 2px;
  display: inline-block;
}

.fp-input {
  width: 100%;
  font-size: 1rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius-0);
  padding: calc(var(--space-2) - var(--space-0)) calc(var(--space-2) - var(--space-0));
  margin-bottom: var(--space-4);
  outline: none;
  color: #333;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 28px rgba(19, 12, 29, .06);
  transition: border-color .18s ease, box-shadow .22s ease, background .22s ease;
}
.fp-input:focus {
  border: 1px solid rgba(244, 124, 162, .72);
  box-shadow: 0 0 0 4px rgba(255, 127, 163, .18);
  background: #fff;
}

.fp-btn {
  width: 100%;
  background: linear-gradient(90deg, #ffffff 0%, #ff9ac5 100%);
  color: #b01d5a;
  border: none;
  border-radius: 999px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  padding: calc(var(--space-2) + var(--space-0)) 0;
  margin-top: 8px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, filter .25s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 14px 34px rgba(255, 154, 197, .24);
}
.fp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(255, 154, 197, .32);
  filter: brightness(1.02);
}

.fp-btn.is-loading,
.fp-btn:disabled{
  cursor:not-allowed;
  opacity:.9;
  transform:none;
  filter:none;
}

.fp-btn.is-loading{
  position:relative;
  color:transparent;
}

.fp-btn.is-loading::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:18px;
  height:18px;
  margin-left:-9px;
  margin-top:-9px;
  border-radius:50%;
  border:2px solid rgba(176, 29, 90, .22);
  border-top-color:#b01d5a;
  animation: fpBtnSpin .65s linear infinite;
}

@keyframes fpBtnSpin {
  to {
    transform: rotate(360deg);
  }
}

.fp-back {
  width: 100%;
  margin-top: var(--space-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(21, 19, 26, .92);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  font-size: clamp(1.02rem, 1.2vw, 1.08rem);
  font-weight: 600;
  padding: calc(var(--space-2) + var(--space-0)) 0;
  box-shadow: 0 10px 28px rgba(19, 12, 29, .06);
  transition: transform .15s ease, box-shadow .25s ease;
}

.fp-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(19, 12, 29, .10);
}

#fp-message {
  margin-top: var(--space-3);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  min-height: 24px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

#fp-message.fp-message--visible {
  opacity: 1;
}

#fp-message.fp-message--error {
  color: #d81b60;
}

#fp-message.fp-message--success {
  color: #2e7d32;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
