/* ==========================================================================
   FAST CHECKOUT & OTP MODAL STYLES (FABFUNDA / GOKWIK PRO DESIGN)
   Theme Color: #01aa95 (Teal Green) | Dark: #0f172a | Light BG: #f8fafc
   ========================================================================== */

/* Modal Backdrop Overlay */
#fast-checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#fast-checkout-modal-overlay.active {
  display: block;
  opacity: 1;
}

/* Modal Wrapper Container */
#fast-checkout-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  pointer-events: none;
}

#fast-checkout-modal-container.active {
  display: flex;
  pointer-events: auto;
}

/* Main Modal Card (Scaled-up & Spacious) */
.fc-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 1px 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fcPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}

.fc-modal-card .fa-inr {
  font-size: 0.92em;
  font-weight: normal;
  margin-right: 1px;
}

@keyframes fcPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Screen 1: Main View */
.fc-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 92vh;
  position: relative;
}

/* Header Bar */
.fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 40;
  gap: 12px;
}

.fc-btn-back {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
  padding: 0;
  flex-shrink: 0;
}

.fc-btn-back:hover {
  background: #01aa95;
  color: #ffffff;
  border-color: #01aa95;
}

.fc-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
}

.fc-logo-img {
  max-height: 36px;
  max-width: 140px;
  object-fit: contain;
}

/* Header Items Pill (Matching Fabrino / Gokwik Image 3) */
.fc-items-pill {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  flex-shrink: 0;
}

.fc-items-pill:hover,
.fc-items-pill.active {
  border-color: #01aa95;
  background: #f0fdfa;
  color: #01aa95;
}

.fc-pill-saved-tag {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.2px;
}

.fc-pill-items-text {
  font-weight: 700;
  color: #0f172a;
}

.fc-pill-arrow {
  font-size: 11px;
  color: #64748b;
  transition: transform 0.25s ease;
  margin-left: 2px;
}

.fc-items-pill.active .fc-pill-arrow {
  transform: rotate(180deg);
}

/* Collapsible Order Summary Dropdown (Floating on Top of Content) */
.fc-order-summary-overlay {
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  height: calc(100% - 68px);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  z-index: 35;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  animation: fcFadeIn 0.2s ease-out;
}

.fc-order-summary-dropdown {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0 0 20px 20px;
  padding: 18px 20px;
  max-height: 80%;
  overflow-y: auto;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.25);
  animation: fcSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fc-dropdown-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.fc-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
}

.fc-drop-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.fc-drop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-drop-info {
  flex: 1;
  min-width: 0;
}

.fc-drop-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.fc-drop-qty {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 3px;
}

.fc-drop-delivery {
  font-size: 12px;
  color: #01aa95;
  font-weight: 600;
}

.fc-drop-pricing-col {
  text-align: right;
  flex-shrink: 0;
}

.fc-drop-item-mrp {
  font-size: 12px;
  text-decoration: line-through;
  color: #94a3b8;
}

.fc-drop-item-price {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.fc-drop-disc-badge {
  background: #fee2e2;
  color: #dc2626;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 3px;
  display: inline-block;
}

.fc-dropdown-price-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fc-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
}

.fc-discount-row {
  color: #16a34a;
  font-weight: 600;
}

.fc-ship-text {
  color: #94a3b8;
  font-style: italic;
  font-size: 12px;
}

.fc-free-text {
  color: #16a34a;
  font-weight: 600;
}

.fc-to-pay-row {
  border-top: 1px dashed #cbd5e1;
  padding-top: 10px;
  margin-top: 4px;
  font-size: 16px;
  color: #0f172a;
}

/* Scrollable Content (Spacious & Clean) */
.fc-content-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f8fafc;
}

/* Happy Customers Banner */
.fc-happy-banner {
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #047857;
  text-align: center;
}

/* Coupon Card Box (Screenshot 2 / Image 3) */
.fc-coupon-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.fc-coupon-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 2px 4px 2px 14px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
  min-height: 48px;
}

.fc-coupon-input-wrap:focus-within {
  border-color: #01aa95;
  box-shadow: 0 0 0 3px rgba(1, 170, 149, 0.12);
}

.fc-coupon-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #0f172a;
  padding: 10px 0;
}

.fc-coupon-input::placeholder {
  text-transform: none;
  color: #94a3b8;
  font-weight: 400;
}

.fc-btn-apply-coupon {
  background: transparent;
  border: none;
  color: #01aa95;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.fc-btn-apply-coupon:hover {
  background: #f0fdfa;
}

