.tab-btn {
    @apply px-5 py-2 text-base font-semibold rounded-lg text-gray-600 hover:bg-blue-50 hover:text-blue-700 whitespace-nowrap transition;
}

.tab-active {
    @apply text-blue-700 bg-blue-100;
}

.tab-underline {
    @apply absolute bg-blue-600 h-1 rounded;
}

.sideList-item {
    @apply p-3 cursor-pointer rounded-lg hover:bg-gray-100 transition;
}

.sideList-active {
    @apply bg-blue-100 border border-blue-400;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/SFProDisplay-BlackItalic.woff2') format('woff2'), url('./fonts/SFProDisplay-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/SFProDisplay-HeavyItalic.woff2') format('woff2'), url('./fonts/SFProDisplay-HeavyItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/SFProDisplay-Bold.woff2') format('woff2'), url('./fonts/SFProDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/SFProDisplay-LightItalic.woff2') format('woff2'), url('./fonts/SFProDisplay-LightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/SFProDisplay-Medium.woff2') format('woff2'), url('./fonts/SFProDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/SFProDisplay-SemiboldItalic.woff2') format('woff2'), url('./fonts/SFProDisplay-SemiboldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/SFProDisplay-Regular.woff2') format('woff2'), url('./fonts/SFProDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/SFProDisplay-UltralightItalic.woff2') format('woff2'), url('./fonts/SFProDisplay-UltralightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./fonts/SFProDisplay-ThinItalic.woff2') format('woff2'), url('./fonts/SFProDisplay-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
.saving-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    border: 8px solid #ddd;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
    .savingSpinner {
        display: none;
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.7);
        text-align: center;
        font-size: 1.5rem;
        color: #333;
    }
    .savingSpinner .spinner {
        margin-top: 20%;
        border: 8px solid #f3f3f3;
        border-top: 8px solid #3498db;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 1s linear infinite;
        margin-left: auto;
        margin-right: auto;
    }

.text {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #333;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    body {
        @apply font-sans text-textprim;
    }
}

table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td,
div.dt-container.dt-empty-footer tbody > tr:last-child > * {
    border-bottom: 0
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
    text-align: left;
}

