@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #effff6;

    /* change background Gradient as if gradient is used in Project */
    /* background: linear-gradient(60deg, rgba(247, 208, 208, 0.322) 0%, rgb(255 255 255) 100%); */
}

.bg_login {
    position: relative;
    background: #fff;
    background: #152A1D;
    background: radial-gradient(circle,rgba(21, 42, 29, 1) 0%, rgba(2, 28, 11, 1) 49%, rgba(1, 28, 11, 1) 100%);
}

.main_waper {
    width: -webkit-fill-available;
}

/* sidebar toglle */


.cstm_blk aside {
    margin-left: -300px;
    /* transition: 0.5s ease-in-out; */
}

.cstm_blk header.log_bg {
    margin-left: 0;
    /* transition: 0.5s ease-in-out; */
}

.cstm_blk .main_waper {
    margin-left: 0px;
    /* transition: 0.5s ease-in-out; */
}

.cstm_blk .main_waper button#toggleButton {
    transform: rotateZ(180deg);
}

/* 
.main_waper {
    transition: 0.5s ease-in-out;
} */

/* End sidebar toglle */

.side_links ul li a.active {
    background-color: #00b76b;
    color: #fff;
}

.side_links ul li a.active svg path {
    fill: #fff;
}

.lst_bg:hover svg path {
    fill: #fff;
}

.border_spc {
    border-spacing: 0px 10px;
    border-collapse: separate;
}

.border_spc tbody tr td {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.border_spc tbody tr td:first-child {
    border-left: 1px solid #ccc;
    border-radius: 15px 0px 0px 15px;
}

.border_spc tbody tr td:last-child {
    border-right: 1px solid #ccc;
    border-radius: 0px 15px 15px 0;
}

.tab .tablinks.active {
    background-color: #fe797c;
    border: 1px solid #fe797c;
}

.csv_btn:hover a svg path {
    fill: #fff;
}

.tab-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: #e5e7eb;
    color: #333;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background: #d1d5db;
}

.tab-btn.active {
    background-color: #2563eb;
    color: #fff;
}

table.dataTable.no-footer {
    border-bottom: 0 !important;
}

table.dataTable {
    border-spacing: 0 10px !important;
}

table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
    border-bottom: 0 !important;
}

.dataTables_wrapper .dataTables_filter input {
    padding: 10px 20px !important;
    border-radius: 10px !important;
    outline: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #f3f3f3 !important;
    border-radius: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #00b671 !important;
    border: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    cursor: pointer !important;
}

#userTable_paginate a.paginate_button {
    background-color: transparent !important;
}

#userTable_paginate a.paginate_button:hover {
    background: #00b671 !important;
    color: #000000 !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
}

.avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.avatar-wrapper:hover {
    transform: scale(1.02);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 8px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-wrapper:hover .avatar-overlay {
    opacity: 1;
}

.avatar-controls {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.avatar-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    background: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.avatar-btn:hover {
    background: #0056b3;
}

.avatar-btn.reset {
    background: #ccc;
    color: #333;
}

.avatar-btn.reset:hover {
    background: #aaa;
}

#avatarInput {
    display: none;
}

/* modal styles */
.modal-enter {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
}

.modal-enter-active {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: transform 200ms ease, opacity 200ms ease;
}

.modal-leave {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-leave-active {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
    transition: transform 150ms ease, opacity 150ms ease;
}

table.dataTable thead th,
table.dataTable tbody td {
    padding: 8px 15px !important;
}

.fade-in {
    animation: fadeIn 0.25s ease forwards;
}

.fade-out {
    animation: fadeOut 0.2s ease forwards;
}
.dataTables_wrapper {
    overflow-x: auto;
}
.dataTables_wrapper .dataTables_length {
    float: left;
    margin: 5px 0 0 0;
}

/* Completely neutralize autofill color */
input:-webkit-autofill, input:-webkit-autofill:focus, input:-webkit-autofill:hover, textarea:-webkit-autofill, select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1086px #263A2E inset !important;
    -webkit-text-fill-color: white !important;
    background-color: #263A2E !important;
    transition: background-color 9999s ease-in-out 0s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.97);
    }
}

.tox .tox-promotion {
    display: none !important;
}

@media (max-width: 768px) {
    .avatar-wrapper {
        width: 120px;
        height: 120px;
    }

    .avatar-overlay {
        font-size: 12px;
        padding: 6px 0;
    }

    .avatar-controls {
        flex-direction: column;
        gap: 8px;
    }

    .tab-btn {
        padding: 6px 12px;
        font-size: 14px;
    }

    .cstm_blk aside {
        margin-left: 0;
        /* transition: 0.5s ease-in-out; */
        width: 100%;
        background-color: #ffffff;
        z-index: 9;
    }

    .cstm_blk .main_waper button#toggleButton {
        position: fixed;
        z-index: 99;
        left: 20px;
        top: 40px;
    }
}