/* Estilo da grid principal do formulário */
.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Estilo dos campos do formulário */
.profile-form-group {
    display: flex;
    flex-direction: column;
}

.profile-form-group label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.profile-form-group input,
.profile-form-group textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.profile-upload input {
    margin-top: 0.5rem;
}

/* Botões */
.profile-buttons {
    margin-top: 1rem;
    text-align: right;
}



/* Centralizar o card */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.card {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Estilo dos campos do formulário */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    
    font-size: 14px;
}

.form-group label:not([for="confirmation_email"]){
    margin-bottom: 0.5rem;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

textarea {
    min-height: 100px;
}

/* Botão estilizado */
.button-primary {
    width: 100%;    
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

/* .button-primary:hover {
    background-color: #0056b3;
} */


/* Estilização para a lista de erros do Django */
.errorlist {
    list-style: none; /* Remove os marcadores */
    padding: 10px 15px;
    margin: 10px 0;
    background-color: #f8d7da; /* Fundo vermelho claro */
    border: 1px solid #f5c2c7; /* Borda vermelha suave */
    border-radius: 5px;
    color: #842029; /* Texto vermelho escuro */
    font-size: 14px; /* Tamanho consistente */
    font-family: 'poppins', sans-serif; /* Fonte usada no template */
}

.errorlist li {
    margin-bottom: 5px; /* Espaçamento entre mensagens */
    
}

.errorlist li:last-child {
    margin-bottom: 0; /* Remove margem extra na última mensagem */
}

.errorlist ul {
    list-style: none; /* Remove os marcadores */
}