:root {
    --primary-color: #005bb2;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --maroon: #800000;
    --light-blue: #87ceeb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Quicksand", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    font-size: 0.85rem;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* padding: 1rem 0; */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
    padding: 0;
}

.navbar-brand img{
    height: 45px;
}

.brand-text {
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.nav-links a::after, .nav-links a.active::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.nav-links a:hover, .nav-links a:active, .nav-links a:focus-visible, .nav-links a.active {
    color: var(--primary-color) !important;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.btn-auth {
    background: var(--maroon);
    color: white;
    padding: 5px 24px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
    border: solid 2px var(--maroon);
}

.btn-auth:hover, .btn-auth:active, .btn-auth:focus-visible {
    background: var(--maroon) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3) !important;
}

.btn-auth.success {
    background: #28a745;
    box-shadow: 0 4px 15px #51a865;
    border-color: #28a745;
}

.btn-auth.success:hover, .btn-auth.success:active, .btn-auth.success:focus-visible {
    background: #28a745 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px #51a865 !important;
}

.btn-signup {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 5px 24px;
    border-radius: 25px;
    font-weight: 600;
}

.btn-signup:hover, .btn-signup:active, .btn-signup:focus-visible{
    background: var(--primary-color) !important;
    color: white !important;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--maroon), #8000001a);
}

.auth-card.success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #67a776);
}

.auth-card:hover, .auth-card:active, .auth-card:focus-visible{
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.auth-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    text-align: center;
    color: var(--gray-700);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control, .form-select {
    border: 2px solid var(--gray-200);
    border-radius: 7px;
    padding: 5px 16px;
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
}

.password-toggle:hover, .password-toggle:active, .password-toggle:focus-visible {
    color: var(--primary-color) !important;
}

.forgot-password {
    text-align: right;
    margin-bottom: 1.5rem;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
}

.forgot-password a:hover, .forgot-password a:active, .forgot-password a:focus-visible{
    text-decoration: underline !important;
    color: var(--primary-color) !important;
}

.btn-signin {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 7px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    margin-bottom: 1.5rem;
    border: solid 2px var(--primary-color);
}

.btn-signin:hover, .btn-signin:active, .btn-signin:focus-visible{
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4) !important;
    color: #fff !important;
    background: var(--primary-color) !important;
}

