:root {
    --primary-color: #4e73df;
    --primary-dark: #224abe;
    --accent-gold: #f6c23e;
    --text-main: #2e384d;
    --text-muted: #858796;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #fff;
}

.login-screen {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Side - Visual */
.login-visual {
    flex: 1.2;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    background-size: cover;
    position: relative;
    display: none; /* Hidden on mobile */
}

@media (min-width: 992px) {
    .login-visual {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 115, 223, 0.8) 0%, rgba(34, 74, 190, 0.9) 100%);
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    color: #fff;
    max-width: 600px;
}

.visual-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.visual-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Right Side - Form */
.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 400px;
}

.login-brand {
    margin-bottom: 40px;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(78, 115, 223, 0.2);
}

.login-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.login-box p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Modern Input Fields */
/* Premium Minimalist Inputs */
.form-label {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: none; /* Removed uppercase for better readability */
    letter-spacing: 0;
}

.form-label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.form-control-premium {
    width: 100%;
    padding: 15px 20px;
    background: #f8f9fc;
    border: 2px solid #f8f9fc;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control-premium:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(78, 115, 223, 0.08);
    outline: none;
}

.form-control-premium::placeholder {
    color: #d1d3e2;
    font-weight: 400;
}

.btn-premium {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(78, 115, 223, 0.2);
    cursor: pointer;
    margin-top: 20px;
}

.btn-premium:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(78, 115, 223, 0.3);
}

.btn-premium:active {
    transform: translateY(0);
}

/* Custom Checkbox */
.custom-check {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.custom-check input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #eaecf4;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s;
}

.custom-check input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-check input:checked + .checkmark::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;
    font-size: 0.7rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.alert {
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-box {
    animation: fadeIn 0.8s ease-out;
}