/* =========================================================
   FORCE INDIA - AUTH PAGES (REGISTER / LOGIN / FORGOT)
   & GLOBAL SUBSCRIBE TO FORCE BOX
   ========================================================= */
.fi-auth-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Split Card Container (White Left Form + Crimson Right Promo) */
.fi-auth-card {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  background: #FFFFFF;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.06);
  border: 0.0625rem solid #EAECEF;
  min-height: 29rem;
}

/* Left Form Panel */
.fi-auth-form-panel {
  padding: 2rem 2.15rem 2.2rem 2.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fi-auth-title {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #5C1A1B;
  text-align: center;
  margin: 0 0 0.75rem 0;
}

.fi-auth-meta-links {
  text-align: center;
  margin-bottom: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.fi-auth-meta-line {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 0.72rem;
  color: #7A2E2E;
  margin: 0;
}

.fi-auth-meta-link {
  color: #7A2E2E;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.25rem;
}

.fi-auth-meta-link:hover {
  color: #9E1C1C;
}

/* Form Grid & Fields */
.fi-auth-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1.15rem;
  align-items: end;
}

.fi-auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.fi-auth-grid-2 .fi-auth-field {
  margin-bottom: 0;
}

.fi-auth-field.full-span {
  grid-column: 1 / -1;
}

.fi-auth-label {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1F2937;
}

.fi-auth-input {
  width: 100%;
  box-sizing: border-box;
  background: #F1F1F1;
  border: 0.0625rem solid #E5E7EB;
  border-radius: 0.35rem;
  padding: 0.62rem 0.85rem;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 0.76rem;
  color: #111827;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.fi-auth-input::placeholder {
  color: #9CA3AF;
}

.fi-auth-input:focus {
  border-color: #9E1C1C;
  background: #FFFFFF;
}

.fi-auth-file-wrap {
  background: #F1F1F1;
  border: 0.0625rem solid #E5E7EB;
  border-radius: 0.35rem;
  padding: 0.45rem 0.65rem;
}

.fi-auth-file-input {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  color: #374151;
  width: 100%;
}

/* Buttons */
.fi-auth-otp-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0.08rem;
}

.fi-auth-otp-btn {
  background: #9E1C1C;
  color: #FFFFFF;
  border: none;
  border-radius: 0.35rem;
  padding: 0.62rem 1.85rem;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease;
}

.fi-auth-otp-btn:hover {
  background: #7F1515;
}

.fi-auth-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 1.45rem;
}

.fi-auth-submit-btn {
  background: #9E1C1C;
  color: #FFFFFF;
  border: none;
  border-radius: 0.4rem;
  padding: 0.68rem 2.85rem;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}

.fi-auth-submit-btn:hover {
  background: #7F1515;
  transform: translateY(-0.06rem);
}

