body {
    background-color: rgb(128, 0, 0) !important;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-x: hidden;
}

.custom-layer-btn {
    position: absolute;
    z-index: 1000;
    background: white;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}


#fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    background: white;
}

#sidebar .nav-link { color: #800000; font-weight: 500; }
#sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 260px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    transition: left 0.3s ease;
    z-index: 1051;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
#sidebarOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1050;
    display: none;
}

.menu-toggle-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1052;
    background: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    color: #800000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.menu-toggle-btn:hover { background: #f8f9fa; transform: scale(1.03); }
.menu-toggle-btn.hidden { display: none; }

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #800000;
    cursor: pointer;
}

.sidebar-link {
    font-size: 1.1rem;
    color: #800000;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #fdfdfd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
    transition: background 0.3s, box-shadow 0.3s;
}

.sidebar-link:hover {
    background-color: #f3f3f3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.sidebar-ubication {
    font-size: 1.1rem;
    color: #800000;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #fdfdfd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
    transition: background 0.3s, box-shadow 0.3s;
}

.sidebar-ubication:hover {
    background-color: #f3f3f3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.leaflet-control-zoom { margin-top: 60px !important; margin-left: 10px !important; }
.leaflet-control-fullscreen { margin-top: 10px !important; margin-left: 10px !important; }

.custom-pin {
    text-align: center;
    transform: translate(-50%, -50%);
}

.pin-label {
    background-color: white;
    border: 1px solid #666;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.marker-popup {
    z-index: 1000;
}

.marker-popup .leaflet-popup-content-wrapper {
    padding: 10px;
    border-radius: 4px;
}

.marker-popup h6 {
    font-weight: bold;
    margin-bottom: 8px;
}

.marker-popup p {
    margin: 4px 0;
    font-size: 0.9em;
}
/* Estilos base de modales */
.modal {
    z-index: 1050 !important;
    pointer-events: all !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal-dialog {
    margin: 1.75rem auto;
    max-width: 600px;
    width: 95%;
    pointer-events: all !important;
}

.modal-content {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,.5);
    pointer-events: all !important;
}

/* Estructura del modal */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-body {
    position: relative;
    padding: 1rem;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}


.leaflet-fullscreen-on .modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0;
}

.leaflet-fullscreen-on .modal-dialog {
    margin: 0 auto;
    position: relative;
    pointer-events: auto;
}

.leaflet-fullscreen-on .modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.data-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 9999 !important;
    overflow-y: auto;
    padding: 20px;
}

.data-sidebar.open {
    left: 0;
}

.layerToggleBtn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2400;
    background: #fff;
    border: none;
    padding: 8px 10px;
    border-radius: 3px;
    font-weight: bold;
    color: #800000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.layerToggleBtn:hover { background: #f8f9fa; transform: scale(1.03); }
.layerToggleBtn.hidden { display: none; }

.layerToggleBtn a { text-decoration: none; }

#closeDataSidebar {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    background: none;
    border: none;
}

.custom-layers-control {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.layers-toggle-btn {
    background: white;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.layers-toggle-btn:hover {
    background: #f4f4f4;
}

.layers-panel {
    display: none;
    background: white;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 10px;
    min-width: 200px;
}

.layers-panel.show {
    display: block;
    position: absolute;
    top: 0 !important;
    right: 0 !important;
}

.layers-section {
    margin-bottom: 10px;
}

.layers-section h6 {
    margin-bottom: 5px;
    font-weight: bold;
    color: #666;
}

.layer-item {
    margin: 5px 0;
}

.layer-item label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.layer-item input[type="radio"],
.layer-item input[type="checkbox"] {
    margin: 0;
}

/* Iconos de Marcadores */
.custom-div-icon {
    background: transparent;
    border: none;
    pointer-events: none !important;
}

/* Etiqueta de unidades en los polígonos */
.custom-pin .pin-label {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    text-align: center;
    width: fit-content;
}

.custom-marker-icon {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-popup {
    padding: 0;
    text-align: center;
}

.marker-popup h6 {
    margin-bottom: 8px;
    font-weight: bold;
}

.marker-popup p {
    margin-bottom: 4px;
}

/* Estilos para las tarjetas de servicios */
.service-card {
    border: 1px solid #e0e0e0 !important; /* Gris muy claro para un borde sutil */
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.service-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: #c0c0c0 !important;
}

@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1.5rem;
    }
    .service-image-container,
    .service-icon-container {
        height: 180px !important;
    }
    .service-actions .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    .service-actions .btn {
        width: 100%;
    }
}

.service-card-simple {
    height: 100%;
    border: 1px solid #e0e0e0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#services {
    width: 86vw;
    margin-left: calc(-43vw + 50%);
}

    /* Mejoras para el gap en browsers que lo soportan */
    .d-flex.gap-2 {
        gap: 0.5rem;
    }

    /* Fallback para browsers sin soporte de gap */
    @supports not (gap: 0.5rem) {
        .service-actions .btn:not(:last-child) {
            margin-right: 0.5rem;
        }
    }

    #services {
        width: 86vw;
        margin-left: calc(-43vw + 50%);
    }

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-container {
    text-align: center;
}

