.empty{
    width: 0px !important;
    border: 0px !important;
    padding: 2px !important;
    background: tan !important;
}
/* Main heading styling */
.page-header {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

/* Map container */
.map {
    height: 70vh;
    width: 100%;
    border-radius: 0.5rem;
    border: 2px solid #e9ecef;
    position: relative;
}

/* Popup styling */
.popover {
    width: 300px;
    border: 2px solid #0d6efd;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.popover-header {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    border-bottom: 1px solid #0a58ca;
}

/* Card enhancements */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid #e9ecef;
}

.card-header {
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}

.card-header.bg-light {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca) !important;
}

/* Form controls enhancements */
.form-control, .form-select {
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Button enhancements */
.btn {
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #6c757d, #495057);
}

/* Alert styling */
.alert-info {
    border-left: 4px solid #0dcaf0;
    background: linear-gradient(135deg, #d1ecf1, #b8daff);
    border-color: #b8daff;
}

/* CF6 Report styling */
#cf6report {
    min-height: 200px;
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    border-radius: 0.375rem;
    padding: 1rem;
}

#cf6report pre {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1rem;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .map {
        height: 50vh;
    }
    
    .page-header {
        padding: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-bottom: 0.25rem;
    }
}

/* Icon enhancements */
.bi {
    vertical-align: -0.125em;
}