@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* Soft light gray background */
    background: #f5f5f7;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #1d1d1f;
}

/* Monochrome Glassmorphism Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
}

.nav-link {
    color: #1d1d1f !important;
    font-weight: 500;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-link:hover {
    color: #000 !important;
    opacity: 0.7;
}

.navbar-brand {
    color: #000 !important;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

/* Custom Buttons - Black & White Apple Style */
.btn-glass {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1d1d1f;
    border-radius: 980px;
    /* Fully rounded like iOS */
    padding: 10px 24px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

.btn-glass-primary {
    background: #000000;
    border: 1px solid #000;
    color: #ffffff;
    border-radius: 980px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass-primary:hover {
    background: #333333;
    border-color: #333333;
    color: #ffffff;
    transform: scale(1.02);
}

/* Form inputs styling */
.glass-input {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 14px 18px;
    color: #1d1d1f;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Layout Additions */
.hero-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #000;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #86868b;
    margin-bottom: 40px;
    font-weight: 400;
}

.stat-card {
    border-radius: 24px;
    padding: 24px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -1px;
}

/* Dashboard Sidebar */
.sidebar {
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.sidebar .list-group-item {
    background: transparent;
    border: none;
    padding: 16px 20px;
    font-weight: 500;
    color: #555;
    border-radius: 12px;
    margin-bottom: 4px;
    transition: all 0.3s;
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    font-weight: 600;
}

/* Footer */
footer {
    background: transparent !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #86868b !important;
}

.text-success,
.text-primary,
.text-warning,
.text-danger,
.text-info {
    color: #1d1d1f !important;
    /* Force completely monochrome */
}

.bg-success,
.bg-primary,
.bg-warning,
.bg-danger,
.bg-info {
    background-color: #1d1d1f !important;
    color: #fff !important;
}

.badge {
    background-color: #f5f5f7 !important;
    color: #000 !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
}

.progress-bar {
    background-color: #000 !important;
}

.border-success,
.border-primary,
.border-warning,
.border-danger,
.border-info {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .glass-card {
        padding: 1.5rem !important;
        border-radius: 16px;
    }

    .sidebar {
        margin-bottom: 20px;
    }

    .sidebar .list-group {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .sidebar .list-group-item {
        margin-right: 10px;
        margin-bottom: 0;
        border-radius: 30px;
        background: rgba(0, 0, 0, 0.03);
    }

    .sidebar .list-group-item.active {
        background: #000;
        color: #fff;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 15px;
        padding: 15px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}