:root {
    --sr-blue: #005bc9;
    --sr-dark: #0e1d31;
}

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

body {
    min-height: 100vh;
    display: flex;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, var(--sr-dark) 0%, #1a3a5c 50%, var(--sr-blue) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 91, 201, 0.15) 0%, transparent 50%);
}

.login-left .brand-area {
    position: relative;
    z-index: 1;
    text-align: center;
}

.login-left .brand-area img {
    height: 56px;
    filter: brightness(0) invert(1);
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #fff;
}

.login-form-wrapper {
    width: 100%;
    max-width: 380px;
}

.login-form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sr-dark);
    margin-bottom: 0.25rem;
}

.login-form-wrapper .subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
}

.form-control {
    padding: 0.65rem 0.85rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--sr-blue);
    box-shadow: 0 0 0 3px rgba(0, 91, 201, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

.btn-login {
    width: 100%;
    padding: 0.7rem;
    background: var(--sr-blue);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-login:hover {
    background: #0047a3;
}

.btn-login:active {
    transform: scale(0.99);
}

.alert {
    border-radius: 8px;
    font-size: 0.85rem;
    border: none;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.auth-link a {
    color: var(--sr-blue);
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #16a34a;
    font-size: 2rem;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .login-left {
        padding: 2rem;
        min-height: auto;
    }

    .login-right {
        padding: 2rem;
    }
}
