.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    animation: fadeIn 0.8s ease forwards;
    margin: 2rem auto;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/pattern.svg');
    opacity: 0.05;
    pointer-events: none;
}

.auth-form {
    width: 100%;
    position: relative;
    z-index: 2;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.auth-form h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.form-group {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.form-group:nth-child(n+3) {
    animation-delay: calc(0.3s + var(--index) * 0.1s);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(93, 44, 220, 0.2);
    border-radius: var(--border-radius);
    max-width: none;
    font-family: 'Freeroad';
    background-color: var(--white);
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(93, 44, 220, 0.2);
}

.auth-button {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(93, 44, 220, 0.25);
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

button:hover{
    cursor: pointer;
}

.auth-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(93, 44, 220, 0.35);
    cursor: pointer;
}

.auth-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(93, 44, 220, 0.2);
}

.google-button-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: rgba(93, 44, 220, 0.1);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.google-button-container:hover {
    cursor: pointer;
    background-color: rgba(93, 44, 220, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(93, 44, 220, 0.15);
}

.google-button-container img {
    width: 1.5rem;
    height: 1.5rem;
}

.google-button-container button {
    width: 100%;
    background-color: transparent;
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.auth-links {
    margin-top: 2rem;
    text-align: center;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.auth-links p {
    margin-top: 1.5rem;
    color: var(--dark-text);
}

.auth-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.error-message {
    color: var(--red);
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease forwards;
    background-color: rgba(244, 67, 54, 0.1);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--red);
}