
/* Custom styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#3dViewer, #mapViewer {
    min-height: 500px;
}

/* Custom marker styles */
.borehole-marker .marker-container {
    position: relative;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
}

.borehole-marker .marker-pin {
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    background: #3c5dff;
    transform: rotate(-45deg);
    box-shadow: 0 0 0 2px white, 0 2px 4px rgba(0,0,0,0.2);
    position: absolute;
    left: 0;
    top: 0;
}

.borehole-marker .marker-depth {
    position: absolute;
    top: -5px;
    left: -5px;
    transform: rotate(45deg);
    background: white;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.marker-action-btn {
    @apply text-white py-1 px-2 rounded text-xs flex items-center justify-center;
    transition: all 0.2s;
    min-width: 70px;
}

.marker-action-btn i {
    width: 12px;
    height: 12px;
    margin-right: 4px;
}

/* 3D viewer improvements */
canvas {
    display: block;
    outline: none;
}
.borehole-item {
    transition: all 0.2s ease;
}

.borehole-item:hover {
    transform: translateX(2px);
    background-color: #f0f4ff !important;
}

.borehole-item.active {
    border-left: 4px solid #4f46e5;
    background-color: #eef2ff !important;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 3px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .flex-col.lg\:flex-row {
        flex-direction: column;
    }
    .w-full.lg\:w-1\/4, .w-full.lg\:w-2\/4 {
        width: 100%;
    }
    #3dViewer, #mapViewer {
        height: 50vh;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}