/* html,
body {
    height: 100%;
} */

body {
    font-size: 14px;
    line-height: 18px;
}

.required {
    color: #ff0039;
}

.form-margin {
    margin: 20px;
}

.form-label {
    vertical-align: baseline;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.form-large-label {
    vertical-align: baseline;
    font-weight: bold;
    font-size: 12px;
    margin-left: 5px;
}

.form-small-label {
    vertical-align: baseline;
    font-weight: bold;
    font-size: 9px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.text-value {
    vertical-align: baseline;
    float: right;
    font-weight: bold;
    font-size: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #00f;
}

.text-value-red {
    vertical-align: baseline;
    float: right;
    font-weight: bold;
    font-size: 14px;
    margin-top: 14px;
    margin-bottom: 10px;
    color: #f00;
}

.text-value-align-left {
    vertical-align: baseline;
    margin-top: 10px;
    margin-bottom: 10px;
    vertical-align: bottom;
    text-align: left;
    float: left;
    font-size: 16px;
    color: #ee4200;
}

.payslip-form-label {
    vertical-align: baseline;
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.payslip-text-value {
    vertical-align: baseline;
    float: right;
    font-weight: bold;
    font-size: 11px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #0000FF;
}

.payslip-income-value {
    vertical-align: baseline;
    float: right;
    font-weight: bold;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #336600;
}

.payslip-deduction-value {
    vertical-align: baseline;
    float: right;
    font-weight: bold;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #FF0000;
}

.payslip-netpay-text-KES-value {
    vertical-align: baseline;
    float: right;
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #336600;
}

.required {
    vertical-align: baseline;
    color: red;
    font-size: 12px;
}

.comments {
    vertical-align: baseline;
    color: red;
    font-size: 10px;
    font-style: italic;
}

.pivotColumnStyle {
    background-color: rgba(158, 119, 0, 1);
}

.pivotColumnStyleSelected {
    background-color: rgba(158, 119, 0, 1);
}

.teaPivotColumnStyle {
    background-color: rgb(96, 190, 8);
}

.teaPivotColumnStyleSelected {
    background-color: rgb(8, 81, 190);
}

.parttimePivotColumnStyle {
    background-color: rgba(158, 119, 0, 1);
}

.parttimePivotColumnStyleSelected {
    background-color: rgba(158, 119, 0, 1);
}

.otherWorkPivotColumnStyle {
    background-color: rgba(152, 1, 1, 1);
}

.otherWorkPivotColumnStyleSelected {
    background-color: rgba(152, 1, 1, 1);
}

/* Spinner styling */
#loadingSpinner {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    z-index: 99999;
    font-family: sans-serif;
}

#loadingSpinner .spinner {
    width: 56px;
    height: 56px;
    border: 6px solid #ddd;
    border-top-color: #555;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin-bottom: 12px;
}

#loadingSpinner .spinner-text {
    color: #ffffffff;
    font-size: 18px;
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Popup styling */
#notification {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 105;
    text-align: center;
    font-weight: normal;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #FF7800;
    padding: 5px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#notification a {
    color: white;
    text-decoration: none;
    font-weight: bold
}

/* Org code styling */
.isprimary {
    background-color: rgb(254, 254, 254);
    color: #19b104fd !important;
    /* font-weight: bold; */
}

.isnotprimary {
    background-color: white;
    color: rgba(180, 8, 8, 0.918) !important;
    /* font-weight: bold; */
}


.getDetailValuesBold {
    background-color: white;
    color: green !important;
    font-weight: bold;
}

.lockedPayslipBold {
    background-color: white;
    color: red !important;
    font-weight: bold;
}

.normalValue {
    background-color: white;
    color: green !important;
    font-weight: normal;
}

#backgroundPopup {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #000000;
    border: 1px solid #cecece;
    z-index: 1;
}

#popup {
    display: none;
    position: relative;
    top: 100px;
    left: 100px;
    height: 100px;
    width: 250px;
    background: rgb(245, 64, 40);
    border: 2px solid rgb(241, 240, 213);
    z-index: 999999;
    padding: 20px;
    font-size: 20px;
}

.getDetailValuesBold {
    background-color: white;
    color: green !important;
    font-weight: bold;
}

.pending-updates-stale {
    display: inline-block;
    background-color: #ffe600;
    color: #111111 !important;
    border: 2px solid #ff2d00;
    border-radius: 4px;
    padding: 4px 6px;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(255, 45, 0, 0.2);
}

.pending-update-stale-item {
    color: #b00020;
    font-weight: 800;
}

/*
* ==========================================================
*     LOGIN PAGE
* ==========================================================
*/
.login-page {
    position: relative;
}

.login-page::before {
    content: "";
    display: block;
    z-index: -1;
    background: url(../images/login/farm_bg.jpg);
    background-size: cover;
    /* -webkit-filter: blur(10px);
    filter: blur(10px); */
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.login-page .container {
    min-height: 100vh;
}

.login-page .card {
    z-index: 999;
}

.login-page .info {
    background: rgba(209, 232, 248, 0.9);
    color: #fff;
}

.login-page .prod {
    background: rgb(9, 100, 236);
    color: #ffffff;
}

.login-page .dev {
    background: rgb(128, 188, 245);
    color: #fff;

}

.login-page .test {
    background: red;
    color: #fff;
}

@media (min-width: 992px) {
    .login-page .info {
        min-height: 70vh;
    }

    .login-page .prod {
        min-height: 70vh;
    }

    .login-page .dev {
        min-height: 70vh;
    }
}

/*
* ==========================================================
*     Info Popup
* ==========================================================
*/
#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 150px;
    min-width: 400px;
    max-width: 450px;
    padding: 14px 18px 14px 16px;
    background: #ffffff;
    color: #222;
    border-left: 5px solid #1976d2;
    border-radius: 10px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.16),
        0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

#popup p {
    margin: 0;
}

#popup em {
    font-style: normal;
}
