/* Estilos para Login e Cadastro */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 20 L30 50 L50 80 L70 50 Z' fill='rgba(255,214,0,0.05)' /%3E%3C/svg%3E");
    opacity: 0.3;
}

.auth-box {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--yellow-primary), var(--yellow-light));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 214, 0, 0.3);
}

.auth-header .logo-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.auth-header h1 {
    color: var(--purple-primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--purple-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--yellow-primary);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.password-toggle {
    position: relative;
}

.password-toggle input {
    padding-right: 45px;
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 1.2rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--purple-primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.submit-btn:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(107, 44, 145, 0.3);
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E0E0E0;
}

.divider span {
    background: var(--white);
    padding: 0 1rem;
    color: #999;
    position: relative;
    z-index: 1;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: 25px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.social-btn:hover {
    border-color: var(--purple-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn img {
    width: 20px;
    height: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E0E0E0;
}

.auth-footer p {
    color: #666;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--purple-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

.privacy-text {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-top: 1rem;
}

.privacy-text a {
    color: var(--purple-primary);
    text-decoration: none;
}

.privacy-text a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 480px) {
    .auth-box {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
}
