
/**
 * Author: Somesh B 
 * Version: v1
 * Created: 09/18/2025
 * Description: Created to maintain css code for auth all pages.
 */








/* loader css start */
.loader-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.18);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

    .loader-overlay.active {
        display: flex;
    }

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.loader-overlay .loader-icon {
    width: 45px;
    margin-bottom: 8pt; /* space between icon and text */
}

.loader-overlay .loader-text {
    font-size: 10pt;
    font-weight: 500;
    color: #333;
}

.loader-overlay img.spin-pulse {
    animation: spin-pulse 2s ease-in-out infinite;
}

.loader-overlay {
    /*background-color: rgba(0, 0, 0, 0.35);*/
    background-color: rgb(255, 255, 255, 0.35);
}
#nprogress .bar {
    background: #74943D; /* Tailwind blue-500 */
    height: 5px;
    border-radius: 3px;
    box-shadow: 0 0 10px #74943D, 0 0 20px #FFC01E;
}

#nprogress .peg {
    display: none; /* remove default blur effect */
}

#nprogress .spinner-icon {
    border: 3px solid transparent;
    border-top-color: #FFC01E;
    border-radius: 50%;
    width: 28px;
    height: 28px;
}
/* loader css end */
body {
    background: #fff;
    color: #555555;
    font-family: "Poppins" !important;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    /*text-align: justify;*/
}

/* login page - start */

.login-container {
    display: flex;
    height: 100vh;
    width: 460px;
    overflow: hidden;
}

.login-form {
    display: flex;
}

.left-side {
    flex: 1;
    position: relative;
    background: linear-gradient(215deg, rgba(223, 175, 57, 0.70) 0%, rgba(116, 148, 61, 0.70) 52.88%, rgba(116, 148, 61, 0.70) 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    width: calc(100vw - 460px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .left-side img {
        flex-shrink: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: bottom left;
    }

.right-side {
    width: 450px;
    overflow-y: auto !important;
}

    .right-side .last-line {
        margin-top: auto;
    }

.last-line p {
    width: max-content;
}


.right-form {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 2rem;
}

    .right-form img {
        width: 80%;
    }

#request-btn:hover {
    background-color: rgba(116, 148, 61, 1);
    color: #FFF;
}

.green-link a {
    color: rgba(116, 148, 61, 1) !important;
    font-size: 12px;
    font-family: "Poppins";
    text-decoration: none;
}

.green-link span {
    color: rgba(116, 148, 61, 1) !important;
    font-size: 12px;
    font-family: "Poppins";
    text-decoration: none;
}

.green-link a:hover {
    text-decoration: underline !important;
    text-decoration-color: #FFC01E !important;
}

.green-link {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.form-control {
    margin-bottom: 15px;
}

.input-icon-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

    .input-icon-wrapper svg {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        pointer-events: none;
    }

    .input-icon-wrapper input {
        padding-left: 40px;
        width: inherit;
        border-radius: 5px;
    }



.subheading {
    font-family: "Poppins";
    font-weight: 700;
    font-size: 26px;
    color: #74943D;
}

.login-form input {
    border-radius: 4px;
    border: 1px solid #B4B4B4;
    padding: 1rem 2.5rem;
}

a.primary-btn, button.primary-btn {
    background-color: #FFC01E;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    border: 0;
}

    a.primary-btn:hover, button.primary-btn:hover {
        color: white !important;
        background-color: #74943D;
    }

button.sec-btn, a.sec-btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #444444;
    background-color: transparent;
    width: 150px;
}

    button.sec-btn:hover {
        color: #fff;
        background-color: #74943D;
    }
p {
    font-family: "Poppins";
    font-weight: 400;
    font-size: 14px;
    line-height: 20px !important;
}
.p2 {
    font-family: "Poppins";
    font-weight: 400;
    font-size: 24px;
}
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* CODE ADDED BY: SOMESH; DATE: 11-02-2025; SUB: TO HIDE BLAZOR DEFALUT ERROR MESSAGE - Start */
/* Could not reconnect to the server. Reload the page to restore functionality. / Attempting to reconnect to the server: 1 of 8 - error popup hide code - start */
#components-reconnect-modal {
    display: none !important;
}
/* Could not reconnect to the server. Reload the page to restore functionality. / Attempting to reconnect to the server: 1 of 8 - error popup hide code - end */
/* End */

/* login page - end*/

/*.loader-overlay .loader-text {
    color: #fff;
}*/