﻿body {
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #065f46 0%, #059669 30%, #f97316 80%, #ea580c 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.font-cairo {
  font-family: 'Cairo', sans-serif;
}

.glass-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.input-field {
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
}

.input-field:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.qr-scanner {
  border: 3px dashed #f97316;
  background: linear-gradient(45deg, #fff7ed 25%, transparent 25%),
              linear-gradient(-45deg, #fff7ed 25%, transparent 25%),
              linear-gradient(45deg, transparent 75%, #fff7ed 75%),
              linear-gradient(-45deg, transparent 75%, #fff7ed 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.logo {
  width: 90px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

#gov-name {
  color: #f97316;
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.8);
  font-weight: 800;
}

.success-message {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border: 1px solid #16a34a;
  color: #15803d;
}

.error-message {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border: 1px solid #dc2626;
  color: #dc2626;
}
