* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222;
}

/* Hintergrund */
.background {
    position: fixed;
    inset: 0;
    background: url("img/tanzgruppe.jpg") center/cover no-repeat;
    z-index: -2;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,77,109,0.85), rgba(108,92,231,0.85));
}


.auth-wrapper {
    position: relative;
    width: 400px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.tabs {
    display: flex;
}

.tab-btn {
    flex: 1;
    padding: 15px 0;
    background: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.tab-btn.active {
    background: #ff4d6d;
    color: #fff;
}

.auth-form {
    display: none;
    padding: 30px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 25px;
    font-size: 26px;
    color: #ff4d6d;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.auth-form button {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    border: none;
    border-radius: 30px;
    background: #ff4d6d;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-form button:hover {
    background: #ff2f56;
}

.auth-form .small {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.auth-form .small span {
    color: #ff4d6d;
    cursor: pointer;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media(max-width: 450px) {
    .auth-wrapper {
        width: 90%;
    }
}

