/* ===== Login Page ===== */

#leftHalf {
    width: 40%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5% 0 8%;
    font-family: 'Source Sans 3', Calibri, sans-serif;
}

#leftHalf .row {
    width: 100%;
}

#leftHalf img.img-fluid {
    max-height: 100%;
    margin-bottom: 0.5rem;
}

#leftHalf .input-group-text {
    background: transparent;
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #6c757d;
}

#leftHalf .input-group-text:last-child {
    border-right: 1px solid var(--bs-border-color);
    border-left: none;
    border-radius: 0 8px 8px 0;
}

#leftHalf .input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

#leftHalf .input-group .form-control:not(:last-child) {
    border-right: none;
    border-radius: 0;
}

#leftHalf .input-group .form-control:focus {
    box-shadow: none;
}

#leftHalf .input-group:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    border-radius: 8px;
}

#leftHalf .input-group:focus-within .input-group-text,
#leftHalf .input-group:focus-within .form-control {
    border-color: #86b7fe;
}

#leftHalf .btn-app {
    border-radius: 8px;
    font-weight: 600;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    line-height: 1.5;
    font-size: 1rem;
}

.login-footer-info {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.6;
}

#rightHalf {
    width: 60%;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    background: url('/img/2371645661.jpg') center/cover no-repeat;
}

/* ===== Tablet ===== */
@media screen and (max-width: 1024px) {
    #leftHalf {
        width: 50%;
        padding: 0 4% 0 5%;
    }

    #rightHalf {
        width: 50%;
    }
}

/* ===== Mobile ===== */
@media screen and (max-width: 768px) {
    body {
        background: url('/img/2371645661.jpg') center/cover no-repeat fixed;
        min-height: 100vh;
    }

    #rightHalf {
        display: none;
    }

    #leftHalf {
        width: 100%;
        height: auto;
        min-height: 100vh;
        position: relative;
        padding: 2rem 1.5rem;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(6px);
    }
}

/* ===== Small mobile ===== */
@media screen and (max-width: 480px) {
    #leftHalf {
        padding: 1.5rem 1rem;
    }

    #leftHalf .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
