.form-container {
    width: 700px;
    padding: 50px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--secondary);
}

.forgot-password {
    width: 500px;
}

.form-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}

.form-group input {
    border: 1px solid var(--border);
    border-radius: 7px;
    background-color: transparent;
    padding: 13px 17px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: var(--muted-foreground);
}

.form-group a {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: var(--primary);
    text-align: right;
}

.btn-form {
    background-color: var(--primary);
    border-radius: var(--radius);
    padding: 12px 24px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    color: var(--primary-foreground);
    width: 100%;
    width: 100%;
    display: block;
    text-align: center;
}

.divisores {
    display: flex;
    align-items: center;
    margin: 40px 0;
    gap: 15px;
}

.divisores hr {
    flex: 1;
    border: 1px solid var(--border);
}

.divisores span {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: var(--primary-foreground);
}

.social-login {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.btn-social {
    background-color: var(--border);
    padding: 13px 25px;
    border-radius: var(--radius);
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    width: 48%;
    color: var(--text);
    text-align: center;
}

.create-link {
    margin-top: 20px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: var(--brand-700);
    text-align: center;
}

.voltar-link,
.voltar-link a {
    margin: 60px 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: var(--brand-700);
    text-align: center;
}

/* Bloco dos termos */
.terms-block {
    margin-top: 1rem;
}
.terms-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    user-select: none;
    margin-bottom: 15px;
}
/* Esconde o checkbox original */
.terms-checkbox {
    appearance: none; /* remove o estilo padrão */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--brand-700);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 2px;
}

/* Hover (quando passa o mouse por cima) */
.terms-checkbox:hover {
    border-color: var(--brand);
}

/* Checked (quando está marcado) */
.terms-checkbox:checked,
.terms-checkbox:checked:focus {
    background-color: var(--brand);
    border-color: var(--brand);
}

/* Acessibilidade: quando em foco pelo teclado */
.terms-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 0px;
}
.terms-link {
    color: var(--brand);
    text-decoration: underline;
}
.terms-link:hover {
    color: var(--brand-700);
}
.terms-error {
    margin-top: 0.35rem;
    color: #ff8686;
    font-size: 0.85rem;
}

/* caixas de feedback */
.status {
    background: #0e1f12;
    color: #b8f5b8;
    border: 1px solid #1d3d23;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
.error-box {
    background: #2a0f10;
    color: #ffb3b3;
    border: 1px solid #5a1d20;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.error-box ul {
    margin: 0.25rem 0 0 1rem;
    padding: 0;
}

/* ================================
   RESPONSIVO
   ================================ */

@media (max-width: 1024px) {
    .form-container {
        width: 600px;
        padding: 40px;
    }

    .forgot-password {
        width: 100%;
    }

    .social-login {
        flex-direction: column;
        gap: 12px;
    }

    .btn-social {
        width: 100%;
    }

    .create-link {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .form-container {
        width: 100%;
        padding: 30px;
    }

    .social-login {
        gap: 8px;
    }

    .btn-social {
        width: 100%;
    }

    .create-link {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
    }

    .create-link {
        font-size: 12px;
    }
}