/* Right Crimson Promo Panel */
.fi-auth-promo-panel {
  background: linear-gradient(155deg, #8A1414 0%, #6D0D0D 55%, #4A0707 100%);
  color: #FFFFFF;
  padding: 2.35rem 1.85rem 0 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.fi-auth-promo-copy {
  position: relative;
  z-index: 2;
}

.fi-auth-promo-title {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 1.15rem 0;
  color: #FFFFFF;
}

.fi-auth-promo-sub {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 1.1rem 0;
  color: rgba(255, 255, 255, 0.92);
}

.fi-auth-promo-note {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

/* 3 Fanned Magazine Covers at Bottom */
.fi-auth-covers-fan {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 2rem;
  height: 11.5rem;
  position: relative;
}

.fi-auth-fan-img {
  width: 6.75rem;
  height: 9.6rem;
  object-fit: cover;
  border-radius: 0.45rem 0.45rem 0 0;
  box-shadow: 0 0.4rem 1.1rem rgba(0, 0, 0, 0.45);
  border: 0.08rem solid rgba(255, 255, 255, 0.25);
  position: relative;
  transition: transform 0.25s ease;
}

.fi-auth-fan-img.left {
  transform: rotate(-11deg) translate(1rem, 1.1rem);
  z-index: 1;
}

.fi-auth-fan-img.center {
  transform: rotate(-3deg) translateY(0.35rem);
  z-index: 2;
}

.fi-auth-fan-img.right {
  transform: rotate(9deg) translate(-1rem, 0.85rem);
  z-index: 3;
}

/* Notice Strip (Shown below Register Card in Video 00:04 & 00:21) */
.fi-auth-notice-strip {
  background: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 2.35rem 1.5rem;
  border-radius: 0.2rem;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.12rem;
  font-weight: 700;
}

/* === Professional Form Validation & Feedback === */
.fi-auth-alert {
  padding: 0.65rem 0.85rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.fi-auth-alert.error {
  background: #fef2f2;
  color: #9e1c1c;
  border: 1px solid #fecaca;
}

.fi-auth-alert.success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.fi-auth-input.fi-input-error {
  border: 1.5px solid #dc2626 !important;
  background-color: #fffafa !important;
}

.fi-auth-input.fi-input-valid {
  border: 1.5px solid #16a34a !important;
}

.fi-field-error {
  display: block;
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.fi-field-hint {
  display: block;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.fi-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.fi-pass-wrap .fi-auth-input {
  width: 100%;
  padding-right: 2.3rem;
}

.fi-pass-toggle {
  position: absolute;
  right: 0.55rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.fi-pass-toggle:hover {
  color: #111827;
}

.fi-pass-toggle .material-symbols-outlined {
  font-size: 1.1rem;
}

.fi-auth-submit-btn:disabled,
.fi-auth-otp-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* === Readonly Email & Success Popup Modal === */
.fi-auth-input.fi-input-readonly {
  background-color: #f3f4f6 !important;
  color: #374151 !important;
  cursor: not-allowed;
}

.fi-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.fi-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  /* border-top: 4px solid #15803d; */
  border: 1px solid #e5e7eb;
}

.fi-modal-icon {
  font-size: 3rem !important;
  color: #15803d;
  margin-bottom: 0.65rem;
  display: inline-block;
}

.fi-modal-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.fi-modal-msg {
  margin: 0 0 1.25rem 0;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
}

.fi-modal-btn {
  background: #9e1c1c;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.65rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.fi-modal-btn:hover {
  background: #7f1515;
}


/* === My Profile Page === */
.fi-profile-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
}

.fi-profile-guest {
  padding: 3rem 1.5rem;
  text-align: center;
}

.fi-profile-guest-icon {
  font-size: 3rem !important;
  color: #9e1c1c;
  margin-bottom: 0.75rem;
}

.fi-profile-guest-title {
  margin: 0 0 0.4rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
}

.fi-profile-guest-sub {
  margin: 0 auto 1.35rem auto;
  max-width: 420px;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
}

.fi-profile-guest-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fi-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fffafa 0%, #f9fafb 100%);
  border-bottom: 1px solid #e5e7eb;
}

.fi-profile-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.fi-profile-avatar-wrap {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #9e1c1c;
  background: #ffffff;
}

.fi-profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fi-profile-avatar-fallback {
  width: 100%;
  height: 100%;
  background: #9e1c1c;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.fi-profile-headline {
  min-width: 0;
}

.fi-profile-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fi-profile-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
}

.fi-profile-username {
  margin: 0.2rem 0 0.1rem 0;
  font-size: 0.82rem;
  color: #4b5563;
  word-break: break-all;
}

.fi-profile-id {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: #6b7280;
}

.fi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.16rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.fi-badge .material-symbols-outlined {
  font-size: 0.85rem;
}

.fi-badge.verified {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.fi-badge.active {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.fi-badge.inactive {
  background: #fef2f2;
  color: #9e1c1c;
  border: 1px solid #fecaca;
}

.fi-profile-header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.fi-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.fi-profile-btn .material-symbols-outlined {
  font-size: 1rem;
}

.fi-profile-btn.primary {
  background: #9e1c1c;
  color: #ffffff;
  border: 1px solid #9e1c1c;
}

.fi-profile-btn.primary:hover {
  background: #7f1515;
  border-color: #7f1515;
}

.fi-profile-btn.outline {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
}

.fi-profile-btn.outline:hover {
  border-color: #9e1c1c;
  color: #9e1c1c;
}

.fi-profile-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.fi-profile-alert {
  margin: 1rem 1.5rem 0 1.5rem;
}

.fi-profile-sub-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.fi-profile-sub-strip.subscribed {
  background: #f0fdf4;
}

.fi-profile-sub-strip.unsubscribed {
  background: #fffbeb;
}

.fi-profile-sub-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fi-sub-icon {
  font-size: 1.75rem !important;
  color: #9e1c1c;
}

.fi-profile-sub-strip.subscribed .fi-sub-icon {
  color: #15803d;
}

.fi-profile-sub-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
}

.fi-profile-sub-desc {
  margin: 0.15rem 0 0 0;
  font-size: 0.78rem;
  color: #4b5563;
}

.fi-profile-section {
  padding: 1.5rem;
}

.fi-profile-section-title {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-left: 3px solid #9e1c1c;
  padding-left: 0.6rem;
}

.fi-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.fi-profile-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.fi-profile-tile-icon {
  font-size: 1.2rem !important;
  color: #9e1c1c;
  margin-top: 0.1rem;
}

.fi-profile-tile-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fi-profile-tile-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.fi-profile-tile-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  margin-top: 0.15rem;
  word-break: break-word;
}

.fi-profile-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.95rem 1.5rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.fi-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: color 0.16s ease;
}

.fi-profile-link .material-symbols-outlined {
  font-size: 1rem;
}

.fi-profile-link:hover {
  color: #9e1c1c;
}

@media (max-width: 640px) {
  .fi-profile-grid {
    grid-template-columns: 1fr;
  }
  .fi-profile-header {
    padding: 1.15rem;
  }
  .fi-profile-section {
    padding: 1.15rem;
  }
}

@media (max-width: 900px) {
  .fi-auth-card {
    grid-template-columns: 1fr;
  }
  .fi-auth-promo-panel {
    padding-bottom: 0;
  }
}

@media (max-width: 560px) {
  .fi-auth-grid-2 {
    grid-template-columns: 1fr;
  }
  .fi-auth-form-panel {
    padding: 1.5rem 1.25rem;
  }
}