/* New login Styling */
body {
    margin: 0;
    font-family: sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: center / cover no-repeat;
}

.wrap,
.container {
    width: 100%;
    height: 100%;
    /* Ensure this stays */
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    /* Important */
    justify-content: center;
}

.wrap,
.container {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.container {
    max-width: 90%;
    max-height: 90vh;
    margin: 0 auto;
}

.cater {
    width: 100%;
    /* Add this line */
    background: rgb(42, 87, 203);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
}


.left-panel,
.right-panel {
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
}

.padlock {
    margin-left: 55px;
    width: 60%;

}

.left-panel {
    color: white;
    flex-direction: column;
    justify-content: space-between;
    display: flex;
}

.left-panel .logo {
    margin-bottom: 10px;
}



.left-panel .logo_small_size {
    display: none;
}

.left-panel p.title {
    font-size: 2.1em;
    font-weight: bold;
}

.left-panel p.subtitle {
    font-size: 1.4em;
}

.left-panel img {
    max-width: 100%;
    height: auto;
}


.right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: white;
}

.login-form {
    width: 100%;
}

.login-form label {
    font-weight: bold;
    font-size: 1.1em;
}

.form-group {
    margin-bottom: 30px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.btn {
    padding: 12px;
    font-size: 1.1em;
    background: rgb(42, 87, 203);
    color: white;
    border: none;
    border-radius: 0.5rem;
    width: 100%;
    cursor: pointer;
}

.btn:hover {
    background: rgb(30, 70, 180);
}

.form-links,
.form-footer {
    font-size: 0.95em;
    margin-top: 5px;
}

.form-links a,
.form-footer a {
    text-decoration: none;
    color: rgb(42, 87, 203);
    font-weight: bold;
}

.icon-input .input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    padding: 0 10px;
    background: white;
    box-sizing: border-box;
    position: relative;
}

.icon-input .icon {
    font-size: 1.6rem;
    color: gray;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#toggleBtn {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    font-size: 1.2rem;
    margin-right: 0;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.icon-input input {
    border: none;
    outline: none;
    font-size: 1.6rem;
    flex: 1;
    padding: 12px 0 12px 40px;
    background: transparent;
}

.box {
    max-width: 400px;
    width: 100%;
    margin-bottom: 20px;
    /* add this if needed */
}


.message {
    background: #f1f4fb;
    border: 1px solid #cbd6f0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 30px;
    color: #333;
}

.message b {
    color: #2a57cb;
    cursor: pointer;
}

/* Mobile Styles 1024px 912px 853px*/

@media (max-width: 1024px) {

    html,
    body {
        height: auto !important;
        overflow-y: auto !important;
    }

    body.login-page {
        background: linear-gradient(to bottom, rgb(42, 87, 203) 40%, white 60%) !important;
        background-image: none;
        min-height: 100vh;
        display: block;
        /* ← avoid flex on small screens */
    }

    .wrap,
    .container,
    .cater {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        min-height: 100vh !important;
        min-width: 100vw !important;
    }



    .container,
    .wrap {
        padding: 0;
        max-width: 100%;
    }

    .cater {
        flex-direction: column;
        border-radius: 0;
        background: linear-gradient(to bottom, rgb(42, 87, 203) 40%, white 60%) !important;

    }

    .left-panel {
        width: 100%;
        padding: 20px;
        text-align: center;
        align-items: center;
        position: relative;
        z-index: 1;
        margin-bottom: -10px
    }

    .right-panel {
        width: 90%;
        margin-top: -170px;
        margin-left: 18px;
        border-radius: 1.5rem;
        box-shadow: 0 5px 15px rgba(194, 171, 171, 0.2);
        z-index: 2;
        flex-direction: column;
    }

    .left-panel p.title {
        font-size: 1.2em;
        margin: 1px 0 5px;
    }

    .left-panel p.subtitle {
        font-size: 0.9em;
    }

    .left-panel .logo {
        margin-bottom: 1px;
        margin-top: 5px;
    }

    .left-panel .content {
        position: relative;
        z-index: 1;
        margin-top: 5%;
        margin-bottom: 5px;
    }

    .password_form {
        margin: 0 !important;
    }

    .padlock {
        margin-left: 40px !important;
    }

    .password_text {
        font-size: 0.9em !important;
    }
}

/* Mobile Styles */