@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --brand-blue: #114c9c;
    --brand-blue-dark: #08254f;
    --brand-orange: #f98925;
    --brand-orange-hover: #d67015;
    
    /* UI Colors */
    --text-dark: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 700px;
    margin: 20px;
}

/* --- Left Side: Brand Visuals --- */
.login-brand-panel {
    flex: 1;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.login-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.brand-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 400px;
    margin: 0 auto;
}

/* --- Right Side: Form --- */
.login-form-panel {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-logo {
    max-height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--brand-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-muted);
}

.login-form {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    padding-right: 45px;
    font-size: 1rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(17, 76, 156, 0.1);
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 1.1rem;
    z-index: 10;
}

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

/* Login Specific: Options Row */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--brand-blue);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-group label {
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    color: var(--brand-blue);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

/* Buttons */
.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--brand-orange);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background-color: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 137, 37, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
        min-height: auto;
    }
    .login-brand-panel {
        padding: 40px;
        min-height: 250px;
    }
    .login-form-panel {
        padding: 40px 20px;
    }
}