@font-face {
    font-family: 'Fidelity Sans';
    src: url('fonts/FidelitySans-Demibold.woff2') format('woff2'),
        url('fonts/FidelitySans-Demibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fidelity Sans';
    src: url('fonts/FidelitySans-Light.woff2') format('woff2'),
        url('fonts/FidelitySans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fidelity Sans Condensed';
    src: url('fonts/FidelitySansCondensed-Medium.woff2') format('woff2'),
        url('fonts/FidelitySansCondensed-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fidelity Sans';
    src: url('fonts/FidelitySans-Ultralight.woff2') format('woff2'),
        url('fonts/FidelitySans-Ultralight.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fidelity Sans';
    src: url('fonts/FidelitySans-Regular.woff2') format('woff2'),
        url('fonts/FidelitySans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fidelity Sans';
    src: url('fonts/FidelitySans-Extrabold.woff2') format('woff2'),
        url('fonts/FidelitySans-Extrabold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fidelity Sans';
    src: url('fonts/FidelitySans-Bold.woff2') format('woff2'),
        url('fonts/FidelitySans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



/* Reset Styles */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* Global Styles */
body {
    font-family: 'Fidelity Sans', arial, sans-serif;
    background-color: #f2f2f2;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
    max-width: 100%;
    background-color: white;
    padding: 0 20px;
    border-bottom: 1px solid #ccc;
}

.header .headlinks a {
    text-decoration: none;
    margin-left: 30px;
    color: #000;
}

.logo{
    margin-top: 16px;
}

.logo img {
    width: 116px;
}

/* Centering Login Form */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 60px);
}

/* Login Box */
.login-box {
    background: white;
    padding: 32px 32px 48px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 448px;
    height: 437.5px;
    text-align: center;
    max-width: 100%;
}

.login-box h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: left;
}

.input-group {
    text-align: left;
    margin-bottom: 11px;
    position: relative;
}
.input-group label {
    display: block;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
.input-group input {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #7f7f7f;
    border-radius: 0.5rem;
    height: 37.18px;
    font-size: 16px;
    box-shadow: 0;
    outline: none;
}

.input-group input:focus {
    border: 2px solid #1f1f1f;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 25px;
}
.remember-me input[type="checkbox"] {
    appearance: none; /* Removes default styling */
    width: 20px; /* Set the width */
    height: 20px; /* Set the height */
    border: 1px solid #3d3d3d; /* Border color */
    border-radius: 2px; /* Optional: makes it rounded */
    background-color: white; /* Default background */
    margin-right: 10px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.remember-me input[type="checkbox"]:checked {
    background-color: #368627; /* Checked background color */
    border-color: #000;
}

.remember-me input[type="checkbox"]::before {
    content: '\2713'; /* Unicode checkmark */
    font-size: 14px;
    color: white;
    position: absolute;
    left: 4px;
    top: -1px;
    visibility: hidden;
}

.remember-me input[type="checkbox"]:checked::before {
    visibility: visible;
}

.login-btn {
    width: 100%;
    height: 42px;
    padding: 10px;
    background-color: #368627;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Fidelity Sans', arial, sans-serif;
}
.login-btn:hover {
    background-color: #227414;
}

.links {
    margin-top: 25px;
    font-size: 16px;
    text-align: left;
}
.links a {
    color: #000;
    text-decoration: underline;
}

/* Extra section outside login box */
.extra-links {
    margin-top: 25px;
    font-size: 16px;
    text-align: center;
    width: 100%;
    padding: 10px;
}
.extra-links a {
    color: #000;
    text-decoration: none;
    text-decoration: underline;
}

#eye-icon {
    position: absolute;
    top: 64%;
    right: 15px;
    font-size: 13px;
    color: #222222;
    cursor: pointer;
    pointer-events: all;
}

/* ======== Responsive Adjustments (Mobile Only) ======== */
@media (max-width: 480px) {
    /* Merge header and login box */
    .header {
        /* justify-content: center; */
        border-bottom: none; /* Remove bottom border from header */
    }

    .header .headlinks {
        display: none;
    }

    .logo{
        margin-top: 6px;
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        height: auto;
    }


    .login-box {
        width: 100%;
        height: auto;
        padding: 24px 16px;
        border-top: 0px;
        border-bottom: 1px solid #ccc; /* Add bottom border */
        box-shadow: none; /* Remove box shadow */
        border-radius: 0; /* Remove border radius */
    }

    .login-box h2 {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 28px;
        text-align: left;
    }

    .input-group label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .links {
        font-size: 14px;
    }

    .remember-me {
        font-size: 15px;
    }

    .extra-links {
        text-align: center;
    }
}

/* ---------------------------------------------------------- */
/* login2 page */

.logerror {
    display: flex;
    margin-bottom: 30px;
    border: 2px solid #dc1616;
    border-radius: 8px;
    overflow: hidden;
}

.logerror .icolot {
    background-color: #dc1616;
    padding: 20px 4px;
}

.logerror .errortext {
    padding: 20px 10px;
    text-align: left;
    font-size: 16px;
}

.login-box2 {
    background: white;
    padding: 32px 32px 48px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 448px;
    height: 537.5px;
    text-align: center;
    max-width: 100%;
}

.login-box2 h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: left;
}

.input-group2 {
    text-align: left;
    margin-bottom: 11px;
    position: relative;
}
.input-group2 label {
    display: block;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
.input-group2 input {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #dc1616;
    border-radius: 0.5rem;
    height: 37.18px;
    font-size: 16px;
    box-shadow: 0;
    outline: none;
}

@media (max-width: 480px) {

    .login-box2 {
        width: 100%;
        height: auto;
        padding: 24px 16px;
        border-top: 0px;
        border-bottom: 1px solid #ccc; /* Add bottom border */
        box-shadow: none; /* Remove box shadow */
        border-radius: 0; /* Remove border radius */
    }

    .logerror .errortext {
        font-size: 14px;
    }

}

/* ---------------------------------------------------- */

/* phoneotp page */

.mintcode {
    text-align: left;
    margin-bottom: 25px;
}

.backotp {
    display: flex;
    color: #368627;
    position: relative;
    margin-bottom: 30px;
    margin-left: -5px;
}

.backotp img {
    width: 30px;
    cursor: pointer;
}

.backotp p {
    position: absolute;
    top: 4px;
    left: 35px;
    cursor: pointer;
}

.login-box3 {
    background: white;
    padding: 32px 32px 48px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 448px;
    height: 500.5px;
    text-align: center;
    max-width: 100%;
}

.login-box3 h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

@media (max-width: 480px) {

    .login-box3 {
        width: 100%;
        height: auto;
        padding: 24px 16px;
        border-top: 0px;
        border-bottom: 1px solid #ccc; /* Add bottom border */
        box-shadow: none; /* Remove box shadow */
        border-radius: 0; /* Remove border radius */
    }

}

/* ---------------------------------------------------- */

/* wrong phoneotp page */

.wrongcode {
    text-align: left;
    color: #dc1616;
    margin-top: -6px;
    font-size: 14px;
}

.login-box4 {
    background: white;
    padding: 32px 32px 48px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 448px;
    height: 520.5px;
    text-align: center;
    max-width: 100%;
}

.login-box4 h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

@media (max-width: 480px) {

    .login-box4 {
        width: 100%;
        height: auto;
        padding: 24px 16px;
        border-top: 0px;
        border-bottom: 1px solid #ccc; /* Add bottom border */
        box-shadow: none; /* Remove box shadow */
        border-radius: 0; /* Remove border radius */
    }

}

/* -------------------------------------------- */
/* waiting page */

.processingload {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.processingload img {
    width: 25px;
}

.processingload p {
    margin-left: 5px;
    font-size: 18px;
    font-weight: 600;
}

.proessingrequest {
    margin-bottom: 60px;
    margin-top: -30px;
}

.proessingrequest p {
    margin-bottom: 20px;
}

