/* =====================================================================
   IndiaSkokka Authentic Authentication & Global Footer Stylesheet
   ===================================================================== */

.auth-page-wrapper {
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
}

/* Header */
.auth-header {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

/* Main Form Area */
.auth-main-content {
  flex-grow: 1;
  padding: 36px 16px 48px;
}

.auth-box {
  max-width: 440px;
  margin: 0 auto;
}

.auth-heading {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0b1528;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.auth-subtitle {
  font-size: 0.95rem;
  color: #475569;
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.auth-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 6px;
}

.auth-input-group {
  position: relative;
  margin-bottom: 18px;
}

.auth-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #0f172a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  border-color: #0284c7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}

.auth-input::placeholder {
  color: #94a3b8;
}

.auth-toggle-pwd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: color 0.15s ease;
  user-select: none;
}

.auth-toggle-pwd:hover,
.auth-toggle-pwd:focus,
.auth-toggle-pwd:active {
  outline: none !important;
  box-shadow: none !important;
  color: #0f172a;
}

/* Password Checklist Rules Card */
.pwd-rules-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: -6px;
  margin-bottom: 20px;
}

.pwd-rules-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.pwd-rule-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 5px;
  transition: color 0.2s;
}

.pwd-rule-item i {
  font-size: 0.95rem;
  color: #94a3b8;
  transition: color 0.2s;
}

.pwd-rule-item.valid {
  color: #15803d;
  font-weight: 600;
}

.pwd-rule-item.valid i {
  color: #16a34a;
}

/* Skokka Pill Toggle Switch */
.sk-toggle-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.sk-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sk-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sk-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s;
  border-radius: 26px;
  display: flex;
  align-items: center;
}

.sk-switch-slider:before {
  position: absolute;
  content: "NO";
  height: 20px;
  width: 20px;
  left: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  font-size: 7px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.sk-switch input:checked + .sk-switch-slider {
  background-color: #0284c7;
}

.sk-switch input:checked + .sk-switch-slider:before {
  content: "YES";
  transform: translateX(22px);
  color: #0284c7;
}

.sk-toggle-content {
  flex-grow: 1;
}

.sk-toggle-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.sk-toggle-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0;
}

.sk-toggle-desc a {
  color: #0284c7;
  text-decoration: underline;
  font-weight: 600;
}

/* Interactive Cloudflare Captcha Box */
.cloudflare-captcha-box {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cloudflare-captcha-box:hover {
  border-color: #9ca3af;
}

.cloudflare-captcha-box.is-verified {
  cursor: default;
  border-color: #10b981;
  background-color: #f0fdf4;
}

.cf-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cf-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #94a3b8;
  border-radius: 4px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cf-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #e2e8f0;
  border-top-color: #0284c7;
  border-radius: 50%;
  animation: cfSpin 0.7s linear infinite;
  display: inline-block;
}

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

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake-warning {
  animation: shakeAlert 0.4s ease-in-out;
  border: 1.5px solid #ef4444 !important;
  border-radius: 8px;
  padding: 6px;
  background-color: #fef2f2;
}

.btn-skokka-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cf-check-icon {
  width: 24px;
  height: 24px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
}

.cf-status-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.cf-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cf-logo-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cf-logo-text {
  font-size: 0.68rem;
  font-weight: 800;
  color: #374151;
  letter-spacing: 0.5px;
}

.cf-legal {
  font-size: 0.65rem;
  color: #6b7280;
}

.cf-legal a {
  color: #6b7280;
  text-decoration: underline;
}

/* Buttons */
.btn-skokka-primary {
  width: 100%;
  background: #0284c7;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
  display: block;
}

.btn-skokka-primary:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.btn-skokka-outline {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #0284c7;
  color: #0284c7 !important;
  border-radius: 6px;
  padding: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: block;
  text-decoration: none;
}

.btn-skokka-outline:hover {
  background: #f0f9ff;
  color: #0369a1 !important;
}

.auth-forgot-link {
  display: block;
  text-align: center;
  color: #0284c7;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 14px 0 0;
  text-decoration: none;
}

