@media (max-width: 767px) {
    .row>* {
        padding-left: 11px;
        padding-right: 11px;
    }
}

:root {
    --primary-color: #000;
    --text-dark: #111;
    --text-light: #666;
    --bg-light: #f4f7fe;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
}

.login-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.login-card {
    background: var(--white);
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.login-image-section {
    position: relative;
    background: url('../../images/banner2.jpg') center/cover no-repeat;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    min-height: 500px;
}

.login-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.login-image-content {
    position: relative;
    z-index: 1;
}

.login-image-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.login-image-content p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
    color: #fff;
}

.login-form-section {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 30px;
}

.login-form-section .form-group {
    margin-bottom: 20px;
}

.login-form-section .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 56, 248, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #a0aec0;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.forgot-password {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--primary-color);
}

.btn-signin {
    background: #000;
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 25px;
}

.btn-signin:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 56, 248, 0.3);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    color: #cbd5e0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider:not(:empty)::before {
    margin-right: .75em;
}

.divider:not(:empty)::after {
    margin-left: .75em;
}

.signup-prompt {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.signup-prompt a {
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
}

.signup-prompt a:hover {
    color: var(--primary-color);
}

@media (max-width: 850px) {
    .login-card {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .login-image-section {
        display: none;
    }

    .login-form-section {
        padding: 40px 30px;
    }
}

/* jQuery Validation Styles */
label.error {
    color: #e21d1d !important;
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
    display: block;
    width: 100%;
}

input.error {
    border-color: #e21d1d !important;
    background-color: #fff9f9 !important;
}