html, body { margin: 0; padding: 0; height: 100%; }
#map { width: 100%; height: 100vh; }

.status {
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-family: system-ui, Arial, sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.status .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f0ad4e;
    flex: none;
}
.status.ok .dot { background: #2ecc71; }
.status.err .dot { background: #e74c3c; }
.status .details { color: #666; font-weight: normal; }

.info {
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-family: system-ui, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    max-width: 320px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.info h1 {
    font-size: 16px;
    margin: 0 0 6px;
}
.info p {
    margin: 8px 0;
}

/* Layout header with inline title and icon button */
.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.info-header h1 {
    margin: 0;
}

/* Icon button styling */
.info-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Caret rotation animation */
.info-toggle .caret {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 12px;
}

/* Hide content when collapsed */
.info.collapsed .info-content {
    display: none;
}

/* Rotate caret upside down when collapsed */
.info.collapsed .info-toggle .caret {
    transform: rotate(180deg);
}
