:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #3f37c9;
    --text-color: #2b2d42;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #adb5bd;
    --white: #ffffff;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--light-gray);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.background-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}



.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 1rem;
    animation: fadeIn 0.6s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.forms-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.logo-container {
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.logo-container .logo {
    width: 290px;
    height: auto;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.sign-in-form,
.sign-up-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    padding: 1.5rem 1.5rem 1.8rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    width: 100%;
}

.sign-up-form {
    display: none;
}

.title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
    padding-top: 0.5rem;
}

.subtitle {
    color: var(--dark-gray);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.input-field {
    width: 100%;
    height: 46px;
    background-color: var(--medium-gray);
    margin: 8px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border: 2px solid transparent;
    transition: var(--transition);
}

.input-field:focus-within {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.input-field i {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-right: 10px;
    transition: var(--transition);
}

.input-field input {
    background: none;
    outline: none;
    border: none;
    width: 100%;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.input-field input::placeholder {
    color: var(--dark-gray);
    font-weight: 500;
}

.btn {
    width: 100%;
    height: 46px;
    border: none;
    outline: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #86b68a;
    color: var(--white);
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #4b9653;
    transform: translateY(-2px);
}

.btn-text {
    margin-right: 8px;
}

.btn-icon {
    font-size: 0.8rem;
}

.social-text {
    margin-top: 1rem;
    color: var(--dark-gray);
    font-size: 0.8rem;
    text-align: center;
}

.social-text a {
    color: #66996a;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 480px) {
    body {
        padding: 15px;
        display: flex;
        align-items: center;
    }

    .auth-container {
        max-width: 100%;
        padding: 0;
    }

    .sign-in-form,
    .sign-up-form {
        padding: 1.5rem 1.2rem 1.8rem;
    }

    .logo-container {
        padding-top: 0.2rem;
    }

    .logo-container .logo {
        width: 80px;
    }

    .title {
        font-size: 1.3rem;
        padding-top: 0.3rem;
    }

    .input-field,
    .btn {
        height: 44px;
    }

    .shape-1,
    .shape-2 {
        opacity: 0.08;
    }
}