.login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--depth) 0%, var(--navy) 50%, var(--tide) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sarabun', sans-serif;
}

.login-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    min-height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Left Side - Branding */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, var(--navy) 0%, var(--tide) 100%);
    color: white;
    padding: 60px 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-section {
    position: relative;
    z-index: 2;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logo {
    width: 120px;
    height: 120px;
    background: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.login-left h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.login-left h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--frost);
}

.tagline {
    font-size: 1.1rem;
    color: var(--steel);
    margin-bottom: 30px;
}

.decorative-line {
    width: 80px;
    height: 4px;
    background: var(--ocean);
    margin: 30px 0;
    border-radius: 2px;
}

.features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--frost);
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--steel);
}

.wave-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

/* Right Side - Login Form */
.login-right {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
}

.login-box {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 4rem;
    color: var(--ocean);
    margin-bottom: 15px;
}

.login-header h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.alert i {
    font-size: 1.2rem;
}

.alert-error {
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

.alert-success {
    background: #efe;
    color: #2a7;
    border-left: 4px solid #2a7;
}

/* Form */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Sarabun', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--ocean);
    box-shadow: 0 0 0 4px rgba(74, 144, 164, 0.1);
}

.password-input {
    position: relative;
}

.password-input .form-control {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--ocean);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    user-select: none;
}

.checkbox-container input {
    margin-right: 8px;
    cursor: pointer;
}

.forgot-link {
    color: var(--ocean);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--tide);
    text-decoration: underline;
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--ocean) 0%, var(--tide) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

/* Login Footer */
.login-footer {
    margin-top: 30px;
    text-align: center;
}

.login-footer p {
    margin-bottom: 15px;
}

.login-footer a {
    color: var(--ocean);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: var(--tide);
}

.help-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

/* Copyright */
.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 20px;
}

.copyright p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 968px) {
    .login-container {
        flex-direction: column;
        width: 95%;
    }

    .login-left {
        padding: 40px 30px;
        min-height: 300px;
    }

    .login-left h1 {
        font-size: 1.5rem;
    }

    .login-left h2 {
        font-size: 1.2rem;
    }

    .features {
        gap: 20px;
    }

    .login-right {
        padding: 40px 30px;
    }

    .brand-logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .login-container {
        border-radius: 0;
        width: 100%;
        min-height: 100vh;
    }

    .login-left,
    .login-right {
        padding: 30px 20px;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
