/* Form container styling */
.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: 'Poppins', sans-serif;
}

.auth-container h1 {
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--text);
}

.auth-link {
    text-align: center;
    padding-top: 1rem;
}

/* Form styling */
.form-group {
    margin-bottom: 1.5rem;
}

#setUsernameForm{
    padding-top:1rem
}


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

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 2px rgba(245, 49, 0, 0.1);
}

/* Button styling */
.btn-submit {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--accent-red);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.newUser{
        margin-top: 0.5rem;
}
.loginH1{
    padding-bottom:1rem;
}

.btn-submit:hover {
    background-color: #d62a00;
}

/* Message styling */
.error-message {
    color: var(--accent-red);
    background-color: rgba(245, 49, 0, 0.1);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.success-message {
    color: #4BB543;
    background-color: rgba(75, 181, 67, 0.1);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Link styling */
.switch-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.switch-link a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
}

.switch-link a:hover {
    text-decoration: underline;
}


.google-auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom:1rem;
}



.google-auth-btn img {
    width:13rem;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border-light);
}

.auth-divider span {
    padding: 0 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}
