body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #212529;
  background-color: #F8F9FA;
}
h1, h2, h3, h4, h5, h6, .logo-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.btn-primary {
  background-color: #1A73E8;
  border-color: #1A73E8;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #1761c1;
  border-color: #1761c1;
}
.btn-secondary {
  background-color: #F9AB00;
  border-color: #F9AB00;
  color: #1a1a1a; /* Darker text for better contrast */
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: #c98a00;
  border-color: #c98a00;
  color: #fff;
}
.alert-success {
  background-color: #e6f4ea;
  color: #217a39; /* Darker green for better contrast */
  border-color: #b7e1cd;
}
.alert-danger {
  background-color: #fce8e6;
  color: #b00020; /* Darker red for better contrast */
  border-color: #f7c6c5;
}
.card {
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(33,37,41,0.05);
}
/* ===== MOBILE-FIRST RESPONSIVE DESIGN SYSTEM ===== */

/* Base mobile styles (applied to all screen sizes) */
.btn, .nav-link, .form-control {
    min-height: 44px; /* Touch-friendly targets */
}

.form-control {
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Mobile-specific enhancements */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Enhanced mobile spacing */
    .mb-3 {
        margin-bottom: 1rem !important;
    }
    
    .p-4 {
        padding: 1.25rem !important;
    }
    
    /* Mobile-friendly cards */
    .card {
        margin: 0.5rem;
        border-radius: 0.75rem;
    }
    
    /* Better mobile navigation */
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f8f9fa;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .btn {
        min-height: 48px;
        font-size: 1rem;
    }
    
    .form-control {
        min-height: 48px;
    }
    
    /* Stack buttons vertically on very small screens */
    .d-grid.d-md-flex {
        flex-direction: column;
    }
    
    .d-grid.d-md-flex .btn {
        margin-bottom: 0.5rem;
    }
    
    .d-grid.d-md-flex .btn:last-child {
        margin-bottom: 0;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .card-body {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
    }
}

/* ===== STANDARDIZED PAGE LAYOUTS ===== */

/* Standard page container */
.page-container {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Standard form container */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Standard card layout */
.standard-card {
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Standard button group */
.btn-group-standard {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .btn-group-standard {
        flex-direction: column;
    }
    
    .btn-group-standard .btn {
        width: 100%;
    }
}

/* ===== UTILITY CLASSES FOR MOBILE ===== */

.mobile-padding {
    padding: 1rem;
}

@media (min-width: 769px) {
    .mobile-padding {
        padding: 2rem;
    }
}

.mobile-margin {
    margin: 1rem;
}

@media (min-width: 769px) {
    .mobile-margin {
        margin: 2rem;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */

.btn:focus, .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn, .form-control {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 