@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary: #106fcc;
    --primary-dark: #094a8d;
    --accent: #ff9800;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Background for specific pages set in HTML */

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    box-shadow: var(--shadow);
    padding: 2.5rem;
}

.premium-header {
    background: white;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img { height: 60px; }

.contact-info { text-align: right; font-size: 0.8125rem; line-height: 1.4; color: var(--text-muted); }
.contact-info strong { color: var(--primary); }

.btn-premium {
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.btn-premium:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 111, 204, 0.3);
}

.table-premium { width: 100%; border-collapse: collapse; margin-top: 2rem; border-radius: 12px; overflow: hidden; }
.table-premium th { background: #f8fafc; padding: 1.2rem; text-align: left; font-size: 0.75rem; color: #94a3b8; text-transform: uppercase; font-weight: 800; border-bottom: 1px solid #edf2f7; }
.table-premium td { padding: 1.5rem 1.2rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }

.badge-premium { padding: 6px 12px; border-radius: 99px; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-pending { background: #fff7ed; color: #ea580c; }
.badge-partial { background: #eff6ff; color: #2563eb; }
.badge-completed { background: #f0fdf4; color: #16a34a; }

.search-bar { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 15px; padding: 1.2rem; display: flex; gap: 15px; align-items: center; }
.input-premium { padding: 0.8rem 1.2rem; border-radius: 10px; border: 1px solid #e2e8f0; font-family: inherit; font-size: 0.9375rem; width: 100%; }
.input-premium:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(16, 111, 204, 0.1); }

/* Animation */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeIn 0.6s ease-out forwards; }

/* --- MOBILE RESPONSIVE ADAPTATIONS --- */
@media (max-width: 768px) {
    .premium-header {
        padding: 1rem;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .premium-header .logo-img { height: 60px; }
    .contact-info { text-align: center; font-size: 0.75rem; }
    .contact-info div { margin-bottom: 5px; }
    
    main { padding: 1rem !important; }
    
    .glass-card { padding: 1.5rem; border-radius: 1.25rem; }
    
    .login-glass { width: 95% !important; margin: 10px; }

    /* Stack Grids */
    div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Responsive Tables */
    .table-premium {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .table-premium td { padding: 1rem; }

    /* Adjust Buttons */
    .btn-premium { width: 100%; justify-content: center; padding: 1rem; }
    .search-bar { flex-direction: column; align-items: stretch; }
    .search-bar select { width: 100% !important; }
    
    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 2rem 1rem;
    }
}
