        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body,
        html {
            width: 100%;
            height: 100%;
            font-family: Arial, sans-serif;
            overflow: hidden;
        }

        /* BARRA DE MENÚ */
        .top-menu {
            width: 100%;
            height: 40px;
            background: #333;
            color: #fff;
            display: flex;
            align-items: center;
            padding: 0 10px;
        }

        .menu-item {
            position: relative;
            margin-right: 20px;
            cursor: pointer;
        }

        .menu-item:hover .dropdown {
            display: block;
        }

        .menu-item>span {
            line-height: 40px;
        }

        .dropdown {
            display: none;
            position: absolute;
            background: #f8f8f8;
            color: #333;
            top: 40px;
            left: 0;
            min-width: 150px;
            border: 1px solid #ccc;
            z-index: 9999;
        }

        .dropdown a {
            display: block;
            padding: 8px 12px;
            text-decoration: none;
            color: #333;
        }

        .dropdown a:hover {
            background: #ddd;
        }

        /* MAPA COMPLETO */
        #map {
            width: 100%;
            height: calc(100% - 40px);
            position: relative;
        }

        .leaflet-control-layers {
            font-size: 14px;
        }

        /* MINI MAPA */
        .mini-map-container {
            position: absolute;
            bottom: 10px;
            right: 10px;
            width: 250px;
            height: 250px;
            border: 2px solid black;
            z-index: 1000;
            background: #fff;
        }

        /* MODALES */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: none;
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: #fff;
            padding: 20px;
            width: 600px;
            max-height: 80vh;
            overflow-y: auto;
            border-radius: 5px;
            position: relative;
        }

        .close-modal {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            background: #ccc;
            border: none;
            padding: 5px 10px;
            border-radius: 3px;
        }

        .close-modal:hover {
            background: #aaa;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
            font-size: 14px;
        }

        table,
        th,
        td {
            border: 1px solid #666;
            padding: 6px;
            text-align: center;
        }

        th {
            background: #eee;
        }

        .modal-section {
            margin-bottom: 20px;
        }

        .modal-section h3 {
            margin-bottom: 10px;
        }

        button {
            cursor: pointer;
        }

        .map-status {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 30px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            font-size: 14px;
            text-align: center;
            line-height: 30px;
            font-family: Arial, sans-serif;
            z-index: 1000;
        }

        @media print {
            .mini-map-container {
                display: block !important;
                position: absolute;
                top: 10px;
                right: 10px;
                width: 300px;
                height: 300px;
                z-index: 5000;
            }

            #orientationImage {
                display: block !important;
            }

            #colorTableModal {
                display: block !important;
                position: static;
                width: 100%;
                max-height: none;
                border: none;
                box-shadow: none;
                background: #fff;
                margin: 10px 0;
            }
        }

        #orientationImage {
            position: absolute;
            bottom: 10px;
            left: 10px;
            z-index: 1100;
        }

        #sidePanel {
            position: absolute;
            top: 40px;
            left: 0;
            z-index: 9999;
            background: rgba(255, 255, 255, 0.95);
            padding: 10px;
            border-right: 2px solid #ccc;
            transition: transform 0.3s ease;
            width: 300px;
        }

        #togglePanel {
            background: #444;
            color: #fff;
            border: none;
            padding: 6px 10px;
            cursor: pointer;
            margin-bottom: 10px;
            width: 100%;
        }

        #predioList table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
        }

        #predioList th,
        #predioList td {
            border: 1px solid #ccc;
            padding: 4px;
            text-align: left;
        }

        .toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #323232;
            color: #fff;
            padding: 12px 20px;
            border-radius: 4px;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.4s ease-in-out;
            z-index: 99999;
        }

        .toast.show {
            opacity: 1;
        }
        
        /* Modal Background Overlay for Login Modal */
#loginModal .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

/* Modal Content for Login Modal */
#loginModal .modal-content {
    background: #fff;
    padding: 30px;
    width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 10px; /* Rounded corners */
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    animation: modalSlideUp 0.5s ease-out; /* Animation */
}

/* Close Modal Button for Login Modal */
#loginModal .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    background-color: #e53935;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

#loginModal .close-modal:hover {
    background-color: #d32f2f;
}

/* Modal Title for Login Modal */
#loginModal .modal-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
#detalleModal .modal-content {
  width: 95vw !important;
  max-width: none !important;
  height: 90vh !important;
  max-height: none !important;
}
/* Form Styling for Login Modal */
#loginModal .modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input Fields for Login Modal */
#loginModal .modal-content input[type="email"],
#loginModal .modal-content input[type="password"] {
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

#loginModal .modal-content input[type="email"]:focus,
#loginModal .modal-content input[type="password"]:focus {
    border-color: #4285f4; /* Focus color */
}

/* Buttons for Login Modal */
#loginModal button {
    padding: 12px 18px;
    background-color: #4285f4;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#loginModal button:hover {
    background-color: #357ae8;
}

/* Google Sign-In Button for Login Modal */
#loginModal #googleSignIn {
    background-color: #4285F4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px;
    font-size: 16px;
    color: white;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

#loginModal #googleSignIn:hover {
    background-color: #357ae8;
}

#loginModal #googleSignIn svg {
    width: 20px;
    height: 20px;
}

/* Modal Fade-in Effect for Login Modal */
@keyframes modalSlideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.hide-point-labels .leaflet-tooltip.leaflet-tooltip-top {
  display: none !important;
}
