﻿html, body {
  overflow: hidden; /* disables all scrolling */
  height: 100%;
  margin: 0;
  padding: 0;
}

.login-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
}

.login-card {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    box-shadow: none;
    overflow: hidden;
    border: 1px solid #ccc;
}

.login-banner {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover; /* good for images */
    display: block;
}

.logo-banner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    gap: 10px; /* Space between logo and banner */
    padding: 10px; /* Optional padding */
}

/*.login-left,
.login-right {
    flex: 1 1 100px;
    padding: 10px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}*/

.login-left {
    flex: 0 0 20%;
    padding: 30px 0px 0px 40px;
    max-width: 20%;
    background-color: #fff;
    border-right: 1px solid #ccc;
}

.login-right {
    flex: 0 0 80%;
    max-width: 80%;
    background-color: #f8f8f8;
    padding: 5px 5px 0px 5px;
}

/*.login-left {
    max-width: 20%;
    background-color: #ffffff;
    border-right: 1px solid #ccc;
}

.login-right {
    max-width: 70%;
}*/

@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        max-width: 100%;
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding: 20px;
    }
}

.logo-container {
    text-align: center;
   margin-bottom: 40px;
}

.logo-container img {
    max-width: 200px;
}

.login-title,
.login-subtitle {
    text-align: center;
    margin-bottom: 10px;
}

.login-title {
    color: #19388A;
    font-size: 2rem;
    font-weight: 700;
}
.x-form-field-wrap .x-form-trigger{
    height:25px;
}

.login-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.x-btn-tl, .x-btn-tr, .x-btn-tc, .x-btn-ml, .x-btn-mr, .x-btn-mc, .x-btn-bl, .x-btn-br, .x-btn-bc {
    background-image: none!important;
}


.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-control {
    height: 48px;
    width: 100%;
    padding: 0 20px 0 45px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    background-color: #f8f9fa;
    font-size: 1rem;
    padding: 0 45px 0 20px;
}

.form-control:focus {
    border-color: #19388A;
    background-color: white;
    outline: none;
}

.input-group {
    position: relative;
}

.btn-login {
    background-color: #2DA4FE;
    color: black;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    height: 45px;
    width: 250px;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #1a8ae0;
}

/*.btn-login:hover {
    background: linear-gradient(135deg, #2DA4FE 0%, #2DA4FE 100%);
    transform: scale(1.02);
}*/

.button-wrapper {
    justify-content: flex-start; /* left-align the button */
    margin-top: 30px;
    background-color:#2DA4FE;
    
}

.links-container {
    justify-content: space-between;
    margin-top: 25px;
}

.forgot-link,
.empanel-link {
    font-size: 0.9rem;
    text-decoration: none;
    color: #19388A;
}





.footer {
    text-align: center;
    padding: 5px;
    font-size: 0.85rem;
    background-color: #ffffff;
    color: #666;
}
.input-wrapper {
    position: relative;
    display: inline-block;
    width: 250px; /* match the TextField width */
    
}

.input-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
    pointer-events: none;
    z-index: 2; /* make sure it's above */
}
/* Add padding to the input to prevent overlap */
.input-wrapper .x-form-text {
    padding-right: 25px !important; /* match or slightly exceed icon size */
}

#passwordToggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

