html,
body
{
    width:100%;
    height:100%;
    margin:0;
    padding: 0;
    overflow:hidden;
}

body
{
    background:#111;
}

#map
{
    position:fixed;
    top:56px;
    left:0;
    right:0;
    bottom:32px;
}

#map,
    .leaflet-container {
        background-color: #000000 !important;
    }

.footer
{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    height:32px;
    line-height:32px;
    text-align:center;
    z-index:99999;
    font-size:12px;
}

#mouse-coords
{
    position: fixed;
    bottom: 40px;
    right: 10px;

    background: rgba(0,0,0,0.8);
    color: #FFF;

    padding: 6px 12px;
    border-radius: 4px;

    font-size: 12px;
    z-index: 99999;
}

.custom-poi-icon
{
    background: transparent !important;
    border: none !important;
}

.custom-poi-icon i
{
    font-size: 18px !important;
    display: block !important;
    text-align: center;
    line-height: 18px;
}

.category-selected
{
    background-color: rgba(13,110,253,0.15) !important;
    border-left: 4px solid #0d6efd;
    font-weight: 600;
}

.category-selected:hover
{
    background-color: rgba(13,110,253,0.25) !important;
}

.poi-label
{
    background: transparent !important;
    border: none !important;
    pointer-events: none;
    white-space: nowrap;
}

.poi-label
{
    background: transparent !important;
    border: none !important;
    pointer-events: none;
}

.map-label
{
    color: white;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;

    text-shadow:
        0 0 2px #000,
        0 0 4px #000,
        0 0 6px #000;
}

.category-selected
{
    background-color: rgba(13,110,253,0.15) !important;
    border-left: 4px solid #0d6efd;
    font-weight: 600;
}

.category-selected:hover
{
    background-color: rgba(13,110,253,0.25) !important;
}

.grid-label
{
    background: transparent !important;
    border: none !important;
}

.grid-text
{
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;

    text-shadow:
        0 0 2px #000,
        0 0 4px #000,
        0 0 6px #000,
        0 0 8px #000;
}

.grid-text-center
{
    width: 60px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;

    text-shadow:
        0 0 2px #000,
        0 0 4px #000,
        0 0 6px #000;
}

.circle-toolbar {
    position: fixed;
    top: 70px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    border: 1px solid #444;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 99999;
    display: none; /* Oculto por padrão */
    gap: 15px;
}

.circle-toolbar button {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

.circle-toolbar button:hover {
    color: #0d6efd;
}

/* Painéis Flutuantes de Desenho */
.draw-panel {
    position: fixed;
    top: 70px;
    left: 20px;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid #444;
    padding: 15px;
    border-radius: 8px;
    z-index: 99999;
    display: none;
    width: 240px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.color-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
}

.color-btn.active {
    border-color: #FFF;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.shape-toolbar {
    position: fixed;
    top: 65px;
    right: 70px;
    background: rgba(0,0,0,0.8);
    border: 1px solid #444;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 999998;
    display: none;
    gap: 15px;
    align-items: center;
}

.shape-toolbar button {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

.shape-toolbar button:hover {
    color: #0d6efd;
}

.radius-label {
    background: rgba(0,0,0,0.8) !important;
    border: 1px solid #555 !important;
    color: #FFF;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 13px;
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 0 0 2px #000;
}

.toxic-area
{
	opacity: 1;

	filter:
		drop-shadow(0 0 10px #00ff00)
		drop-shadow(0 0 20px #00ff00)
		drop-shadow(0 0 40px #00ff00)
		drop-shadow(0 0 80px #00ff00);

	mix-blend-mode: screen;
}

@keyframes toxicPulse
{
	0%
	{
		transform: scale(0.95);
	}

	50%
	{
		transform: scale(1.10);
	}

	100%
	{
		transform: scale(0.95);
	}
}
.event-filters
{
    position:absolute;
    right:10px;
    top:65px;
    z-index:9999;

    display:flex;
    flex-direction:column;
    gap:6px;

    background:rgba(20,20,20,.85);

    padding:8px;
    border-radius:8px;
}

.event-filter
{
    cursor:pointer;

    width:36px;
    height:36px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:6px;

    transition:.2s;
}

.event-filter:hover
{
    background:rgba(255,255,255,.1);
}

.event-filter.disabled
{
    opacity:.35;
}

.event-filter .material-symbols-outlined
{
    font-size:26px;
}

@media (max-width: 767px) {
    /* Esconde os textos dos botões */
    .mobile-icon-only span {
        display: none !important;
    }
    
    /* Ajusta o container para ficar mais compacto */
    .mobile-menu-container {
        padding: 5px !important;
        border-radius: 50% !important;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.navbar-logo
{
    height: auto;
}

@media (max-width: 768px)
{
    .navbar-logo
    {
        height: 20px;
    }
}

.icon-selector
{
    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(60px,1fr));

    gap:10px;

    max-height:250px;

    overflow-y:auto;
}

.icon-item
{
    border:1px solid #dee2e6;

    border-radius:8px;

    padding:10px;

    text-align:center;

    cursor:pointer;

    transition:0.2s;
}

.icon-item:hover
{
    background:#f8f9fa;
}

.icon-item.selected
{
    border:2px solid #0d6efd;

    background:#e7f1ff;
}

.icon-item .material-symbols-outlined
{
    font-size:28px;
}

@media (max-width: 768px)
{
	#categoryMenu,
	#labelMenu
	{
		max-height: 50vh;
		overflow-y: auto;
		overflow-x: hidden;
	}
}

@media (max-width: 768px) and (max-height: 700px)
{
	#eventFilters
	{
		display: grid !important;
		grid-template-columns: repeat(2, 1fr);
		gap: 4px;
	}
}

/* Remove o arredondamento do botão do dropdown */
.dropdown-toggle {
    border-radius: 0 !important;
}

/* Remove o arredondamento do menu caso ele esteja colado ao botão */
.dropdown-menu {
    border-radius: 0 !important;
}

.icon-container
{
    max-height: 280px;
    overflow-y: auto;

    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    padding: 10px;

    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.icon-item
{
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;
    cursor: pointer;

    transition: all .15s;
}

.icon-item:hover
{
    background: rgba(255,255,255,.1);
}

.icon-item.selected
{
    background: #198754;
    color: white;
}

.icon-item .material-symbols-outlined
{
    font-size: 24px;
}

#iconTabs
{
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
}