﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0f172a;
    color: white;
}

.auth-container {
    display: flex;
    min-height: 100vh;
}

/* LEFT SIDE */
.auth-left {
    flex: 1;
    background: url('fitness-bg.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.6));
}

.left-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 400px;
}

    .left-content h1 {
        font-size: 40px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .left-content p {
        font-size: 18px;
        color: #cbd5e1;
    }

/* RIGHT SIDE */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111827;
}

.form-card {
    width: 380px;
    padding: 40px;
    background-color: #1f2937;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 30px;
}

.tab {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

    .tab.active {
        color: #22c55e;
        border-bottom: 2px solid #22c55e;
    }

/* Form */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 14px;
        margin-bottom: 6px;
        color: #cbd5e1;
    }

    .form-group input {
        width: 100%;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid #374151;
        background-color: #111827;
        color: white;
        transition: 0.3s;
    }

        .form-group input:focus {
            border-color: #22c55e;
            outline: none;
        }

/* Button */
.btn-primary {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background-color: #22c55e;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-primary:hover {
        background-color: #16a34a;
    }

/* Extra links */
.extra-links {
    text-align: center;
    margin-top: 20px;
}

    .extra-links a {
        color: #9ca3af;
        font-size: 14px;
        text-decoration: none;
    }

        .extra-links a:hover {
            color: #22c55e;
        }
.form-wrapper {
    position: relative;
    min-height: 320px; /* prevents jump */
}

.auth-form {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

    .auth-form.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        position: relative;
    }

.tab {
    transition: 0.3s ease;
}
