:root {
    --primary-color: #6f42c1;
    --secondary-color: #563d7c;
    --tertiary-color: #7952b3;
    --quaternary-color: #8c68cd;
    --quinary-color: #a98eda;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Header styles */
.navbar-dark {
    background-color: var(--primary-color) !important;
    height: 56px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Sidebar styles */
.sidebar {
    background-color: var(--primary-color);
    min-height: 100vh;
    transition: all 0.3s ease-in-out;
}

.sidebar .nav-link {
    color: #fff;
    padding: 10px 20px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: var(--secondary-color);
}

/* Main content styles */
.main-content {
    padding: 20px;
}

/* Card styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 10px 10px 0 0;
}

/* Responsive styles for mobile view */
@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1rem;
        max-width: 150px;
    }

    .sidebar {
        position: fixed;
        top: 56px;
        left: -250px;
        height: calc(100% - 56px);
        z-index: 1000;
        width: 250px;
        transition: all 0.3s ease-in-out;
    }

    .sidebar.show {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        padding-top: 56px;
    }

    body.sidebar-open {
        overflow-y: hidden;
        position: relative;
    }

    body.sidebar-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}