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

:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --bg-color: #f8f9fa;
    --text-color: #2b2d42;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    color: var(--text-color);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 12px;
    transition: box-shadow 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.25);
    border-color: var(--primary-color);
}

.letter-spacing-2 {
    letter-spacing: 0.5em;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Status Cards */
.status-card-fit {
    background: linear-gradient(135deg, #d1fae5 0%, #10b981 100%);
    color: #064e3b;
}

.status-card-unfit {
    background: linear-gradient(135deg, #fee2e2 0%, #ef4444 100%);
    color: #7f1d1d;
}

/* Sidebar for Admin/Agent */
.sidebar {
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--glass-border);
    padding: 20px;
}

.sidebar a {
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar a:hover, .sidebar a.active {
    background: var(--primary-color);
    color: white;
}

/* Responsive Mobile Styles */
@media (max-width: 768px) {
    .sidebar {
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .sidebar h4 {
        width: 100%;
        text-align: center;
        margin-bottom: 15px !important;
    }
    
    .sidebar a {
        margin-bottom: 0;
        padding: 8px 12px;
        font-size: 14px;
        flex: 1 1 auto;
        text-align: center;
    }
    
    .sidebar .mt-auto {
        margin-top: 5px !important;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .sidebar .mt-auto a {
        width: 100%;
    }

    /* Fix table responsiveness */
    .table-responsive {
        border: none;
    }
}
