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

body {
    font-family: inherit;
    background: linear-gradient(135deg, var(--c-primary, #667eea) 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius, 8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.login-box h1 {
    color: var(--c-primary, #667eea);
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.login-box h2 {
    color: var(--c-text, #1e293b);
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: normal;
}

.alert {
    padding: 10px 12px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm, 6px);
    font-size: 14px;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--c-success-hover, #16a34a);
    border: 1px solid var(--c-success, #22c55e);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--c-danger-hover, #dc2626);
    border: 1px solid var(--c-danger, #ef4444);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--c-text, #1e293b);
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--c-border, #d1d5db);
    border-radius: var(--radius-sm, 6px);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
    color: var(--c-text, #1e293b);
}

.form-control:focus {
    outline: none;
    border-color: var(--c-primary, #667eea);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form-control::placeholder {
    color: var(--c-text-muted, #64748b);
    opacity: 0.7;
}

.error {
    color: var(--c-danger, #ef4444);
    font-size: 12px;
    margin-top: 5px;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--c-primary, #667eea) 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm, 6px);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    min-height: 44px;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

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

.btn-login:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