.spinner-border {
    width: 4rem;
    height: 4rem;
}

#tour360-spinner {
    background: rgba(255, 255, 255, 0.95);
}


/* Estilos específicos para MarkerCluster */
.marker-cluster {
    background-clip: padding-box;
    border-radius: 20px;
}

.marker-cluster div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 15px;
    font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.marker-cluster span {
    line-height: 30px;
    color: white;
    font-weight: bold;
}

/* Estilos para marcadores personalizados */
.custom-div-icon {
    background: none !important;
    border: none !important;
}

.custom-div-icon div {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.custom-marker-icon {
    width: 100%;
    height: 100%;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: block;
}

.custom-pin .pin-label {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.custom-pin {
    text-align: center;
    width: 100%;
    height: 100%;
}

/* Estilos para el sistema de tracking GPS */
.user-location-marker {
    position: relative;
}

.user-location-dot {
    width: 20px;
    height: 20px;
    background-color: #007bff;
    border: 3px solid #ffffff;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.user-location-pulse {
    width: 20px;
    height: 20px;
    background-color: rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: -3px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.tracking-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 280px;
    backdrop-filter: blur(10px);
}

.tracking-info {
    margin-bottom: 10px;
}

.tracking-status {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-weight: bold;
}

.tracking-status i {
    margin-right: 8px;
    color: #6c757d;
}

.tracking-status.tracking-active i {
    color: #28a745;
    animation: satelliteRotate 2s linear infinite;
}

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

.tracking-accuracy {
    font-size: 0.9em;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.tracking-accuracy.high-accuracy {
    background-color: #d4edda;
    color: #155724;
}

.tracking-accuracy.medium-accuracy {
    background-color: #fff3cd;
    color: #856404;
}

.tracking-accuracy.low-accuracy {
    background-color: #f8d7da;
    color: #721c24;
}

.tracking-stats {
    margin-top: 5px;
    padding: 3px 0;
    color: #6c757d;
}

.tracking-stats i {
    margin-right: 3px;
}

.tracking-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tracking-buttons .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 80px;
}

.proximity-notification {
    position: fixed;
    bottom: 20px;
    z-index: 1100;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: slideUpIn 0.3s ease;
}

@keyframes slideUpIn {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.proximity-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.proximity-content i {
    color: #007bff;
    font-size: 1.2em;
}

.proximity-content button {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proximity-content button:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.polygon-custom-tooltip {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    border-radius: 8px;
    font-family: inherit;
    min-width: 180px;
    max-width: 320px;
    width: auto;
    white-space: normal !important;
}

.polygon-custom-tooltip .leaflet-tooltip-content {
    padding: 0;
    white-space: normal !important;
}

.polygon-tooltip {
    padding: 10px 15px;
}

.polygon-tooltip .tooltip-type {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}

.polygon-tooltip .tooltip-description {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: normal;
}

.polygon-custom-tooltip.leaflet-tooltip-top:before {
    border-top-color: rgba(255, 255, 255, 0.95);
}


@media (max-width: 768px) {
    .tracking-controls {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }

    .proximity-notification {
        position: fixed;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 220px;
        width: auto;
        padding: 8px 12px;
        font-size: 0.85rem;
        box-sizing: border-box;
    }

    .proximity-content {
        gap: 6px;
        align-items: center;
        justify-content: space-between;
    }

    .proximity-content i {
        font-size: 1rem;
    }

    .proximity-content button {
        width: 24px;
        height: 24px;
        padding: 0;
        font-size: 0.8rem;
    }

    .tracking-controls {
        top: 10px;
        right: 10px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 260px;
        padding: 10px;
        width: 90vw;
    }

    .proximity-notification {
        bottom: 10px;
        z-index: 1100;
        left: 10px;
        right: 10px;
        transform: none;
    }

    .tracking-buttons .btn {
        min-width: 70px; /* botones un poco más angostos */
        padding: 4px 6px;
        font-size: 0.85rem;
    }

    .tracking-status {
        font-size: 0.9rem;
    }

    .tracking-accuracy {
        font-size: 0.75rem;
        padding: 1px 6px;
    }
}

.modal-body-themed input::placeholder {
    color: rgba(255,255,255,0.7);
}

/* Estilos para el modal de polígono/lote mejorado */
#polygonModal .modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

#polygonModal .modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 20px;
}

#polygonModal .modal-title {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

#polygonModal .modal-header .close:hover {
    opacity: 1;
}

#polygonModal .modal-body {
    padding: 15px 20px;
    background: white;
}

/* Todos los campos de información */
#polygonModal .form-control-sm,
#polygonModal .form-control[readonly] {
    background-color: #e9ecef !important;
    border: 1px solid #ced4da;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    opacity: 1;
}

#polygonModal .form-label.small {
    margin-bottom: 4px;
    font-weight: 500;
}

