html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

/* Navbar */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: #6366f1 !important;
}

/* Gradient Backgrounds */
.bg-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Hero Section */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Feature Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Stats Counter */
.counter {
  font-weight: bold;
  font-size: 2rem;
}

/* Badges */
.badge {
  font-size: 0.875rem;
  padding: 0.35em 0.65em;
}

/* Footer */
.footer {
  background-color: #343a40;
}

/* Buttons */
.btn-primary {
  background-color: #667eea;
  border-color: #667eea;
}

.btn-primary:hover {
  background-color: #764ba2;
  border-color: #764ba2;
}

/* Alert Messages */
.alert {
  border-radius: 0.5rem;
}

/* Payment Page Specific */
.payment-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 20px;
}

.banner {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 10px 10px 0 0;
}

.logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  margin-top: -40px;
}

/* Table Responsive */
.table {
  font-size: 0.9rem;
}

.table th {
  font-weight: 600;
  background-color: #f8f9fa;
}

/* Dashboard Cards */
.card-body {
  padding: 1.5rem;
}

/* Form Styling */
.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate__animated {
  animation-duration: 1s;
}

/* Responsive */
@media (max-width: 768px) {
  .display-3 {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .counter {
    font-size: 1.5rem;
  }
}