/* Mannatransfer Verification Pages - Shared Styles */

:root {
  --primary: #8B1538;
  --primary-light: #A91D45;
  --primary-dark: #6B102B;
  --secondary: #D4A853;
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;
  --text: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --background: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  line-height: 1.6;
}

.container {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  animation: slideUp 0.5s ease-out;
}

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

/* Logo */
.logo {
  margin-bottom: 32px;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Status Icons */
.status-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  animation: scaleIn 0.5s ease-out 0.2s both;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.status-icon.success {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.status-icon.error {
  background: linear-gradient(135deg, var(--error) 0%, #DC2626 100%);
}

.status-icon.warning {
  background: linear-gradient(135deg, var(--warning) 0%, #D97706 100%);
}

.status-icon.info {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.status-icon svg {
  width: 44px;
  height: 44px;
  fill: var(--white);
}

/* Typography */
h1 {
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.subtitle strong {
  color: var(--text);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-width: 200px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 21, 56, 0.3);
}

.btn-secondary {
  background: var(--background);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

/* Info Box */
.info-box {
  background: var(--background);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.info-box svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Steps */
.steps {
  text-align: left;
  margin: 24px 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider span {
  padding: 0 16px;
  color: var(--text-light);
  font-size: 13px;
}

/* Footer */
.footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer p {
  font-size: 13px;
  color: var(--text-light);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

/* Support Link */
.support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  margin-top: 24px;
}

.support-link:hover {
  color: var(--primary);
}

.support-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Timer */
.timer {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0;
  font-variant-numeric: tabular-nums;
}

/* Loading */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Mobile Responsive */
@media (max-width: 480px) {
  body {
    padding: 16px;
  }

  .container {
    padding: 32px 24px;
    border-radius: 20px;
  }

  h1 {
    font-size: 22px;
  }

  .subtitle {
    font-size: 15px;
  }

  .btn {
    width: 100%;
    padding: 14px 24px;
  }

  .status-icon {
    width: 72px;
    height: 72px;
  }

  .status-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #1F2937;
    --text: #F9FAFB;
    --text-secondary: #9CA3AF;
    --border: #374151;
  }

  body {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  }

  .container {
    background: #1F2937;
  }

  .info-box {
    background: #374151;
  }
}
