/* =================================================================
   COMMON STYLES - Applied to all pages
   ================================================================= */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* Button Global Styles */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 10px 16px;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.alert {
    border-radius: 4px;
}

/* Form Global Styles */
.form-control:focus,
.form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Card Global Styles */
.card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-body {
    padding: 25px;
}

/* Footer Styles - Common for all pages */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(62, 188, 94, 0.95) 0%, rgba(47, 168, 79, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 8px 30px;
    color: white;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
}

.footer-info {
    display: flex;
    gap: 20px;
    align-items: center;
    font-weight: 500;
}

.admin-login-btn {
    background: white;
    border: 2px solid white;
    color: #28a745;
    padding: 6px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.admin-login-btn:hover {
    background: #f8f9fa;
    color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-login-btn i {
    font-size: 14px;
}

/* Responsive Styles for Footer */
@media (max-width: 768px) {
    .footer-bar {
        flex-direction: row;
        gap: 10px;
        padding: 12px 20px;
        justify-content: center;
    }

    .footer-info {
        display: none;
    }

    .admin-login-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer-bar {
        padding: 10px 15px;
    }

    .admin-login-btn {
        padding: 9px 20px;
        font-size: 13px;
    }

    .admin-login-btn i {
        font-size: 13px;
    }
}
