body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Roboto', sans-serif;
}
.header {
    color: white;
    padding: 1rem;
    height: 160px;
    text-align: center;
    background-image: url('https://propia-assets.sfo3.cdn.digitaloceanspaces.com/static/branding/propia_powered_by_nexus.png');
    background-size: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-position-y: 0px;
    background-color: #000000;
}
.header h1 {
    margin: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    height: 100%;
    font-size: 2.5em;
    font-weight: 300;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
}
.container-small {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.cards-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
}

/* En móviles (pantallas menores a 768px) */
@media (max-width: 767px) {
    .cards-container {
        flex-direction: column;
        gap: 15px;
    }
}
.info-box {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-left: 4px solid #e72b49;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}
.info-box .buttons-container {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.info-box h3 {
    margin-top: 0;
    color: #333;
}
.info-box p {
    margin: 10px 0;
    color: #666;
}
.btn {
    display: inline-block;
    background: #e72b49;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    margin: 10px 5px;
    transition: background 0.3s ease;
}
.btn:hover {
    background: #5a6fd8;
}
.btn-secondary {
    background: #6c757d;
}
.btn-secondary:hover {
    background: #5a6268;
}
.btn.active {
    background: #28a745;
}
#redoc-container, #swagger-container {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.pointer {
    cursor: pointer;
}
#map {
    height: 600px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.map-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.map-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: linear-gradient(135deg, #e72b49 0%, #ec3f5a 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e72b49;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-box {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.success-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}
.text-bolder {
    font-weight: bold;
}