/* You can add your custom CSS here */
html, body {
    font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
}
button:focus, button:focus-visible {
    outline: none;
}

.marker {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 150, 255, 0.2);
    touch-action: none; /* Recommended for interact.js */
}

.marker.selected {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
    z-index: 10;
}

.marker .rotation-handle {
    display: none;
    position: absolute;
    top: -25px;
    left: calc(50% - 10px);
    width: 20px;
    height: 20px;
    background-color: #007bff;
    border-radius: 50%;
    cursor: alias;
}

.marker.selected .rotation-handle {
    display: block;
}

.saved-marker {
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.saved-marker:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Scale slider styling */
.slider {
    background: #4b5563;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
} 