@media (min-width: 992px) {
    #polygonModal .modal-dialog.modal-custom {
        max-width: 900px;
        display: flex;
        align-items: center;
        min-height: calc(100% - 1rem);
    }
}

/* Responsive para mobile - padding más pequeño */
@media (max-width: 767px) {
    #polygonModal .modal-body {
        padding: 10px 15px;
    }

    #polygonModal .modal-header {
        padding: 10px 15px;
    }

    #polygonModal .form-control-sm {
        font-size: 14px;
    }
}

/* Footer con botones */
#polygonModal .modal-footer {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 15px 20px;
    display: flex;
    gap: 10px;
}

/* Botón de detalles (gris) */
#polygonModal .btn-details {
    background-color: #6c757d;
    color: white;
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    width: 100%;
}

#polygonModal .btn-details:hover {
    background-color: #5a6268;
}

/* Botón de WhatsApp (verde) */
#polygonModal .btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    color: white;
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#polygonModal .btn-whatsapp:hover {
    background-color: #20b358;
    border-color: #20b358;
}

#polygonModal .btn-whatsapp::before {
    content: "💬";
    font-size: 16px;
}

/* Ocultar campos vacíos */
.field-hidden {
    display: none !important;
}

.level-selector {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    max-width: 90vw;
    flex-wrap: wrap;
    justify-content: center;
}

.level-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.level-controls .dropdown button {
    min-width: 120px;
    background: transparent;
    color: #333;
    border: 1px solid rgba(0,0,0,0.1);
    font-weight: 500;
    border-radius: 8px;
}

.level-controls .dropdown button:hover,
.level-controls .dropdown button:focus {
    background: rgba(0,0,0,0.05);
    color: #333;
    border-color: rgba(0,0,0,0.2);
    box-shadow: none;
}

.level-controls .dropdown-menu {
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
}

.level-controls .dropdown-item {
    color: #333;
    font-weight: 500;
}

.level-controls .dropdown-item:hover {
    background-color: rgba(0,0,0,0.05);
    color: #333;
}

.level-selector span {
    font-weight: 600;
    color: #666;
}

/* Estilos para la leyenda de estados en el panel inferior */
.states-legend-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.state-item-bottom {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
}

.state-color-bottom {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.1);
}

.state-name-bottom {
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

/* Mobile: vertical layout */
@media (max-width: 767px) {
    .level-selector {
        flex-direction: column;
        padding: 10px 15px;
        max-width: 80vw;
        gap: 10px;
        border-radius: 15px;
    }

    .level-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .level-controls .dropdown button {
        width: 100%;
        text-align: center;
    }

    .states-legend-bottom {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
}

.project-info-main,
.project-info-condensed {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.project-info-main:hover,
.project-info-condensed:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.project-details p {
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.project-details p:last-child {
    margin-bottom: 0;
}

.resources-section .card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid !important;
}

.resources-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.resources-section .card-body {
    padding: 1.5rem;
}

.resource-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.resource-icon i {
    transition: all 0.3s ease;
}

.resource-icon i:hover {
    transform: scale(1.1);
}

.resources-section .card-body h6 {
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-item {
    padding: 1rem;
    background: transparent;
    border-radius: 8px;
    border: none;
}

.resource-name {
    word-break: break-word;
    line-height: 1.3;
    text-align: center;
}

.resource-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.resource-actions .btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
}

.resource-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.embed-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.resources-section .btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.resources-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.resources-section .list-group-item {
    padding: 0.75rem 0;
    border: none;
    background: transparent;
}

.resources-section .list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.project-info-main img,
.project-info-condensed img {
    transition: all 0.3s ease;
    border: 2px solid !important;
    margin: 0 auto;
}

.project-info-main img:hover,
.project-info-condensed img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .project-info-main .col-md-3,
    .project-info-condensed .col-md-2 {
        margin-bottom: 1rem;
    }

    .resources-section .col-lg-4,
    .resources-section .col-lg-6 {
        margin-bottom: 1.5rem;
    }

    .project-info-main h2,
    .project-info-condensed h3 {
        font-size: 1.8rem !important;
        text-align: center;
    }

    .project-details {
        text-align: center;
    }

    .resource-actions {
        flex-direction: column;
        align-items: center;
    }

    .resource-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .project-info-main,
    .project-info-condensed {
        padding: 1rem !important;
    }

    .resources-section .card-body {
        padding: 1rem;
    }

    .resource-item {
        padding: 0.75rem;
    }

    .resource-actions .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

.project-info-main,
.project-info-condensed,
.resources-section .card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-info-main h2,
.project-info-condensed h3 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.alert-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 2rem;
}

#fullscreen-container .leaflet-control-container {
    position: absolute !important;
    top: 100px !important;
    z-index: 1000 !important;
}

#fullscreen-container .leaflet-control-container .leaflet-control {
    margin-top: 10px !important;
}

#fullscreen-container .leaflet-control-zoom {
    margin-top: 80px !important;
    margin-left: 10px !important;
}

#fullscreen-container .leaflet-control-fullscreen {
    margin-top: 130px !important;
    margin-left: 10px !important;
}
