/*UPLOAD AREA*/

/* styles.css */
.custom-file-upload, .import-button {
    display: inline-block;
    padding: 8px 12px;
    cursor: pointer;
    background-color: #0073aa;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    height: 40px;
    /* Ajuste a altura conforme necessário */
    line-height: 24px;
    /* Ajuste a linha para centralizar o texto */
    width: 100%;
    /* Largura total para alinhar com o campo de texto */
    box-sizing: border-box;
    /* Inclui padding e border na largura */
    text-align: center;
    /* Centraliza o texto */
    position: relative;
    /* Para o loader */
    border: none;
    /* Remove borda padrão */
}

.custom-file-upload:hover, .import-button:hover {
    background-color: #005a87;
}

.custom-file-upload:disabled, .import-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.file-input {
    display: none;
}

input, select {
    font-size: 14px;
    border: 1px solid #ddd !important;
    font-family: 'Inter';
}

.file-name {
    margin-top: 10px;
    font-style: italic;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Espaçamento entre os elementos */
}

.form-row>* {
    flex: 1;
    /* Ambos os elementos na linha terão a mesma largura */
}

.divider {
    margin: 20px 0;
    border-bottom: 1px solid #ddd;
}

.loader {
    border: 4px solid #f3f3f3;
    /* Light grey */
    border-top: 4px solid #0073aa;
    /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 25%;
    left: 10px;
    /* Ajuste a posição do loader para a esquerda */
    transform: translateY(-50%);
    display: none;
    /* Oculto por padrão */
}

.loader-inline {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para o ícone de opções e o modal */

.options-container {
    position: relative;
    display: inline-block;
}

.options-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.options-icon .dot {
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 50%;
}

.options-modal {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.options-modal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.options-modal li {
    padding: 8px 16px;
    border-bottom: 1px solid #ddd;
}

.options-modal li:last-child {
    border-bottom: none;
}

.options-modal li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.options-modal li a:hover {
    background-color: #f5f5f5;
}


/* Tela de edição de clientes */

/* Estilos para o formulário de edição de cliente */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Inter';
    font-size: 14px;
}

input[type="text"], select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button[type="submit"]:hover {
    background-color: #005a87;
}

/* Estilos para o modal de confirmação de exclusão */
#delete-confirmation-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 20px;
    border-radius: 4px;
}

.modal-content {
    text-align: center;
}

.modal-content p {
    margin-bottom: 20px;
    font-family: 'Inter';
    font-size: 16px;
}

.modal-content button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.confirm-delete {
    background-color: #d9534f;
    color: #fff;
}

.confirm-delete:hover {
    background-color: #c9302c;
}

.cancel-delete {
    background-color: #ccc;
    color: #333;
}

.cancel-delete:hover {
    background-color: #999;
}

/* Estilos para o formulário de busca e resultados */
#resultado-busca p {
    font-family: 'Inter';
    font-size: 14px;
    margin-bottom: 10px;
}

.sorteio-result {
    padding: 20px;
    border-radius: 10px;
    background-color: #081254;
    color: white;
    font-family: 'Inter';
    font-size: 14px;
}


.status-inadimplente {
    padding: 2px 10px;
    background-color: #c9302c;
    border-radius: 5px;
}

.status-ativo {
    padding: 2px 10px;
    background-color: #00660A;
    border-radius: 5px;
}

.resultado {
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}