/*#region loader*/

/* Estilos do Loader */
.loader-overlay {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 3000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--rosa-suave);
    border-top: 5px solid var(--dourado-fosco);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Estilos do Modal de Sucesso */
.modal-feedback {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3001;
    justify-content: center;
    align-items: center;
}

.modal-feedback-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease-out;
}

.icone-sucesso {
    font-size: 50px;
    color: var(--dourado-fosco);
    margin-bottom: 15px;
}

.btn-fechar-sucesso {
    background: var(--dourado-fosco);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
}

.icone-erro {
    font-size: 50px;
    color: #d9534f;
    /* Vermelho para erro */
    margin-bottom: 15px;
}

.btn-fechar-erro {
    background: #555;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*#endregion loader*/