

/* Sidebar */



.app-header .nav-link {
    font-weight: bolder;
}

.app-sidebar .nav-link {
    font-size: larger;
}

.navbar {
    background-color: #343a40;
}

.sidebar-wrapper a {
    color: #CFE015 !important;
}

    .sidebar-wrapper a:hover {
        color: #b0c80f !important;
    }

.app-main {
    background-color: #e0dfc5;
}

.app-header a {
    color: #CFE015 !important;
}

    .app-header a:hover {
        color: #b0c80f !important;
    }

/* Accent buttons, cards, etc */
.btn-primary,
.bg-primary {
    background-color: #CFE015 !important;
    border-color: #CFE015 !important;
    color: #000 !important;
}

.btn-add {
    border-color: black;
    color: #CFE015;
    background-color: black;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0.375rem;
}

.dt-input {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
}

.card-style {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

    .card-style:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Slightly elevated on hover */
    }

.text-bg-primary {
    color: #fff !important;
    background-color: #CFE015 !important;
}

/* Optional card adjustments */
/*.card {
    background-color: #1e1e1e;
    color: #fff;
}*/
/* === General Table Style === */
table.dataTable thead {
    background-color: black;
    color: #CFE015;
}

table.dataTable th,
table.dataTable td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

/* Highlight row on hover */
table.dataTable tbody tr:hover {
    background-color: #cfe01524;
}

/* === Pagination Buttons === */
.dt-paging .dt-paging-button {
    background-color: #CFE015 !important;
    border: none;
    color: #000;
    padding: 6px 12px;
    margin: 2px;
    border-radius: 4px;
}

    .dt-paging .dt-paging-button.current {
        font-weight: bold;
        box-shadow: 0 0 0 1px #888;
    }

/* === Hide "Show Entries" Dropdown === */
.dt-length {
    display: none !important;
}

/* === Move search bar to the left === */
.dt-search {
    order: -1;
    flex: 1 1 auto;
    text-align: left !important;
}

/* === Info text styling === */
.dt-info {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
    margin-top: 0.25rem;
}

div.dt-buttons > .dt-button:first-child, div.dt-buttons > div.dt-button-split .dt-button:first-child {
    background-color: #CFE015 !important;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        margin-top: 10px;
    }

    .dt-search {
        text-align: left !important;
    }

    .dt-paging {
        text-align: left !important;
    }
}

/* Custom Hover Effect for Select Dropdown Options */
select.form-control option:hover {
    background-color: #CFE015 !important; /* Change the hover color to #CFE015 */
    color: #000 !important; /* Ensure the text color remains readable */
}

.form-control:focus {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #CFE015 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.25rem rgba(207, 224, 21, 0.5) !important;
}

.brand-logo-collapsed,
.brand-logo-expanded {
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.brand-logo-expanded {
    display: none;
}

/* When sidebar is open, switch logos */
body.sidebar-open .brand-logo-collapsed {
    display: none;
}

body.sidebar-open .brand-logo-expanded {
    display: inline-block;
}

body.sidebar-mini.sidebar-collapse .app-sidebar:hover .brand-logo-expanded {
    display: inline-block;
}

body.sidebar-mini.sidebar-collapse .app-sidebar:hover .brand-logo-collapsed {
    display: none;
}

.app-sidebar {
    transition: width 0.3s ease;
}

.content-wrapper, .content {
    transition: margin-left 0.3s ease;
}

/*.dataTables_wrapper {
    transition: opacity 0.3s ease;
}

.dataTables_scrollHeadInner, .table {
    width: 100% !important;
}*/

/* Dropdown hover background color */
select.form-control option:hover {
    background-color: #CFE015 !important;
}

/* Optional: Fix Bootstrap default option hover (requires JS for full support) */
select.form-control:focus option {
    background-color: #fff;
}

.info-box-3 {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    height: 80px;
    display: flex;
    cursor: default;
    background-color: #CFE015;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

    .info-box-3 .icon {
        position: absolute;
        right: 10px;
        bottom: 2px;
        text-align: center;
    }

        .info-box-3 .icon i {
            color: rgba(0, 0, 0, 0.15);
            font-size: 60px;
        }

    .info-box-3.hover-zoom-effect .icon i {
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .info-box-3.hover-zoom-effect:hover .icon i {
        opacity: 0.4;
        -moz-transform: rotate(-32deg) scale(1.4);
        -ms-transform: rotate(-32deg) scale(1.4);
        -o-transform: rotate(-32deg) scale(1.4);
        -webkit-transform: rotate(-32deg) scale(1.4);
        transform: rotate(-32deg) scale(1.4);
    }

    .info-box-3.hover-expand-effect:after {
        background-color: rgba(0, 0, 0, 0.05);
        content: ".";
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        color: transparent;
        -moz-transition: all 0.95s;
        -o-transition: all 0.95s;
        -webkit-transition: all 0.95s;
        transition: all 0.95s;
    }

    .info-box-3.hover-expand-effect:hover:after {
        width: 100%;
    }

    .info-box-3 .content {
        display: inline-block;
        padding: 7px 16px;
    }

        .info-box-3 .content .text {
            font-size: 13px;
            margin-top: 11px;
            color: #555;
        }

        .info-box-3 .content .number {
            font-weight: normal;
            font-size: 26px;
            margin-top: -4px;
            color: #555;
        }


.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 1.5rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.modal-header .close {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: #555;
}

.card {
    border: none;
    background-color: #fff;
    border-radius: 12px;
}

.card-body {
    padding: 1.5rem;
}
