* { font-family: 'Inter', sans-serif; }
body { background: #0D2A52; }

.btn-primary { background: #F37021; transition: all 0.2s ease; }
.btn-primary:hover { background: #FFA13A; transform: translateY(-1px); }
.btn-secondary { background: #1E4F8A; transition: all 0.2s ease; }
.btn-secondary:hover { background: #2F6DB5; }

.tab-active { background: #F37021; color: white; }
.tab-inactive { color: #1E4F8A; background: transparent; }

.upload-area { border: 2px dashed #2F6DB5; background: #F2F2F2; cursor: pointer; }
.upload-area:hover { border-color: #F37021; background: #FFF5ED; }

input, select { background: #F2F2F2; border: 1px solid #E5E7EB; border-radius: 0.75rem; padding: 0.75rem; }

.saldo-container { background: #FFF5ED; padding: 0.5rem 1rem; border-radius: 1rem; display: flex; align-items: baseline; gap: 0.5rem; }
.saldo-label { font-size: 0.75rem; font-weight: 500; color: #1E4F8A; }
.saldo-valor { font-size: 1.5rem; font-weight: 800; color: #F37021; }

.document-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #E2E8F0;
}
.document-badge { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: #F37021; color: white; }

#mapa-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: white;
    display: none;
    flex-direction: column;
}
#map { flex: 1; width: 100%; min-height: 300px; }

#mapa-spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
#mapa-spinner > div {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.tooltip-azul {
    background: #0D2A52 !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 5px 10px !important;
    border-radius: 15px !important;
    border: none !important;
    white-space: nowrap !important;
}
.leaflet-tooltip-top.tooltip-azul:before {
    border-top-color: #0D2A52 !important;
}

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

@media (max-width: 768px) {
    .saldo-container { justify-content: center; }
    input, select { font-size: 0.9rem; padding: 0.6rem; }
}
