body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    margin: 0;
    box-sizing: border-box;
}

.login-container {
    display: flex;
    min-height: calc(100vh);
    width: 100%;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
    border-radius: 0;
    overflow: hidden;
}

.left-panel {
    flex-basis: 55%;
    background-image: url('http://erp.bpatc.gov.bd/BPATC_ERP/images/logo/bpatc_building.png');
    /* background-image: url('../images/logo/bpatc_building.webp'); */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    color: #ffffff;
    box-sizing: border-box;
    border-radius: 24px;
    margin: 2rem;
}

.left-panel .brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.left-panel .welcome-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.left-panel .welcome-text p {
    font-size: 32px;
    color: #ffffff;
}

.left-panel .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
    padding-top: 1.5rem;
}

.left-panel .footer a {
    color: #ffffff;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
    font-size: 14px;
    font-weight: 700;
}
.copyright-mobile{
    display: none;
}

.left-panel .footer a:hover {
    color: #fff;
}

.left-panel .footer .fa {
    margin-right: 8px;
}

.right-panel {
    flex-basis: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    background-color: #ffffff;
}

.login-form-container {
    width: 100%;
    max-width: 500px;
}

.login-logo {
    width: 100%;
    /* max-width: 0px; */
    margin: 0 auto 30px auto; 
    overflow: hidden;
}

.login-logo video {
    width: 100%;
    height: auto;
    display: block;
}

.login-form-container h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-control-custom {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
    color: #374151;
    background-color: #F9FAFB;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    line-height: 34px;
    font-size: 14px;
}

.form-group input#password {
    padding-right: 2.5rem;
}

.form-control-custom:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.form-group .fa-eye,
.form-group .fa-eye-slash {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #383847;
    font-size: 21px;
}

/* Wrapper for the select dropdown */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    font-family: FontAwesome;
    content: "\f0d7";
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
    color: #383847;
    font-size: 21px;
}

.form-group select.form-control-custom {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.5rem;
}

.forgot-password {
    text-align: right;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.forgot-password a {
    color: #10B981;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 1.2rem;
    background-color: #449D44;
    color: #ffffff;
    font-weight: bold;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.btn-login:hover {
    background-color: #059669;
}

.btn-login .arrow {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.btn-login:hover .arrow {
    transform: translateX(5px);
}

.separator {
    margin: 1.5rem 0;
    text-align: center;
    color: #6B7280;
    font-size: 1rem;
}

.extra-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 1rem;
}

.play-icon {
    padding-right: 2px;
    font-size: 15px;
    color: #337633;
}

.extra-links a {
    color: #337633;
    text-decoration: underline;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

.extra-links a:hover {
    color: #10B981;
}

.extra-links .fa-youtube-play {
    color: #EF4444;
    margin-right: 0.5rem;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.hide {
    display: none;
}

.right-footer-info {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #98A2B3;
    margin-top: 150px;

}

.right-footer-info a {
    font-weight: 600;
    color: #337633;
    text-decoration: none;
}

.right-footer-info a:hover {
    text-decoration: underline;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 1024px) {
    body {
        padding: 0;
    }

    .login-container {
        flex-direction: column;
        border-radius: 0;
        box-shadow: none;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        flex-basis: 100%;
        padding: 40px 20px;
        justify-content: flex-start;
    }

    .login-form-container {
        margin-top: 5vh;
    }

    .right-footer-info {
        margin-top: 4rem;
    }
    .copyright-mobile {
        display: block;
    }
}
