* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}


html, body {
    height: 100%;
    width: 100%;
    background: #FFFFFF;
}

body * {
    font-family: "Source Sans 3", serif !important;
}


.sidebar {
    width: 250px;
    background: #FFFFFF;
    border-right: 2px solid #E5E7EB;
    overflow: visible !important;
    /* position: relative; */
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow: hidden;
    height: 100vh;
    overflow-y: auto !important;
}

.header > p {
    font-size: 18px !important;
    color: #000000;
    margin-bottom: 20px;
}

.service-image {
    height: auto;
    max-height: 160px;
    object-fit: contain;
}

.logo {
    height: 40px;
    width: 40px;
}

.links {
    color: #667085;
}

.links a {
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 14px;
    color: #667085;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.links p {
    padding: 12px 0;
}

.links p:hover,
.links p.active {
    background: #EFF6FF;
    padding-left: 10px;
    box-shadow: 0 2px 4px rgba(21, 93, 252, 0.1);
}

.links p:hover,
.links p.active,
.links p:hover a,
.links p.active a,
.links p:hover svg path,
.links p.active svg path {
    color: #155DFC;
    stroke: #155DFC;
}

.logout {
    position: absolute;
    bottom: 0;
}

.navbar {
    max-width: 100%;
    top: 0;
    background: #FFFFFF;
    border-bottom: 2px solid #E5E7EB;
}

.user {
    width: fit-content;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    padding: 8px;
}

.notification {
    border-right: 3px solid #E4E7EC !important;
}

.user > span {
    text-align: center;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F63D68;
    height: 32px;
    width: 32px;
}

.main-content {
    width: calc(100%);
    background: #F3F4F6;
    border-top: 1px solid #E5E7EB;
}

.dashboard-content {
    background: #F3F4F6;
}

.badge-section {
    width: 100px;
    height: 36px;
    border: 1px solid #155DFC;
    color: #155DFC;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-section a {
    color: #155DFC;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.card {
    width: 100%;
    height: auto;
    padding: 8px;
}


.info-container {
    cursor: pointer;
}

.custom-tooltip {
    display: none;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    /*background: linear-gradient(95.87deg, rgba(0, 0, 0, 0.8) -0.71%, rgba(102, 102, 102, 0.8) 100%);*/
    background: rgba(229, 231, 235, 1);
    /*color: #ffffff;*/
    color: black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 374px;
    font-size: 11px;
    z-index: 100;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 8px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.info-container:hover .custom-tooltip {
    display: block;
}

.info-container.active .custom-tooltip {
    display: block;
}


@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: end;
        align-items: center;
    }

    .user {
        width: 100%;
        justify-content: center;
    }

    .sidebar {
        width: 210px;
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 1050;
    }

    .sidebar.active {
        left: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* .sidebar.active + .main-content .sidebar-access-btn-wrapper {
        padding-left: 220px;
    } */
    .main-content {
        width: 100%;
    }

    .card {
        width: 100%;
    }

    .custom-tooltip {
        max-width: 90%;
    }

    .menu-btn {
        display: block !important;
        cursor: pointer;
        background: none;
        border: none;
        font-size: 24px;
    }
}

.page-title {
    font-size: 24px;
    color: #000000;
    text-align: start;
}

.table-responsive {
    min-height: 100vh;
}

.empty-icon {
    width: 333px;
    object-fit: contain;
}

#service-form .form-group {
    padding-bottom: 15px;
    line-height: 20px;

    label {
        font-weight: 500;
        font-size: 14px;
    }

    ::placeholder {
        font-weight: 200;
        font-size: 12px;
    }

    .form-check label {
        font-weight: 400 !important;
        font-size: 12px !important;
    }
}

/* ToolTip Custom */
.tooltip .tooltip-inner {
    background-color: rgba(229, 231, 235, 1);
    color: rgba(54, 65, 83, 1);
    font-size: 13px;
    padding: 10px;
    max-width: 375px;
}

.asteriskField {
    color: rgba(240, 68, 56, 1);
    margin-left: 4px;
}

/* Transaction Table */
.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    border-top: 1px solid #E5E7EB;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
}

.table th:first-child {
    border-top-left-radius: 8px;
}

.table th:last-child {
    border-top-right-radius: 8px;
}

.table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.table > :not(caption) > * > * {
    padding: 12px 16px;
}

.table thead th {
    background-color: transparent;
}

.table th,
.table th a {
    color: #101828;
    font-weight: 600;
    font-size: 14px;
}

.table tbody tr {
    vertical-align: middle;
}

.table tbody tr td {
    font-size: 14px;
    font-weight: 400;
    color: #4A5565;
}

.page-link {
    border: none;
    color: #667085;
}

.active > .page-link {
    color: black;
    background-color: unset;
    border: none;
}

.disabled > .page-link {
    background-color: unset;
}

.prev-btn,
.next-btn {
    border: 1px solid;
    border-color: #E4E7EC !important;
    overflow: hidden;
    border-radius: 0.375rem;
}

.prev-btn .page-link,
.next-btn .page-link {
    color: black;
    border-radius: 0.375rem;
}

.page-item:not(:first-child) .page-link {
    margin-left: 0;
}

.paid-status,
.pending-status,
.in-progress-status,
.cancelled-status,
.refunded-status,
.completed-status{
    border-radius: 4px;
    padding: 2px 12px;
}

.completed-status,
.paid-status {
    background-color: #D0FAE5;
    color: #009966;
}

.pending-status {
    background-color: #F3F4F6;
    color: #4A5565;
}

.in-progress-status {
    color: #0084D1;
    background-color: #DFF2FE;
}

.cancelled-status {
    color: #E7000B;
    background-color: #FFE2E2;
}

.refunded-status {
    background-color: #d4edda;
    color: #155724;
}

.payment-label-checkbox {
    background-image: url("/static/assets/images/icons/checkbox.svg");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.border-primary {
    border-width: 3px !important;
}

.pay-btn {
    cursor: pointer;
}

button.disabled .spinner-border {
    border-color: #FFF;
    border-right-color: rgba(49, 122, 226, 1);
}
