/**
 * Dateiname: login.css
 * Erstellt: 2026-06-07
 * Geändert: 2026-06-07
 * Version: 2.0.0
 *
 * Copyright by GeRockt.net - Dieser Code ist urheberrechtlich geschützt.
 * Unerlaubte Verbreitung, Nutzung etc. wird strafrechtlich verfolgt.
 */

:root {
    --color-primary: #4f46e5;
    --color-primary-hover: #4338ca;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #312e81 100%);
    color: #0f172a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.login-container {
    width: 100%;
    max-width: 440px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-brand {
    text-align: center;
    margin-bottom: 1.75rem;
}

.login-brand-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.login-brand-icon span {
    font-size: 1.75rem;
}

.login-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.subtitle {
    color: #64748b;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #6366f1);
    color: #fff;
    width: 100%;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), #4f46e5);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.btn-primary:disabled {
    background: #c7d2fe;
    box-shadow: none;
    cursor: not-allowed;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.hint {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.hint code {
    background: #f1f5f9;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #4f46e5;
}

ol {
    margin: 1rem 0 1rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #475569;
}
