 .lback { 
        background:url('/static/images/login-container.png');
        background-size: cover;
        position: absolute;
        height: 100%;
        width: 70%;
        z-index: 100;
    }

.Llogo{
    position: absolute;
    top: 15%;
    left: 15%;
    width: 20%;
    height: auto;
    transition: transform 0.3s ease;
}

.Llogo:hover {
    transform: scale(1.05);
}

.lh1 {
    position: absolute;
    top: 40%;
    left: 12%;
    width: 20%;
    height: auto;
    color: white;
    font-size: 4.4vw; /* Relative to parent */
    font-family: Arial, Helvetica, sans-serif;
    white-space: nowrap;
}
.ltext {
    position: absolute;
    top: 25%;
    left: 67%;
    height: 50px;
    color: rgb(133, 24, 24);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5vw;
    font-weight: bolder;
}

input {
    border-radius: 10px;
    width: 15vw;
    height: 6vh;
    outline: none;
    text-align: center;
    border: 0;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.39);
    border: solid rgb(133, 24, 24) 2px ;
    font-size: 1.5vw;
}

.lusername {
    position: absolute;
    top: 40%;
    left: 62%;
}
.lpassword {
    position: absolute;
    top: 50%;
    left: 62%;   
}

.lbutton {
    position: absolute;
    top: 60%;
    left: 61.5%;
    font-size: 1.5vw;
    width: 16.5vw;
    height: 6vh;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.39);
    background-color: rgb(133, 24, 24);
    color: white; 
}

.lbutton:hover {
    background-color: rgb(160, 82, 45);
    box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}

.modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .modal-box {
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        width: 90%;
        max-width: 400px;
        overflow: hidden;
        animation: slideIn 0.3s ease-in-out;
    }

    @keyframes slideIn {
        from { transform: translateY(-50px); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
    }

    .modal-header {
        background: linear-gradient(135deg, #5a2024 0%, #3d1f2f 100%);
        color: white;
        padding: 20px;
        text-align: center;
    }

    .modal-header h2 {
        margin: 0;
        font-size: 24px;
    }

    .modal-body {
        padding: 20px;
        text-align: center;
    }

    .modal-message {
        margin: 0;
        padding: 10px;
        border-radius: 4px;
        font-weight: 500;
        color: white;
    }

    .modal-message.alert-error   { background: #dc3545; }
    .modal-message.alert-success { background: #28a745; }

    .modal-footer {
        padding: 15px;
        text-align: center;
        background: #f9f9f9;
        border-top: 1px solid #eee;
    }

    .modal-close-btn {
        background: #5a2024;
        color: white;
        border: none;
        padding: 10px 30px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s;
    }

    .modal-close-btn:hover {
        background: #3d1f2f;
        box-shadow: 0 2px 8px rgba(90, 32, 36, 0.3);
    }