﻿body {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.auth-container {
    width:500px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background-color: #fff;
    transition: all 0.5s ease;
    box-sizing: border-box;
}

.toggle-btns {
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 5px;
    background: #f1f1f1;
    border-radius: 8px;
}

    .toggle-btns button {
        flex: 1;
        padding: 6px;
        border: none;
        background: #f1f1f1;
        cursor: pointer;
        transition: background 0.3s;
        border-radius: 8px;
    }

        .toggle-btns button.active {
            background: #4f7fff;
            color: #fff;
        }

.auth-form {
    display: none;
    animation: fadeIn 0.5s forwards;
}

    .auth-form.active {
        display: block;
    }

    .auth-form input {
        margin-bottom: 15px;
    }

.social-login {
    text-align: center;
    margin-top: 15px;
}

    .social-login p {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 14px;
        margin-bottom: 10px;
        position: relative;
    }

        .social-login p::before,
        .social-login p::after {
            content: "";
            flex: 1;
            height: 1px;
            background: #ccc;
            margin: 0 10px;
        }

    .social-login button {
        border: none;
        background: #00c300;
        color: #fff;
        padding: 8px 16px;
        border-radius: 8px;
        cursor: pointer;
    }

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.eye-password {
    position: absolute;
    right: 10px;
    top: 60%;
    cursor: pointer;
}

.code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

    .code-inputs input {
        width: 50px;
        height: 55px;
        font-size: 24px;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 10px;
    }

        .code-inputs input:focus {
            border-color: #007bff;
            outline: none;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 20px;
    }
}

@media (max-width: 1024px) {
    .auth-container {
        box-shadow: none;
    }
}
