#map {
    width: 100%;
    height: calc(100vh - 64px);
}

.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    width: 380px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    z-index: 50;
}

/* Left Dashboard Panel Styles */
#left-dashboard-panel {
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 40;
}

#dashboard-toggle-btn {
    left: 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 45;
}

#dashboard-toggle-btn.open {
    left: 380px;
}

/* Scrollbar for directory list */
#directory-list::-webkit-scrollbar {
    width: 6px;
}

#directory-list::-webkit-scrollbar-track {
    background: transparent;
}

#directory-list::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}

.plot-card-active {
    border-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.05);
}

/* Loading spinner */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #10b981;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Progress bar */
.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}