﻿@font-face {
    font-family: 'Poppins';
    src: url('/dist/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/dist/fonts/Poppins-Medium.otf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/dist/fonts/Poppins-Bold.otf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 13px;
}




.float-right {
    float: right !important;
}

.no-scroll {
    scrollbar-width: none !important;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

    .btn-success:hover {
        background-color: #218838;
        border-color: #1e7e34;
    }

.div-header {
    font-weight: bold !important;
    font-size: 20px !important;
    padding: 5px !important;
    background-color: #d0d4d7 !important;
    color: #000 !important;
    text-align: center !important;
    font-weight: bold !important;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
}

    .table th {
        font-weight: 600;
        font-size: 14px;
        padding: 10px 12px;
        background: linear-gradient(180deg, #eef2ff, #e0e7ff);
        color: #1f2937;
        text-align: left;
        border-bottom: 1px solid #c7d2fe;
        white-space: nowrap;
    }

    .table td {
        padding: 8px 12px;
        font-size: 13px;
        color: #374151;
        border-bottom: 1px solid #e5e7eb;
        vertical-align: middle;
    }

    .table tbody tr:hover {
        background-color: #f9fafb;
    }

.table-striped tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.table td:first-child,
.table th:first-child {
    border-left: 3px solid #6366f1;
}

.horizontal th {
    text-align: center !important;
}


h4 {
    font-weight: 600 !important;
    font-size: 20px !important;
}

.required::after {
    content: "*";
    color: red;
    margin-left: 5px;
    font-size: 1em;
    font-weight: 600;
}

.required-label::after {
    content: "*";
    color: red;
    margin-left: 5px;
    font-size: 1em;
    font-weight: 600;
}

.header-td {
    background-color: #d0d4d7 !important;
    color: #000 !important;
    text-align: center !important;
    font-weight: bold !important;
}

.font-bold {
    font-weight: 600 !important;
}

.small-box {
    text-align: center !important;
    cursor: pointer !important;
    width: 200px !important;
}

.small-box-footer {
    font-size: 10pt !important;
}

.cursor-pointer {
    cursor: pointer;
}


.suggestion-list-box {
    position: absolute;
    z-index: 1000;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 150px;
    overflow-y: auto;
    min-width: 100%;
    display: none;
    margin: 0;
    padding: 0;
    border: none;
}

    .suggestion-list-box .list-group-item {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        color: black;
        cursor: pointer;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border: none;
        margin: 0;
    }

        .suggestion-list-box .list-group-item:hover {
            background-color: whitesmoke;
            color: white;
        }

.confirm-box {
    top: 50px;
    max-width: 450px;
    min-height: 250px;
    padding: 15px;
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .confirm-box h5 {
        text-align: center;
        font-weight: 600;
        font-size: 1.3rem;
    }

    .confirm-box .message {
        color: #000dff;
        font-weight: 400;
        font-size: 1rem;
        text-align: center;
    }

    .confirm-box .question {
        color: #808080;
        font-weight: 400;
        font-size: 1rem;
        text-align: center;
    }





.markdown > table thead th, .table thead th {
    font-weight: 500 !important;
    text-transform: none !important;
}

.custom-bordered-table td, .custom-bordered-table th {
    border: 1px solid #ddd !important; /* Customize the color and thickness as needed */
}

#ckbCheckAll {
    display: inline-block !important;
    margin: 0 auto !important;
    transform: scale(1.2) !important;
}

#select_emp {
    display: inline-block !important;
    margin: 0 auto !important;
    transform: scale(1.2) !important;
}

.passphoto-img {
    max-width: 40px !important;
    max-height: 36px !important;
    min-width: 40px !important;
    min-height: 36px !important;
}





@keyframes status-pulsate-main {
    40% {
        transform: scale(1.25,1.25)
    }

    60% {
        transform: scale(1.25,1.25)
    }
}

@keyframes status-pulsate-secondary {
    10% {
        transform: scale(1,1)
    }

    30% {
        transform: scale(3,3)
    }

    80% {
        transform: scale(3,3)
    }

    100% {
        transform: scale(1,1)
    }
}

@keyframes status-pulsate-tertiary {
    25% {
        transform: scale(1,1)
    }

    80% {
        transform: scale(3,3);
        opacity: 0
    }

    100% {
        transform: scale(3,3);
        opacity: 0
    }
}


.list-group {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.list-group-item {
    padding: 5px 10px !important;
    background-color: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    display: flex !important;
    align-items: center !important;
}

/* Checkbox styling */
.custom-checkbox {
    width: 16px !important;
    height: 16px !important;
    margin-right: 10px !important;
    cursor: pointer !important;
    transform: scale(1.2) !important; /* Slightly bigger checkbox */
}

    .custom-checkbox:checked {
        background-color: #4CAF50 !important;
        border-color: #4CAF50 !important;
    }

.list-group-item label {
    font-size: 18px !important;
    cursor: pointer !important;
    color: #333 !important;
    transition: color 0.3s !important;
    padding-top: 6px !important;
}

    .list-group-item label:hover {
        color: #007BFF !important;
    }


/********************* status Style *****************************************************************/
.status {
    height: 1.5rem;
    padding: .25rem .75rem;
    color: #616876;
    display: inline-flex;
    align-items: center;
    font-size: .875rem;
    font-weight: bold;
    gap: .5rem;
    font-size: .875rem;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 100rem;
    line-height: 1;
    margin: 0
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-dot-animated {
    animation: 1s linear 2s backwards infinite status-pulsate-tertiary;
}

.status-primary {
    background-color: #e6e9ef;
    background: rgb(230 233 240);
    color: #206bc4;
}

.status-secondary {
    background-color: #e6e9ef;
    background: rgb(230 233 240);
    color: #616876;
}

.status-success {
    background-color: #d8f7e9;
    background: rgb(216 247 233);
    color: #2fb344;
}

.status-info {
    background-color: #e5fbff;
    background: rgb(229 251 255);
    color: #4299e1;
}

.status-warning {
    background-color: #fff7e0;
    background: rgb(255 247 224);
    color: #f76707;
}

.status-danger {
    background-color: #ffe8ea;
    background: rgb(255 232 235);
    color: #d63939;
}

.status-dark {
    background-color: #f1f1f1;
    background: rgb(241 241 241);
    color: #1d273b;
}

.status-primary .status-dot {
    background-color: #0d6efd; /* Blue for pending */
}

.status-secondary .status-dot {
    background-color: #6c757d; /* Grey for unknown */
}

.status-success .status-dot {
    background-color: #2fb344; /* Green for approved */
}

.status-danger .status-dot {
    background-color: #dc3545; /* Red for rejected */
}

.status-warning .status-dot {
    background-color: #ffc107 !important; /* Red for rejected */
}

.status-info .status-dot {
    background-color: #0dcaf0 !important; /* Red for rejected */
}

.status-dark .status-dot {
    background-color: #212529 !important; /* Red for rejected */
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/********************* Gridview Container Style *****************************************************************/

.gv-container {
    min-height: auto;
    margin: 0px;
    overflow: overlay !important;
    scrollbar-width: thin;
}

.gv-container-150 {
    min-height: auto;
    max-height: 150px;
    margin: 0px;
    overflow: overlay !important;
    scrollbar-width: thin;
}

.gv-container-200 {
    min-height: auto;
    max-height: 200px;
    margin: 0px;
    overflow: overlay !important;
    scrollbar-width: thin;
}

.gv-container-250 {
    min-height: auto;
    max-height: 250px;
    margin: 0px;
    overflow: overlay !important;
    scrollbar-width: thin;
}

.gv-container-300 {
    min-height: auto;
    max-height: 300px;
    margin: 0px;
    overflow: overlay !important;
    scrollbar-width: thin;
}

.gv-container-350 {
    min-height: auto;
    max-height: 350px;
    margin: 0px;
    overflow: overlay !important;
    scrollbar-width: thin;
}

.gv-container-400 {
    min-height: auto;
    max-height: 400px;
    margin: 0px;
    overflow: overlay !important;
    scrollbar-width: thin;
}

.gv-container-450 {
    min-height: auto;
    max-height: 450px;
    margin: 0px;
    overflow: overlay !important;
    scrollbar-width: thin;
}

.gv-container-500 {
    min-height: auto;
    max-height: 500px;
    margin: 0px;
    overflow: overlay !important;
    scrollbar-width: thin;
}

.mydatagrid {
    width: 100%;
    border: solid 1px #000;
    font-size: 8pt;
    font-weight: normal;
}

    .mydatagrid th {
        padding: 5px 5px;
        white-space: nowrap;
        font-size: 9pt !important;
        font-weight: bold !important;
        text-align: center;
        background-color: #1D2B36 !important;
        color: #fff !important;
    }

    .mydatagrid td {
        padding: 5px 5px;
        white-space: nowrap;
        font-size: 8pt;
        font-weight: normal;
        vertical-align: middle;
    }


@media (min-width:360px) {
    .thank-you h1 {
        font-size: 4.5em;
    }

    .thank-you .go-home {
        margin-bottom: 20px;
    }
}

@media (min-width:600px) {
    .thank-you .content {
        max-width: 1000px;
        margin: 0 auto;
    }

    .thank-you .wrapper-1 {
        height: initial;
        max-width: 620px;
        margin: 0 auto;
        margin-top: 50px;
        box-shadow: 4px 8px 40px 8px rgba(88, 146, 255, 0.2);
    }
}
