/* Grundlegendes Layout & OLED-Schwarz */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Zurück-Button */
.back-btn {
    position: absolute;
    top: 25px;
    left: 25px;
    background-color: #222222;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.back-btn:hover {
    background-color: #2a2a2a;
}

.back-btn:active {
    background-color: #151515;
    transform: scale(0.98);
}

/* Hauptcontainer */
.auth-selection-container {
    width: 100%;
    max-width: 850px;
}

.auth-card {
    background-color: #222222;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9);
    text-align: center;
}

.auth-card h1 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #ffffff;
}

.auth-subtitle {
    color: #a0a0a0;
    font-size: 15px;
    margin-bottom: 35px;
}

/* Grid für Auswahlboxen */
.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.selection-box {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.selection-box:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.box-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.selection-box h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

.selection-box p {
    font-size: 13px;
    color: #909090;
    line-height: 1.4;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Button-Gruppe pro Box (für Anmelden & Registrieren) */
.box-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Buttons */
.select-btn {
    display: inline-block;
    background-color: #222222;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 100%;
    text-align: center;
}

.select-btn:hover {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.3);
}

.select-btn:active {
    background-color: #151515;
}

/* Sekundär-Button (Registrieren im Outline-Look) */
.outline-btn {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.outline-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
    .selection-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 25px 20px;
    }

    .back-btn {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 13px;
    }
}