body {
    margin: 0;
    padding: 0;
    background: #111111;
    font-family: "Inter", sans-serif;
    overflow: hidden;
}
#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: #111111;
}

.glass-panel {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 240px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 25px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.panel-title {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.island-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.island-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 300;
}

.count-pill {
    font-weight: 500;
    color: #fff;
    font-size: 13px;
}

.divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    margin: 20px 0;
}

.report-btn {
    width: 100%;
    padding: 12px 0;
    background: rgba(244, 63, 94, 0.1);
    color: #fda4af;
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.report-btn:hover {
    background: rgba(244, 63, 94, 0.2);
    border-color: rgba(244, 63, 94, 0.4);
    color: #fff;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

.maplibregl-popup-content {
    background: rgba(15, 15, 15, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 12px !important;
    padding: 0 !important;
    width: 280px !important;
    min-width: 280px !important;
}

.popup-header {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 35px;
    position: relative;
}

.popup-title {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popup-body {
    padding: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: #94a3b8;
}

.info-val {
    color: #f1f5f9;
    font-weight: 400;
    text-align: right;
}

.maplibregl-popup-close-button {
    color: #fff;
    top: 12px !important;
    right: 12px !important;
    width: 20px;
    height: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.maplibregl-popup-close-button:hover {
    opacity: 1;
    background: transparent;
}

.maplibregl-popup-tip {
    border-top-color: rgba(15, 15, 15, 0.95) !important;
}

#loader {
    position: absolute;
    inset: 0;
    background: #111;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s;
}

@media (max-width: 600px) {
    .glass-panel {
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        border-radius: 25px 25px 0 0 !important;
        box-sizing: border-box;
        animation: slideUpMobile 0.8s ease-out forwards;
        background: rgba(15, 15, 15, 0.85);
        padding: 20px 20px 30px 20px;
    }

    @keyframes slideUpMobile {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .panel-title {
        margin-bottom: 15px;
        text-align: center;
        font-size: 11px;
    }

    .island-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 20px;
        margin-bottom: 15px;
    }

    .island-item {
        margin-bottom: 0;
        font-size: 11px;
    }

    .divider {
        display: none;
    }

    .report-btn {
        padding: 10px 0;
        font-size: 11px;
    }
}