.btn-signin:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-register {
    width: 100%;
    background: transparent;
    color: var(--maroon);
    border: 2px solid var(--maroon);
    padding: 7px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-register:hover, .btn-register:active, .btn-register:focus-visible{
    background: var(--maroon) !important;
    color: white !important;
}

.btn-standard-primary {
    width: 100%;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
}

.btn-standard-primary:hover, .btn-standard-primary:active, .btn-standard-primary:focus-visible{
    background: var(--primary-color) !important;
    color: white !important;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: var(--gray-500);
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
    z-index: 1;
}

.divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.password-requirements {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.requirements-title {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.weak-indicator {
    color: var(--light-blue);
    font-weight: 600;
}

.requirement-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.requirement-item:last-child {
    margin-bottom: 0;
}

.requirement-icon {
    margin-right: 0.75rem;
    color: var(--gray-400);
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: var(--gray-700);
    line-height: 1.4;
    margin-bottom: 0;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    margin-right: 0.75rem;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-wrapper a:hover, .checkbox-wrapper a:active, .checkbox-wrapper a:focus-visible {
    text-decoration: underline !important;
}

.login-link {
    text-align: center;
}

.btn-login-link {
    background: transparent;
    color: var(--maroon);
    border: 2px solid var(--maroon);
    padding: 7px 24px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-login-link:hover, .btn-login-link:active, .btn-login-link:focus-visible{
    background: var(--maroon) !important;
    color: white !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: 1.5rem;
    cursor: pointer;
}

.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-top: auto;
    position: relative;
    z-index: 1000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover, .footer-links a:active, .footer-links a:focus-visible{
    color: var(--primary-color) !important;
}

.standard-page-container {
    max-width: 100%;
    width: 100%;
}

.standard-page-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.standard-page-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 2rem;
}

.standard-page-content::-webkit-scrollbar {
    width: 6px;
}

.standard-page-content::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 3px;
}

.standard-page-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.standard-page-content::-webkit-scrollbar-thumb:hover, .standard-page-content::-webkit-scrollbar-thumb:active, .standard-page-content::-webkit-scrollbar-thumb:focus-visible{
    background: var(--light-blue) !important;
}

.standard-page-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.standard-page-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.standard-page-section h3 {
    color: #000;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.standard-page-section p {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.standard-page-footer {
    background: rgba(248, 249, 250, 0.8);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    margin-top: 1rem;
}

.standard-page-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    text-align: center;
}

.standard-page-actions {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-card.standard-container {
    max-width: 1200px;
    width: 100%;
    padding: 3rem;
    margin: auto;
}

.contact-info {
    padding: 2rem;
    background: rgb(232 215 216 / 20%);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    height: fit-content;
    margin-top: 1rem;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--maroon);
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #80000024;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
}

.contact-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin: 0;
    line-height: 1.5;
}

.form-control[rows], .form-select[rows] {
    resize: vertical;
    min-height: 120px;
}

.form-control select,
.form-select select,
.form-control option,
.form-select option {
    background: rgba(255, 255, 255, 0.8);
}

.jq-toast-wrap{
    min-width: 300px;
}

.error-container {
    text-align: center;
    padding: 2rem 0;
}

.error-icon {
    width: 120px;
    height: 120px;
    background: var(--maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    animation: pulse-error 2s ease-in-out infinite;
}

.error-icon.server-error {
    background: linear-gradient(45deg, var(--warning-color), #ffbb33);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
}

.error-icon.forbidden-error {
    background: linear-gradient(45deg, var(--secondary-color), #8a8a8a);
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.3);
}

.error-icon.session-error {
    background: linear-gradient(45deg, var(--info-color), #20c997);
    box-shadow: 0 10px 30px rgba(23, 162, 184, 0.3);
}

.error-icon i {
    color: white;
    font-size: 3rem;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.error-message {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0 0 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-suggestions {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid var(--gray-200);
    text-align: left;
}

.error-suggestions h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions li {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.error-suggestions li:last-child {
    margin-bottom: 0;
}

.error-suggestions li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Unauthorized (401) Error */
.error-icon.unauthorized-error {
    background: linear-gradient(45deg, var(--maroon), #b30000);
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.3);
    animation: pulse-unauthorized 2s ease-in-out infinite;
}

/* Payment Required (402) Error */
.error-icon.payment-error {
    background: linear-gradient(45deg, #6f42c1, #8a63d2);
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.3);
    animation: pulse-payment 2s ease-in-out infinite;
}

/* Rate Limit (429) Error */
.error-icon.rate-limit-error {
    background: linear-gradient(45deg, #fd7e14, #ff922b);
    box-shadow: 0 10px 30px rgba(253, 126, 20, 0.3);
    animation: pulse-rate-limit 2s ease-in-out infinite;
}

/* Maintenance (503) Error */
.error-icon.maintenance-error {
    background: linear-gradient(45deg, #495057, #6c757d);
    box-shadow: 0 10px 30px rgba(73, 80, 87, 0.3);
    animation: pulse-maintenance 2s ease-in-out infinite;
}

/* Rate limit specific styles */
.rate-limit-info {
    background: rgba(253, 126, 20, 0.1);
    border: 1px solid rgba(253, 126, 20, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.rate-limit-info p {
    color: var(--gray-700);
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.countdown-timer {
    font-size: 2rem;
    font-weight: 800;
    color: #fd7e14;
    font-family: 'Courier New', monospace;
}

.countdown-timer span {
    display: inline-block;
    min-width: 30px;
}

/* Maintenance status styles */
.maintenance-status {
    background: rgba(73, 80, 87, 0.1);
    border: 1px solid rgba(73, 80, 87, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-weight: 600;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #fd7e14;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-error {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(220, 53, 69, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes pulse-unauthorized {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(128, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(128, 0, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(128, 0, 0, 0.3);
    }
}

@keyframes pulse-payment {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(111, 66, 193, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(111, 66, 193, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(111, 66, 193, 0.3);
    }
}

@keyframes pulse-rate-limit {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(253, 126, 20, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(253, 126, 20, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(253, 126, 20, 0.3);
    }
}

@keyframes pulse-maintenance {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(73, 80, 87, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(73, 80, 87, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(73, 80, 87, 0.3);
    }
}

@media (max-width: 1200px) {
    .navbar .container{
        margin: auto;
        max-width: 95%;
    }
    .navbar-brand{
        font-size: 1rem;
    }
    .nav-links a{
        font-size: 0.85rem;
    }
    .btn-auth, .btn-signup{
        padding: 10px 15px;
        font-size: 0.85rem;
        line-height: 1;
    }
    
    .contact-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .contact-info-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 1.1rem;
    }
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem 1rem 1rem 1rem;
        gap: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        height: 100vh;
    }

    .nav-links div.d-flex{
        margin-top: 30px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .auth-card, .auth-card.standard-container{
        padding: 2rem;
        margin: auto;
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-links {
        gap: 1rem;
        justify-content: center;
    }

    .standard-page-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .standard-page-content {
        max-height: 50vh;
        padding-right: 5px;
    }
    
    .standard-page-section {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .standard-page-section h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .standard-page-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-info {
        padding: 1.25rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    .error-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .error-icon i {
        font-size: 2.5rem;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .error-suggestions {
        padding: 1rem;
        text-align: center;
    }

    .rate-limit-info,
    .maintenance-status {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .countdown-timer {
        font-size: 1.5rem;
    }
    
    .status-indicator {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pulse-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .auth-card, .auth-card.standard-container{
        padding: 1.5rem;
        margin: auto;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .auth-subtitle {
        font-size: 0.9rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }

    .standard-page-title {
        font-size: 1.5rem;
    }
    
    .standard-page-content {
        max-height: 45vh;
    }
    
    .standard-page-section h3 {
        font-size: 0.95rem;
    }
    
    .standard-page-section p {
        font-size: 0.85rem;
    }
    
    .standard-page-footer p {
        font-size: 0.8rem;
    }

    .error-icon {
        width: 80px;
        height: 80px;
    }
    
    .error-icon i {
        font-size: 2rem;
    }
    
    .error-code {
        font-size: 3rem;
    }
    
    .error-title {
        font-size: 1.25rem;
    }
    
    .error-message {
        font-size: 0.9rem;
    }
    
    .error-suggestions h4 {
        font-size: 1rem;
    }
    
    .error-suggestions li {
        font-size: 0.9rem;
    }

    .countdown-timer {
        font-size: 1.25rem;
    }
    
    .rate-limit-info p,
    .status-indicator {
        font-size: 0.9rem;
    }
}