.map-container {
    position: relative;
    width: 100%;
    height: calc(100dvh - 56px);
}

.tweet-form-overlay {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom) + 1rem);
    left: 0;
    right: 0;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    max-width: 960px;
    margin: 0 auto;
}

.tweet-form-overlay .icon-select {
    width: 2.5rem;
    flex: 0 0 auto;
}

.bubble-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 0.8rem;
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.bubble-marker span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bubble-marker::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}

.map-view-controls {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.map-view-controls .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

#tweet-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#specified-coords {
    font-size: 0.8rem;
}

.popup-delete-btn {
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
    padding: 0 0.4rem;
    line-height: 1;
    cursor: pointer;
}

.popup-delete-btn:hover {
    background-color: #c82333;
}

.popup-text {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1;
}

/* Leaflet popup styling for tweet snippets */
.leaflet-popup-content-wrapper {
    padding: 0.2rem 0.4rem;
    border-radius: 0.4rem;
}

.leaflet-popup-content {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
}

.leaflet-popup-tip-container {
    margin-top: 0;
}

.info-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1050;
}

.info-panel.show {
    transform: translateY(0);
}

.info-panel .info-body {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 1rem 1rem 0 0;
}