.fc-coupon-error-msg {
  font-size: 12px;
  font-weight: 600;
  color: #ef4444;
  margin-top: -6px;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fee2e2;
  text-align: left;
}

.fc-coupon-error-msg.success {
  color: #15803d;
  background: #f0fdf4;
  border-color: #dcfce7;
}

.fc-applied-coupon-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fdfa;
  border: 1.5px dashed #01aa95;
  border-radius: 12px;
  padding: 12px 16px;
}

.fc-applied-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fc-coupon-tag {
  font-size: 14px;
  font-weight: 700;
  color: #01aa95;
}

.fc-coupon-save {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
}

.fc-btn-remove-coupon {
  background: #ffffff;
  border: 1px solid #fecdd3;
  color: #e11d48;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.fc-btn-remove-coupon:hover {
  background: #e11d48;
  color: #ffffff;
}

.fc-available-coupons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.fc-avail-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-gear-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.fc-avail-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
}

.fc-btn-view-all-coupons {
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.fc-btn-view-all-coupons:hover {
  color: #01aa95;
  text-decoration: underline;
}

/* Login Card Box (Screenshot 2 / Image 3) */
.fc-login-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.fc-redeem-banner {
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  text-align: center;
}

.fc-login-body {
  padding: 18px 20px;
}

.fc-login-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.fc-user-circle-icon {
  font-size: 20px;
  color: #64748b;
}

.fc-login-heading {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  padding: 0;
  padding-bottom: 0;
  line-height: 1.2;
}

/* Material Floating Outline Label (Spacious 54px Height) */
.fc-floating-outline {
  position: relative;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  padding: 4px 14px;
  transition: all 0.2s ease;
  margin-top: 14px;
  margin-bottom: 14px;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.fc-floating-outline:focus-within,
.fc-floating-outline.is-focused {
  border-color: #01aa95;
  box-shadow: 0 0 0 3px rgba(1, 170, 149, 0.12);
}

.fc-floating-outline-label {
  position: absolute;
  top: 50%;
  left: 62px;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  padding: 0 4px;
  line-height: 1;
  z-index: 2;
  margin: 0;
}

/* When focused or when input has value */
.fc-floating-outline:focus-within .fc-floating-outline-label,
.fc-floating-outline.is-focused .fc-floating-outline-label,
.fc-floating-outline.has-value .fc-floating-outline-label {
  top: -8px;
  left: 14px;
  transform: none;
  font-size: 12px;
  font-weight: 600;
  color: #01aa95;
  background: #ffffff;
}

.fc-mobile-row {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.fc-country-code {
  padding: 8px 4px 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.fc-vert-divider {
  color: #cbd5e1;
  margin: 0 8px 0 4px;
  font-size: 16px;
}

.fc-mobile-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 4px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  background: transparent;
  letter-spacing: 0.5px;
}

.fc-mobile-status-text {
  font-size: 12px;
  color: #01aa95;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

/* Security Badges */
.fc-security-badges {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0;
}

.fc-powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2f6;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.fc-powered-by strong {
  color: #01aa95;
  font-weight: 700;
}

.fc-badges-list {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
}

.fc-badges-list span {
  font-size: 11.5px;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.fc-badges-list span i {
  color: #10b981;
  font-size: 12px;
}

/* Checkbox */
.fc-checkbox-wrap {
  margin-bottom: 16px;
}

.fc-custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.fc-custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.fc-checkbox-mark {
  width: 18px;
  height: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.fc-custom-checkbox input:checked ~ .fc-checkbox-mark {
  background: #01aa95;
  border-color: #01aa95;
}

.fc-custom-checkbox input:checked ~ .fc-checkbox-mark::after {
  content: '✓';
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.fc-checkbox-label {
  font-size: 12.5px;
  color: #334155;
}

/* Continue Button (Prominent & Stylish) */
.fc-btn-continue {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-btn-continue:hover {
  background: #01aa95;
  box-shadow: 0 6px 18px rgba(1, 170, 149, 0.35);
  transform: translateY(-1px);
}

.fc-btn-continue:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.fc-terms-footer {
  text-align: center;
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 14px;
  line-height: 1.5;
}

.fc-terms-footer a {
  color: #64748b;
  text-decoration: underline;
}

/* ==========================================================================
   Screen 2 & 3: Overlay Sheets (Coupons & OTP) - Bottom Sheet Styling
   ========================================================================== */
.fc-screen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: fcFadeIn 0.25s ease-out forwards;
}

@keyframes fcFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Floating Round Close Button above sheet */
.fc-sheet-floating-close {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.fc-floating-close-btn {
  background: #ffffff;
  border: none;
  color: #0f172a;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, background 0.2s;
}

.fc-floating-close-btn:hover {
  transform: scale(1.1);
  background: #ef4444;
  color: #ffffff;
}

/* Coupons Bottom Sheet */
.fc-coupons-modal-sheet {
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 18px 20px;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  animation: fcSlideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fcSlideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.fc-sheet-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fc-sheet-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-sheet-cert-icon {
  font-size: 18px;
  color: #01aa95;
}

.fc-sheet-top-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.fc-sheet-inner-close {
  background: transparent;
  border: none;
  font-size: 22px;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
}

.fc-sheet-inner-close:hover {
  color: #ef4444;
}

.fc-sheet-input-box {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.fc-sheet-input-box input {
  flex: 1;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  outline: none;
}

.fc-sheet-input-box input:focus {
  border-color: #01aa95;
}

.fc-sheet-input-box button {
  background: #01aa95;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.fc-sheet-input-box button:hover {
  background: #008f7d;
}

.fc-sheet-category-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.fc-cat-pill {
  background: #f1f5f9;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
}

.fc-sheet-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.fc-coupons-list-wrap {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 260px;
  margin-bottom: 12px;
}

.fc-coupon-item-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fc-cpn-left {
  flex: 1;
  min-width: 0;
}

.fc-cpn-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.fc-cpn-icon {
  font-size: 14px;
  color: #64748b;
}

.fc-cpn-pill {
  border: 1.5px dashed #475569;
  background: #f8fafc;
  color: #0f172a;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.fc-cpn-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.fc-cpn-apply-btn {
  background: #ffffff;
  border: 1.5px solid #0f172a;
  color: #0f172a;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.fc-cpn-apply-btn:hover {
  background: #01aa95;
  border-color: #01aa95;
  color: #ffffff;
}

.fc-sheet-footer-link {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   Screen 3: OTP Verification Bottom Sheet (Screenshot 4)
   ========================================================================== */
.fc-otp-modal-sheet {
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  animation: fcSlideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Top Yellow Lock Banner (Image 3 & Star Reference) */
.fc-otp-top-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom: 1px solid #fde68a;
  padding: 22px 20px 16px 20px;
  text-align: center;
}

.fc-lock-circle {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #fde047;
  color: #854d0e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.25);
  margin-bottom: 4px;
}

.fc-stars {
  color: #059669;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 6px;
  margin: 6px 0 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.fc-stars span {
  display: inline-block;
  transform: translateY(1px);
}

.fc-otp-top-banner h3 {
  margin: 0 0 3px 0;
  font-size: 16px;
  font-weight: 700;
  color: #78350f;
}

.fc-sub-secure {
  margin: 0;
  font-size: 12px;
  color: #92400e;
}

.fc-otp-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fc-otp-title-text {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.fc-otp-sent-info {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fc-otp-sent-info strong {
  color: #0f172a;
}

.fc-btn-edit-mobile {
  background: transparent;
  border: none;
  color: #01aa95;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* 4 Single Digit Boxes (Spacious) */
.fc-otp-inputs-grid {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
  width: 100%;
  max-width: 280px;
}

.fc-otp-digit {
  width: 54px;
  height: 56px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.fc-otp-digit:focus {
  border-color: #01aa95;
  background: #f0fdfa;
  box-shadow: 0 0 0 3px rgba(1, 170, 149, 0.15);
  transform: scale(1.04);
}

.fc-error-text {
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.fc-btn-verify {
  width: 100%;
  max-width: 280px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transition: all 0.2s;
  margin-bottom: 14px;
}

.fc-btn-verify:hover {
  background: #01aa95;
  box-shadow: 0 4px 14px rgba(1, 170, 149, 0.3);
}

.fc-btn-verify:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.fc-resend-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}

.fc-btn-resend {
  background: transparent;
  border: none;
  color: #01aa95;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.fc-btn-resend:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: none;
}

.fc-timer-countdown {
  color: #64748b;
  font-size: 12px;
}

.fc-otp-footer-powered {
  font-size: 11px;
  color: #94a3b8;
}

.fc-otp-footer-powered a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  #fast-checkout-modal-container {
    padding: 0;
    align-items: flex-end;
  }

  .fc-modal-card {
    max-width: 100%;
    max-height: 94vh;
    border-radius: 24px 24px 0 0;
  }
}
