/* Estilos específicos para a área administrativa */
body {
    background-color: #f8f9fa;
    padding-top: 20px;
}

.admin-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    border-radius: 8px;
}

.admin-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.admin-nav .btn {
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.admin-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.mapa-admin-container {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.mapa-admin-img {
    width: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Estilos para os marcadores de lotes na área administrativa */
.lote-marcador {
    position: absolute;
    width: 45px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    border: 1px solid #fff;
    font-family: 'Montserrat', sans-serif;
    z-index: 10;
    border-radius: 0;
    font-size: 8px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
}

.lote-marcador.vendido {
    background-color: #FF8C00; /* Laranja escuro */
}

/* Legenda de status */
.lotes-legenda {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lotes-legenda-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.lotes-legenda-cor {
    width: 25px;
    height: 12px;
    margin-right: 8px;
    border: 1px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5px;
    color: white;
    font-weight: bold;
}

.lotes-legenda-cor.vendido {
    background-color: #FF8C00; /* Laranja escuro */
}

/* Tabela de lotes */
.table th {
    background-color: var(--primary-color);
    color: white;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .lote-marcador {
        width: 35px;
        height: 15px;
        font-size: 6px;
    }
    
    .admin-actions {
        flex-direction: column;
    }
}

/* Adicionar regras CSS para o upload de mapa */
.mapa-preview-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #f8f9fa;
    text-align: center;
}

.mapa-preview-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Estilos para o modal de alerta */
.modal-header.bg-success {
    background-color: #28a745;
    color: white;
}

.modal-header.bg-danger {
    background-color: #dc3545;
    color: white;
}

.modal-header.bg-warning {
    background-color: #ffc107;
    color: white;
}

.modal-header.bg-info {
    background-color: #17a2b8;
    color: white;
}
