/*** Spinner ***/

@font-face {
    font-family: Iransans;
    src: url('../font/Iranian\ Sans.ttf');
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

:root {
    --pc: #2b5197;
    --sc: #7098e4;
    --c5-color: #c5c5c5;
}

body {
    background-color: #fbfbfb;
    font-family: Iransans;
    font-size: 18px !important;
}

/* Public Classes */

.w-fit{
    width: fit-content !important;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.text-sm {
    font-size: 10px;
}

.text-md {
    font-size: 12px;
}

.semi-bold {
    font-weight: 550;
}

.min-height-25 {
    min-height: 25vh;
}



.text-pc {
    color: var(--pc);
}

.hover-text-blue:hover {
    color: blue !important;
}

.hover-fill-blue:hover {
    fill: blue;
}

a{
    text-decoration: none;
}

.semi-bold{
    font-weight: 600 !important;
}


.w-200 {
    width: 200px;
}

.calibri {
    font-family: Calibri, sans-serif;
}

.bg-pink {
    background-color: #f16bc5 !important;
}


input {
    font-size: 12px !important;
}

select {
    font-size: 12px !important;
}

.bold {
    font-weight: bold;
}

.bg-ilgar-2 {
    background: #ddd0b0;
}

.td-none {
    text-decoration: none;
}

.table-head-text {
    background: #71dbbb;
    padding: 10px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top: 1px solid var(--c5-color);
    border-left: 1px solid var(--c5-color);
    border-right: 1px solid var(--c5-color);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-weight: bold;
}



/* End of Public Calsses */


.offcanvas {
    z-index: 99999 !important;
}

/* Header Styles */
.header {
    height: 60px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid #dddddd;
}

.header-left {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.profile-name-logo {
    width: 30px;
    height: 30px;
    background: var(--pc);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    border-radius: 25px;
    overflow: hidden;
}

.profile-name-logo img{
    width: 100%;

}

.brand-name{
    font-size: 18px;
}
@media screen and (max-width: 500px) {
    .brand-name {
        font-size: 12px !important;
    }
}

.toggler-icon {
    transition: all .5s;
}

.toggler-icon:hover {
    color: var(--sc);
    transform: scale(1.1);
}

.active {
    color: #fff !important;
    background: var(--pc) !important;
    border: var(--pc) !important;
}

.active svg {
    fill: #fff !important;

}

.nav-link:hover {
    color: var(--sc) !important;
}

.aside-hr {
    margin: 5px 0;
    border-bottom: 1px solid var(--c5-color);
}

.border {
    border: 1px solid #c5c5c5 !important;
}

.tabels {
    width: 100%;
    box-sizing: border-box !important;
    overflow-x: auto !important;
}


.main-section {
    margin: 20px 0;
    width: 100%;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

.page-title {
    display: flex;
    gap: 5px;
    align-items: center;
    border: 1px solid #f791f7;
    padding: 5px 10px;
    border-radius: 5px;
    background: #fff;
    margin: 10px 0;
}

.page-title h5 {
    margin-bottom: 2px;
}

.page-title a {
    text-decoration: none;
    color: var(--pc);
}

.page-title a:hover {
    text-decoration: underline;
    color: var(--sc);
}


/* Cards */

.dash-card{
    color: #101010;
}

.dash-card:hover, .dash-card:hover i{
    color: #770a92 !important;
}

@media screen and (max-width: 500px) {
    .dash-card {
        font-size: 12px !important;
    }
}


.md {
    margin: 20px 10px;
}

.mcard {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    height: 120px;
}

.cbg-blue {
    background: blue;
    color: #fff;
}

.cbg-blue:hover {
    background: #349bfc;
    color: #101010;
}

.cbg-gray {
    background: gray;
    color: #fff;
}

.cbg-gray:hover {
    background: #c5c5c5;
    color: #101010;
}

.cbg-green {
    background: green;
    color: #fff;
}

.cbg-green:hover {
    background: #00df55;
    color: #101010;
}

.cbg-red {
    background: #db2404;
    color: #fff;
}

.cbg-red:hover {
    background: #f76349;
    color: #101010;
}

.cbg-blue2 {
    background: #0b8bc7;
    color: #fff;
}

.cbg-blue2:hover {
    background: #59a5d1;
    color: #101010;
}

.cbg-yellow {
    background: #1cc266;
    color: #fff;
}

.cbg-yellow:hover {
    background: #7cfab5;
    color: #101010;
}


/* ======== Project Details Page ======== */

.project-details-section {
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    padding-bottom: 20px;

}

.vouchers-div {
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    min-height: 60vh;
}


.content-section {
    min-width: 1000px;
}

/* Financial Overview */

.datails-fov {
    box-sizing: border-box;
    font-size: 12px;
}

.name-fov {
    font-weight: bold;
}

.exp-name {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.datails-voucher {
    width: 1700px;
    font-size: 12px;
    display: flex;
}




/* Staff List  */

.staff-list {
    border: 1px solid #101010;
    border-radius: 5px;
    width: 100%;
    min-height: 270px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 0 10px var(--c5-color);
    transition: all .5s;
}



.staff-list:hover {
    transform: scale(1.02);
}

.staff-list .image {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--c5-color);
    margin: 10px auto;
    overflow: hidden;
}

.staff-list .info {
    padding: 10px;

}

.staff-list .info .staff-d {
    font-size: 12px;
    display: flex;
    gap: 5px;
}

.staff-list .info .province {
    font-size: 10px;
    border-radius: 2px;
    background: var(--pc);
    min-width: 80px;
    width: fit-content;
    padding: 0 3px;
    color: #fff;
    text-align: center;
}

.staff-list .info .status-active {
    font-size: 10px;
    border-radius: 2px;
    background: var(--pc);
    min-width: 80px;
    width: fit-content;
    padding: 0 3px;
    color: #fff;
    text-align: center;
}

.staff-list .info .status-deactive {
    font-size: 10px;
    border-radius: 2px;
    background: var(--c5-color);
    min-width: 80px;
    width: fit-content;
    padding: 0 3px;
    color: #fff;
    text-align: center;
}

.staff-list .setting {
    position: absolute;
    bottom: 0;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
    width: 100%;
    border-top: 1px solid #c5c5c5;
    padding: 0 10px;
}

.staff-list .draft-place-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 225px;
    background: #ddd;
}



/* Messages  */


.success-massage {
    position: fixed;
    background: #00000010;
    width: 100%;
    top: 0;
    bottom: 0;
    overflow: hidden;
    display: none;
}

.success-message-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: relative;
}

.success-message-text {
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 250px;
    min-height: 150px;
    box-shadow: 0 0 2px var(--c5-color);

}

.error-message-text {
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 250px;
    min-height: 150px;
    box-shadow: 0 0 2px var(--c5-color);
    color: var(--sh-color);

}



.voucher {
    margin: 50px auto;
    max-width: 800px;
    width: 100%;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--c5-color);

}

.voucher-rcy-logo {
    width: 120px;
    margin: 10px auto;
}

.voucher-rcy-logo img {
    width: 100%;
}

.voucher-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.voucher-slogan {
    margin-top: 10px;
    text-align: center;
    font-size: 16px;
}



@media print {
    .no-print {
        display: none;
    }

    .staff-list {
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .voucher {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        border: none;

    }
}



/* Iframe Styles for Help center  */

.responsive-iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

.responsive-iframe-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.responsive-iframe-container iframe {
    width: 80%;
    height: 80%;
    border: 1px solid #f5f5f5;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
}








/* The Modal (hidden by default) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    min-height: 100vh;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(16, 16, 16, 0.9);
    /* Semi-transparent background color (#101010) */
    /* padding-top: 60px; */
    z-index: 9999;
}

/* Modal Content/Box */
.modal-content {
    margin: 0 auto;
    /* Centered */
    padding: 20px;
    border: 1px solid #888;
    max-width: 700px;
    width: 90%;
    /* Could be more or less, depending on screen size */
    color: #101010;
    /* Text color */
    box-sizing: border-box;
    min-height: 100%;
    z-index: 1000000 !important;
}

/* The Close Button */
.close {
    color: #101010;
    /* Close button color */
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    /* Darker color on hover/focus */
    text-decoration: none;
    cursor: pointer;
}


/* Report A Problem Styles  */

.report-problem-btn {
    position: fixed;
    right: 0;
    width: 50px;
    bottom: 100px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border: 1px solid #e89a02;
    padding: 2px 12px 2px 0;
    border-right: 0;
    z-index: 1;
}

.report-problem-btn button {
    padding: 0px;
}








/* new css added */
.image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* new added css */
.image-preview img {
    width: 20px;
}

/* dashboard card badge tooltip custom css */
.badge {
    background-color: rgba(0, 0, 0, 0.7);
    /* Transparent black background */
    color: #fff;
}

.disabled-link {
    pointer-events: none;
    /* Prevents clicking */
    opacity: 0.6;
    /* Makes it visually disabled */
    cursor: not-allowed;
}




/* print option */
@media print {

    /* Hide unnecessary elements when printing */
    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .table th,
    .table td {
        text-align: center;
        padding: 5px;
    }

    .btn {
        display: none;
    }

    .table-responsive {
        overflow-x: unset;
    }
}


.bill-printable {
    width: 148mm;
    min-height: 210mm;
    padding: 5mm;
    margin: auto;
    background: white;
    border: 1px solid #ddd;
    font-size: 14px;
    position: relative;
}

.bill-printable p {
    font-size: 14px;
    margin-bottom: 0;
}

.bill-footer {
    position: absolute;
    bottom: 5mm;
    right: 5mm;
    left: 5mm;
}