.auth-forgot-link:hover {
  text-decoration: underline;
  color: #0369a1;
}

.auth-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 24px 0 20px;
}

.auth-switch-text {
  text-align: center;
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 12px;
}

/* =====================================================================
   Authentic Skokka Global Footer (from Screenshot)
   ===================================================================== */
.skokka-global-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding-top: 40px;
  font-size: 0.84rem;
  color: #64748b;
  position: relative;
}

.skokka-rta-badge {
  background: #cbd5e1;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.skokka-footer-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 24px;
}

.skokka-footer-col h6 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.skokka-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skokka-footer-col ul li {
  margin-bottom: 8px;
}

.skokka-footer-col ul li a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.skokka-footer-col ul li a:hover {
  color: #0284c7;
}

.skokka-btn-post {
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 6px;
  padding: 8px 20px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.skokka-btn-post:hover {
  background: #0369a1;
}

.skokka-country-select {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.88rem;
  color: #1e293b;
  background: #ffffff;
  min-width: 140px;
}

.skokka-payment-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 24px;
  padding-bottom: 24px;
}

.skokka-back-to-top {
  position: absolute;
  right: 24px;
  bottom: 74px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.skokka-back-to-top:hover {
  background: #f8fafc;
  color: #0f172a;
}

.skokka-bottom-dark {
  background: #181b20;
  padding: 24px 0 20px;
  text-align: center;
  color: #94a3b8;
}

.skokka-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.skokka-social-links a {
  color: #ffffff;
  font-size: 1.25rem;
  transition: color 0.2s, transform 0.2s;
}

.skokka-social-links a:hover {
  color: #0284c7;
  transform: translateY(-2px);
}

.skokka-copyright {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

/* =====================================================================
   Compulsory KYC Government Document & Live Photo Capture Styles
   ===================================================================== */
.auth-box.register-box {
  max-width: 560px;
}

.kyc-verification-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.kyc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.kyc-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kyc-compulsory-badge {
  background: #fee2e2;
  color: #ef4444;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kyc-card-subtitle {
  font-size: 0.80rem;
  color: #64748b;
  margin-bottom: 14px;
}

/* Document Type Radio Pills */
.doc-pill-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.doc-pill-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  user-select: none;
}

.doc-pill-btn input[type="radio"] {
  display: none;
}

.doc-pill-btn .doc-icon {
  font-size: 1.25rem;
  margin-bottom: 3px;
}

.doc-pill-btn .doc-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}

.doc-pill-btn:hover {
  border-color: #0284c7;
  background: #f0f9ff;
}

.doc-pill-btn.active {
  background: #f0f9ff;
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.18);
}

.doc-pill-btn.active .doc-text {
  color: #0284c7;
  font-weight: 700;
}

/* Upload Dropzones */
.kyc-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

@media (max-width: 575.98px) {
  .kyc-upload-grid {
    grid-template-columns: 1fr;
  }
}

.kyc-upload-box {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.kyc-upload-box:hover {
  border-color: #0284c7;
  background: #f0f9ff;
}

.kyc-upload-box.has-file {
  border-color: #10b981;
  border-style: solid;
  background: #f0fdf4;
}

.kyc-upload-box .preview-img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 6px;
}

.kyc-upload-box .upload-icon {
  font-size: 1.8rem;
  color: #94a3b8;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.kyc-upload-box:hover .upload-icon {
  color: #0284c7;
}

.kyc-upload-box .upload-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 2px;
}

.kyc-upload-box .upload-hint {
  font-size: 0.68rem;
  color: #94a3b8;
}

/* Live Selfie Camera Styles */
.live-camera-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.camera-stream-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.camera-stream-wrapper video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transform: scaleX(-1); /* mirror selfie view */
}

/* Oval Face Guide Overlay */
.camera-face-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 200px;
  border: 2px dashed rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
}

.camera-face-overlay::after {
  content: 'Fit face here';
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.70rem;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.live-snapshot-preview {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  margin: 0 auto 8px;
  display: block;
}

.live-photo-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

