/* Modern Login Styling */
body {
    background-color: #f8fafc !important;
}

main.main {
    min-height: calc(100vh - 120px) !important;
}

.container-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
}

.login-form {
    background-color: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    width: 100%;
    max-width: 960px;
    overflow: hidden;
}

.left-login-image {
    padding: 0 !important;
    background: #0f172a;
}

.left-login-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.right-login {
    padding: 3rem 2.5rem;
}

.right-login label {
    font-weight: 600;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 0.35rem;
}

.right-login .input-login-box {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    height: 48px;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    transform: none !important;
}

.right-login .input-login-box:focus {
    background: #ffffff !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15) !important;
    outline: none !important;
    transform: none !important;
}

h2 {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.link-under-input {
    font-size: 0.88rem;
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem !important;
    display: inline-block;
}

.link-under-input:hover {
    color: #047857;
    text-decoration: underline;
}

.btn-login {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.85rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: 100%;
}

.btn-login:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45) !important;
    color: #ffffff !important;
}

@media only screen and (max-width: 768px) {
    .login-form {
        width: 100%;
    }
    .left-login-image {
        display: none;
    }
    .right-login {
        padding: 2rem 1.5rem;
    }
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
    color: #B94A48;
    background-color: #F2DEDE;
    border: 1px solid #EED3D7;
}

.parsley-errors-list {
    margin: 2px 0 3px;
    padding: 0;
    list-style-type: none;
    font-size: 0.9em;
    line-height: 0.9em;
    opacity: 0;
    color: #B94A48;

    transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
    opacity: 1;
}
