:root {
    --brand-primary: #5b4bff;
    --brand-secondary: #8a7dff;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 460px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #fff;
}

.auth-brand .logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.auth-brand h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.auth-brand p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.auth-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.25rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    border: none;
}

.auth-card h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.auth-card .subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-control,
.form-select {
    padding: 0.65rem 0.9rem;
    border-radius: 0.6rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    transition: all 0.15s ease;
}

.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(91, 75, 255, 0.12);
    background: #fff;
}

.input-group-text {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-right: 0;
    color: #6b7280;
    border-radius: 0.6rem 0 0 0.6rem;
}

.input-group .form-control {
    border-left: 0;
    border-radius: 0 0.6rem 0.6rem 0;
}

.btn-brand {
    background: var(--brand-primary);
    color: #fff;
    font-weight: 500;
    padding: 0.65rem 1rem;
    border-radius: 0.6rem;
    border: none;
    width: 100%;
    transition: background 0.15s ease;
}

.btn-brand:hover {
    background: #4a3be0;
    color: #fff;
}

.auth-footer {
    text-align: center;
    margin-top: 1.25rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

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

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
}
