@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: #fff;

    /* 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;
    /* 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%); */
    background-color: #6A1B78;
}

.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: #6A1B78;
    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: #6A1B78;
    color: #333;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background: #6A1B78;
}

.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: #000000 !important;
    border: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    cursor: pointer !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;
}

@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;
    }
}

/* Kill default FC button look */
.fc .fc-button,
.fc .fc-button-primary {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    padding: 0.375rem 0.75rem;
    border-radius: 0.625rem;
    box-shadow: none;
    text-transform: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.fc .fc-button:hover,
.fc .fc-button-primary:hover:not(:disabled) {
    background: #f3e8f6;
    border-color: #6A1B78;
    color: #6A1B78;
    box-shadow: none;
}

.fc .fc-button:focus,
.fc .fc-button-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 27, 120, 0.18);
}

/* Active / selected view button */
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background: #6A1B78;
    border-color: #6A1B78;
    color: #ffffff;
    box-shadow: none;
}

.fc .fc-button-primary:not(:disabled).fc-button-active:hover {
    background: #581567;
    border-color: #581567;
    color: #ffffff;
}

/* Grouped view buttons (month/week/day) — join them visually */
.fc .fc-button-group .fc-button {
    border-radius: 0;
    margin-left: 6px !important;
}
.fc .fc-button-group .fc-button:first-child {
    border-radius: 0.625rem 0 0 0.625rem;
}
.fc .fc-button-group .fc-button:last-child {
    border-radius: 0 0.625rem 0.625rem 0;
}
.fc .fc-button-group .fc-button:not(:first-child) {
    margin-left: -1px;
}

/* Prev / Next arrow buttons */
.fc .fc-prev-button,
.fc .fc-next-button {
    padding: 0.375rem 0.6rem;
}

/* Today button */
.fc .fc-today-button {
    background: #f3e8f6;
    border-color: #e7c9ed;
    color: #6A1B78;
}
.fc .fc-today-button:hover:not(:disabled) {
    background: #e7c9ed;
    border-color: #6A1B78;
    color: #6A1B78;
}
.fc .fc-today-button:disabled {
    background: #f9f5fa;
    border-color: #e5e7eb;
    color: #9ca3af;
    opacity: 1;
    cursor: default;
}

/* Toolbar title */
.fc .fc-toolbar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

/* Toolbar layout */
.fc .fc-toolbar {
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.fc .fc-toolbar-chunk {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