.profile::after {
    content: "";
    background: url(./img/down_arrow_icon.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    right: -20px;
    display: block;
    transform: translateY(-50%);
    z-index: 10;
}

table th,
table tbody tr td {
    padding: 0.5rem 1.5rem;
    border: 1px solid #E7EBF3;
}

table th {
    font-weight: 600;
    font-size: 1rem;
    color: #666F88;
    text-align: left;
}

table.innerTable th {
    font-weight: 700;
    font-size: 14px;
    color: #334154;
    background-color: #F9FAFB;
    text-align: left;
}

table tbody tr td {
    font-weight: 500;
    font-size: 1rem;
}

table.innerTable tbody tr td {
    font-weight: 400;
    font-size: 14px;
    color: var(--Text-Text-primary, #334154);
}

    table.innerTable tbody tr td a {
        font-weight: 700;
        color: #0E52EA;
    }

[data-toggle="fold"].active:before {
    transform: rotate(90deg) translateX(-50%);
}

.tablink:before {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: 0.3s all;
    z-index: 10;
    background-color: #0E52EA;
}

.tablink.active:before,
.tablink:hover:before {
    opacity: 1;
}

.tablink:hover svg path,
.tablink.active svg path {
    fill: #0E52EA;
}

.tablink.active {
    color: #0E52EA
}

.tabs-content {
    display: none;
}

    .tabs-content.active {
        display: block;
    }

.footer-links a:not(:last-child):after {
    content: "";
    height: 80%;
    width: 1px;
    display: block;
    background-color: #334154;
    top: 50%;
    transform: translateY(-50%);
    right: -7px;
    position: absolute;
}

.formc-ontrol {
    padding: 10px;
    border-radius: var(--Radius-Radius-small, 4px);
    border: 1px solid var(--Borders-Border-default, #E7EBF3);
    background: var(--Backgrounds-Background-white, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #334154;
    transition: 0.3s all;
    width: 100%;
    opacity: 1
}

.pagination_br li {
    display: inline-block;
    list-style: none;
    color: #334154;
    font-size: 14px;
    position: relative;
}

    .pagination_br li.current {
        color: #0E52EA
    }

    .pagination_br li.completed {
        color: #334154
    }

    .pagination_br li:not(:last-child) {
        padding-right: 30px;
    }

    .pagination_br li:before {
        content: attr(data-step);
        width: 20px;
        height: 20px;
        display: inline-block;
        margin-right: 8px;
        background-color: #E7EBF3;
        text-align: center;
        border-radius: 50%;
        font-size: 12px;
        font-weight: 600;
        line-height: 22px;
        color: #334154;
        vertical-align: middle;
    }

    .pagination_br li.current:before {
        color: #fff;
        background-color: #0E52EA;
    }

    .pagination_br li.completed:before {
        content: "";
        width: 16px;
        height: 16px;
        display: inline-block;
        margin-right: 8px;
        background-image: url(./img/tick.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .pagination_br li:not(:last-child):after {
        content: "";
        width: 6px;
        height: 12px;
        background-image: url(./img/Vector9.svg);
        background-size: cover;
        background-repeat: no-repeat;
        display: inline-block;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

.sideList {
    position: relative;
    transition: 0.3s all;
}

    .sideList.active,
    .sideList:hover {
        background: #DBEAFE;
    }

        .sideList.active span {
            font-weight: 600;
            color: #0E52EA
        }

        .sideList:hover span {
            font-weight: 400;
            color: #0E52EA
        }

        .sideList.active:hover span {
            font-weight: 600;
            color: #0E52EA
        }

    .sideList.completed {
        background: transparent;
    }

        .sideList.completed span {
            color: #334154;
            font-weight: normal;
        }

        .sideList.completed:hover span {
            color: #0E52EA;
            font-weight: normal;
        }

        .sideList.completed:hover {
            background: #DBEAFE;
        }

        .sideList.completed:after {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            background-image: url(./img/check_icon_circle.svg);
            background-size: cover;
            display: block;
            background-repeat: no-repeat;
            right: 20px;
        }

select.formc-ontrol {
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari and Chrome */
    appearance: none;
    background-image: url(./img/select_arrow.svg);
    background-size: 24px 24px;
    background-position: right .75rem center;
    background-repeat: no-repeat;
}

.statuschip {
    padding: 8px 16px;
    line-height: normal;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
}

    .statuschip.draft {
        background-color: #E7EBF3;
        color: #334154;
    }

    .statuschip.success {
        background-color: #DEF7C2;
        color: #33691E;
    }

    .statuschip.info {
        background-color: #dbeafe;
        color: #0e52ea;
    }

    .statuschip.danger {
        background-color: #ffe9eb;
        color: #db0000;
    }

    .statuschip.warning {
        background-color: #bc4705;
        color: #fff6c4;
    }

.statuswrapper {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 32px;
    border: 1px solid #E7EBF3;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

    .statuswrapper.active {
        background: #EFF4FF;
        border: 0
    }

    .statuswrapper.completed {
        background: #ECFADC;
        border: 0
    }

    .statuswrapper:before {
        content: "";
        width: 1.5rem;
        height: 1.5rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 99;
        display: block;
        background-size: cover;
        background-repeat: no-repeat;
    }

.statusContainer span:not(:last-child):after {
    content: "";
    width: 7px;
    height: 1px;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    z-index: auto;
    background: #C1C5BD;
}

.statuswrapper {
    cursor: pointer;
}

    .statuswrapper.buildings:before {
        background-image: url(./img/buildings.svg);
    }
    .statuswrapper.delete:before {
        background-image: url(./img/delete.svg);
    }

    .statuswrapper.settings:before {
        background-image: url(./img/settings_active.svg);
    }

    .statuswrapper.settings.active:before {
        background-image: url(./img/settings_active.svg);
    }

    .statuswrapper.settings.completed:before {
        background-image: url(./img/settings_comp.svg);
    }

    .statuswrapper.recycle:before {
        background-image: url(./img/recycle.svg);
    }

    .statuswrapper.recycle.active:before {
        background-image: url(./img/recycle_active.svg);
    }

    .statuswrapper.recycle.completed:before {
        background-image: url(./img/recycle_comp.svg);
    }

    .statuswrapper.garbage:before {
        background-image: url(./img/garbage.svg);
    }

    .statuswrapper.garbage.active:before {
        background-image: url(./img/garbage-active.svg);
    }

    .statuswrapper.garbage.completed:before {
        background-image: url(./img/garbage-comp.svg);
    }

    .statuswrapper.bin:before {
        background-image: url(./img/recycle-bin.svg);
    }

    .statuswrapper.bin.active:before {
        background-image: url(./img/recycle-bin_active.svg);
    }

    .statuswrapper.bin.completed:before {
        background-image: url(./img/recycle-bin_comp.svg);
    }

    .statuswrapper.project:before {
        background-image: url(./img/project.svg);
    }

    .statuswrapper.project.active:before {
        background-image: url(./img/project_active.svg);
    }

    .statuswrapper.project.completed:before {
        background-image: url(./img/project_comp.svg);
    }

    .statuswrapper.pages:before {
        background-image: url(./img/pages.svg);
    }

    .statuswrapper.pages.active:before {
        background-image: url(./img/pages_active.svg);
    }

    .statuswrapper.pages.completed:before {
        background-image: url(./img/pages_comp.svg);
    }

    .statuswrapper.filesearch:before {
        background-image: url(./img/filesearch.svg);
    }

    .statuswrapper.filesearch.active:before {
        background-image: url(./img/filesearch_active.svg);
    }

    .statuswrapper.filesearch.completed:before {
        background-image: url(./img/filesearch_comp.svg);
    }

    .statuswrapper.audit:before {
        background-image: url(./img/audit.svg);
    }

    .statuswrapper.audit.active:before {
        background-image: url(./img/audit_active.svg);
    }

    .statuswrapper.audit.completed:before {
        background-image: url(./img/filesearch_comp.svg);
    }

.input_container {
    padding-left: 2.25rem;
    user-select: none;
}

    .input_container input:checked ~ .checkmark {
        background-color: #0E52EA;
        border-color: #0E52EA;
    }

    .input_container .checkmark::after {
        content: "";
        left: 5px;
        top: 2px;
        width: 8px;
        height: 11px;
        border: solid #fff;
        border-width: 0 3px 3px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        display: none;
        position: absolute;
        border-radius: 25%;
    }

    .input_container input:checked ~ .checkmark::after {
        display: block;
    }

    .input_container:hover input ~ .checkmark {
        background-color: #0E52EA;
        border-color: #0E52EA;
    }
.hover {
    background-color: #f9fafb;
    border-color: #6366f1;
}