body {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: var(--white);
    border-bottom: 2px solid var(--light-gray);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    text-align: center;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

    .tab-btn.active {
        color: var(--primary-color-light);
    }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        }

.tabs-content {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.tab-panel {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 30px;
    transition: transform 0.5s ease;
}

.login-panel {
    transform: translateX(0);
}

.register-panel {
    transform: translateX(100%);
}

.tabs-content.register-active {
    height: 545px;
}

    .tabs-content.register-active .login-panel {
        transform: translateX(-100%);
    }

    .tabs-content.register-active .register-panel {
        transform: translateX(0);
    }

.form-title {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color-light);
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--dark-gray);
    }

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(216, 191, 216, 0.3);
        outline: none;
    }

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--dark-gray);
}

    .form-footer a {
        color: var(--primary-color-light);
        text-decoration: none;
        font-weight: 600;
    }

        .form-footer a:hover {
            text-decoration: underline;
        }

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-title {
    position: relative;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

    .social-title::before, .social-title::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 30%;
        height: 1px;
        background-color: var(--light-gray);
    }

    .social-title::before {
        left: 0;
    }

    .social-title::after {
        right: 0;
    }

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--primary-color-light);
    border: none;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: var(--white);
        transform: translateY(-3px);
    }

.field-validation-error {
    color: #d55;
}

/* رسپانسیو */
@media (max-width: 480px) {
    .auth-container {
        max-width: 100%;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-btn {
        padding: 15px;
    }

    .tabs-content {
        height: auto;
        min-height: 400px;
    }
}
