@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.sidebar {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #9e1e1e 0%, #000000 100%); /* Example gradient */
    width: 300px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    padding: 1.5rem;
    overflow-y: auto;
    transition: all 0.3s;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.sidebar-header img {
    max-width: 250px;
    height: auto;
    margin-bottom: 0.5rem;
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f8f9fa;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.nav-link i {
    width: 20px;
    text-align: center;
}

.content {
    margin-left: 250px;
    padding: 2rem;
    flex-grow: 1;
    min-height: 100vh;
    overflow-y: auto;
}

.card-body {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

@media (max-width: 992px) {
    .sidebar {
        width: 200px;
    }

    .content {
        margin-left: 200px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content {
        margin-left: 0;
        padding: 1rem;
    }

    .sidebar-header img {
        max-width: 120px;
    }
}