/* =========================================================
   FC Auth — Card style (center panel, modern)
   - centered panel
   - big title
   - red CTA
   - clean inputs
========================================================= */

.fc-auth{
  min-height: calc(100vh - var(--header-offset));
  padding: clamp(20px, 5vw, 60px) 16px;
  display: grid;
  place-items: center;
}

.fc-auth-card{
  width: min(520px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(20,20,26,.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  padding: 28px 26px 22px;
  position: relative;
  overflow: hidden;
}

:root[data-theme="light"] .fc-auth-card{
  background: rgba(255,255,255,.86);
  border-color: rgba(0,0,0,.10);
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
}

.fc-auth-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  pointer-events:none;
  background:
    radial-gradient(720px 320px at 22% 18%, rgba(255,45,45,.18), transparent 70%),
    radial-gradient(680px 360px at 88% 80%, rgba(0,200,255,.08), transparent 72%);
  filter: blur(10px);
  opacity: .95;
}

.fc-auth-card > *{ position: relative; z-index: 1; }

/* Title */
.fc-auth-title{
  margin: 0 0 18px;
  text-align: center;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -.02em;
}

/* form */
.fc-auth-form{
  display: grid;
  gap: 12px;
}

.fc-auth-input{
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.08);
  color: var(--text);
  padding: 14px 14px;
  outline: none;
}

:root[data-theme="light"] .fc-auth-input{
  border-color: rgba(0,0,0,.12);
  background: rgba(0,0,0,.04);
}

.fc-auth-input::placeholder{
  color: color-mix(in srgb, var(--text) 45%, transparent);
  opacity: 1;
}

.fc-auth-input:focus{
  border-color: color-mix(in srgb, var(--accent) 55%, rgba(255,255,255,.12));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

/* row under password */
.fc-auth-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.fc-auth-check{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 13px;
  color: color-mix(in srgb, var(--text) 82%, transparent);
}
.fc-auth-check input{
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.fc-auth-link{
  font-size: 13px;
  font-weight: 850;
  color: color-mix(in srgb, var(--text) 75%, transparent);
}
.fc-auth-link:hover{ color: var(--text); }

/* red CTA button */
.fc-auth-submit{
  margin-top: 10px;
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 18px 55px rgba(255,45,45,.20);
  transition: transform .12s ease, filter .12s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.fc-auth-submit:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.fc-auth-submit:active{ transform: translateY(0); }

/* bottom text */
.fc-auth-bottom{
  margin-top: 14px;
  text-align:center;
  color: color-mix(in srgb, var(--text) 65%, transparent);
  font-size: 13px;
}
.fc-auth-bottom a{
  color: var(--text);
  font-weight: 950;
  text-decoration:none;
}
.fc-auth-bottom a:hover{ text-decoration: underline; }

/* alerts */
.fc-auth-alert{
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid var(--notice-border);
  background: var(--notice-bg);
  font-size: 13px;
  color: var(--text);
  margin-bottom: 10px;
}
.fc-auth-alert.is-err{
  border-color: color-mix(in srgb, #ff5050 35%, transparent);
  background: color-mix(in srgb, #ff5050 12%, transparent);
}

/* honeypot */
.fc-auth-hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}


.fc-auth-card .fc-auth-submit + .fc-auth-bottom,
.fc-auth-alert + .fc-auth-submit{
  margin-top: 20px;
}