/* ===================================================
   SHMAHM KONTO - ARENA DARK + NEON GREEN
   =================================================== */

:root {
    --bg-main: #08090c;
    --bg-card: #12151e;
    --bg-surface: #0d0f14;
    --bg-input: #0b0d13;
    --border-subtle: #222736;
    --neon: #00ff66;
    --neon-soft: rgba(0, 255, 102, 0.12);
    --neon-glow: rgba(0, 255, 102, 0.35);
    --text-main: #f1f1f1;
    --text-muted: #727b93;
    --text-nav: #a0a5b5;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

.konto-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 255, 102, 0.08), transparent 55%),
        var(--bg-main);
}

/* Top Header */
.konto-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
}

.btn-back {
    background-color: var(--bg-card);
    color: var(--text-nav);
    border: 1px solid var(--border-subtle);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back:hover {
    color: #ffffff;
    border-color: rgba(0, 255, 102, 0.45);
    background-color: rgba(0, 255, 102, 0.06);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff;
}

.neon-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--neon);
    box-shadow: 0 0 10px var(--neon);
}

/* Main Centered Card */
.konto-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.auth-heading {
    margin-bottom: 20px;
}

.auth-heading h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.auth-heading p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Privat / Business Tabs */
.account-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 5px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 22px;
}

.tab-btn {
    padding: 10px 14px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.primary,
.tab-btn.active {
    background-color: var(--neon);
    color: #08090c;
    box-shadow: 0 0 14px var(--neon-glow);
}

.tab-btn.outline {
    background-color: transparent;
    color: var(--text-nav);
}

.tab-btn.outline:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.04);
}

/* Slider für Privat-Login */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 200%;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.slider-wrapper.step-1 .slider-track {
    transform: translateX(0%);
}

.slider-wrapper.step-2 .slider-track {
    transform: translateX(-50%);
}

.slider-step {
    width: 50%;
    flex-shrink: 0;
}

/* Konto-Anzeige in Schritt 2 */
.identifier-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--neon-soft);
    border: 1px solid rgba(0, 255, 102, 0.35);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.identifier-pill strong {
    color: var(--neon);
}

.link-btn {
    background: none;
    border: none;
    color: var(--neon);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.link-btn:hover {
    color: #ffffff;
}

/* Formularfelder */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-nav);
}

.input-group input {
    width: 100%;
    padding: 12px 14px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input::placeholder {
    color: #52596e;
}

.input-group input:focus {
    border-color: var(--neon);
    box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.12);
}

.input-group input.error-input {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}

.error-message {
    min-height: 16px;
    font-size: 0.8rem;
    color: var(--error);
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    background-color: var(--neon);
    color: #08090c;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 0 18px var(--neon-glow);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: var(--bg-input);
    color: var(--text-nav);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    color: #ffffff;
    border-color: var(--text-muted);
}

.full-width {
    width: 100%;
}

.step-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.flex-grow {
    flex: 1;
}

/* Mobile Anpassung */
@media (max-width: 480px) {
    .konto-header {
        padding: 14px 16px;
    }

    .auth-card {
        padding: 22px 18px;
        border-radius: 14px;
    }
}