
:root {
    --mlb-blue: #0d2c54;
    --mlb-red: #d50032;
    --mlb-light-blue: #132448;
    --mlb-gold: #ffd700;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    border-top: 4px solid var(--mlb-red);
}

.login-header {
    background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.login-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

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

.login-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-header p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.login-body {
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--mlb-blue);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--mlb-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 44, 84, 0.15);
    outline: none;
}

.form-control.is-invalid {
    border-color: var(--mlb-red);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #e0e0e0;
    margin-top: 0.25rem;
}

.form-check-input:checked {
    background-color: var(--mlb-red);
    border-color: var(--mlb-red);
}

.form-check-label {
    font-weight: 500;
    color: #555;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.btn-login {
    background: var(--mlb-red);
    color: white;
    padding: 0.875rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(213, 0, 50, 0.3);
}

.btn-login:hover {
    background: #b30029;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(213, 0, 50, 0.4);
    color: white;
}

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

.alert {
    border-radius: 8px;
    border: none;
    padding: 0.875rem 1rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: #fee;
    color: var(--mlb-red);
    border-left: 4px solid var(--mlb-red);
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.alert-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #1565c0;
}

.field-error {
    color: var(--mlb-red);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
    display: block;
}

.login-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.login-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.login-footer a {
    color: var(--mlb-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: var(--mlb-red);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .login-content {
        padding: 1rem;
    }

    .login-header {
        padding: 2rem 1.5rem;
    }

    .login-body {
        padding: 1.5rem;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }
}
