/* Styles for buttons within the minimap coordinate container */
.minimap-coordinates button {
    background: transparent;
    border: none;
    padding: 0px;
    flex-shrink: 0;
}

/* Specific style for the copy button if needed in the future */
.copy-coordinates {
    /* Add specific styles here */
}

/* Specific style for the copy URL button if needed in the future */
.copy-map-url {
    /* Add specific styles here */
}

.minimap-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    /* width and height will be set dynamically in JS */
    z-index: 1002;
    background-color: white;
    border: 1px solid #666;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.minimap-container button{
    margin:0;
    width:auto;
    cursor: pointer;
    font-size: 12px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Styles for the coordinate display container */
.minimap-coordinates {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 4px 8px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

/* Styles for the coordinate text element */
.coordinate-text {
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 2px white, 0 0 2px white, 0 0 2px white, 0 0 2px white;
    line-height: 1;
}

/* Styles for the zoom level element */
.zoom-level {
    font-family: monospace;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 0 2px white, 0 0 2px white, 0 0 2px white, 0 0 2px white;
    line-height: 1;
}

/* Styles for the buttons container */
.minimap-buttons {
    display: flex;
    gap: 4px;
    align-items: center;
}

/* Styles for the expand/collapse button */
.minimap-expand {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 1001;
    background: white;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 5px;
    width: auto;
    box-sizing: content-box;
    display: block;
    color: black;
}

/* Styles for the next area button */
.next-area-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1003;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.next-area-button:hover {
    background: #0056b3;
}