body {
    overflow-x: hidden;
    font-family: "Roboto", sans-serif;
    background-color: #f2f8f9;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
    width: 260px;
    background-color: #1a1c23 !important;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
    background-color: #1a1c23;
    display: flex;
    align-items: center;
    height: 70px;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

.list-group-item {
    border: none;
    padding: 12px 25px;
    font-size: 0.9rem;
    background-color: #1a1c23 !important;
    color: #aeb1b9 !important;
}

.list-group-item:hover {
    background-color: #2c2e36 !important;
    color: #fff !important;
    text-decoration: none;
}

.list-group-item.active {
    background-color: #3e4b5b !important;
    color: #fff !important;
    border-left: 3px solid #8e54e9;
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.card-primary.bg-primary {
    background: linear-gradient(45deg, #6a82fb, #fc5c7d);
    /* Example gradient */
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    background-color: #796AEE !important;
    /* Fallback */
}

.login-box {
    width: 360px;
    margin: 7% auto;
}

.login-logo {
    font-size: 35px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
}

.login-logo a {
    color: #444;
}

.login-box-body {
    background: #fff;
    padding: 40px;
    border-top: 0;
    color: #666;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.login-box-msg {
    margin: 0;
    text-align: center;
    padding: 0 20px 20px 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

/* Error validation styling */
.help-block-error {
    color: #dc3545;
    /* BS5 Danger Red */
    font-size: 0.875rem;
    margin-top: 5px;
}

.has-error .form-control {
    border-color: #dc3545;
}

/* Handsome Pagination */
.pagination {
    justify-content: center;
    margin-top: 20px;
}

.page-item .page-link {
    color: #6a11cb;
    border: none;
    margin: 0 5px;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-item.active .page-link {
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(106, 17, 203, 0.4);
    transform: translateY(-2px);
}

.page-item.disabled .page-link {
    background-color: transparent;
    color: #ccc;
    box-shadow: none;
}

.page-item .page-link:hover {
    background-color: #f8f9fa;
    color: #2575fc;
    transform: translateY(-2px);
    text-decoration: none;
}

.room-action {
    gap: 5px;
}