/* Welcome Overlay Styles */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.welcome-content {
    background: linear-gradient(135deg, #f5f9f5 0%, #e8f4f8 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-logo {
    height: 80px;
    margin-bottom: 20px;
}

.welcome-content h2 {
    color: #4caf50;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.welcome-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.welcome-instructions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.instruction-item i {
    font-size: 1.5rem;
    color: #4caf50;
    width: 30px;
    text-align: center;
}

.instruction-item span {
    font-size: 1rem;
    color: #555;
}

.get-started-button {
    background: linear-gradient(135deg, #4caf50 0%, #2196f3 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 500;
}

.get-started-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Updated Toolbar Styles */
.primary-tool {
    background-color: #4caf50;
    color: white;
    font-weight: 500;
    padding: 10px 20px;
}

.primary-tool:hover {
    background-color: #43a047;
}

.kml-upload-input {
    display: none;
}

/* Context Panel Improvements */
.context-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    text-align: center;
    padding: 40px 20px;
}

.context-placeholder i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 20px;
    opacity: 0.7;
}

.context-placeholder p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 80%;
}

.context-placeholder .instruction {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    font-weight: 500;
}

/* Project Info Styles */
.project-info {
    padding: 20px;
}

.project-title {
    font-size: 1.3rem;
    color: #4caf50;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(76, 175, 80, 0.2);
    padding-bottom: 10px;
}

.project-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-meta {
    background-color: rgba(76, 175, 80, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.project-meta-item {
    display: flex;
    margin-bottom: 10px;
}

.project-meta-label {
    font-weight: 500;
    width: 120px;
    color: #555;
}

.project-meta-value {
    flex: 1;
}

.project-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.project-action-button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #f5f5f5;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.project-action-button:hover {
    background-color: #e0e0e0;
}

.project-action-button.primary {
    background-color: #4caf50;
    color: white;
}

.project-action-button.primary:hover {
    background-color: #43a047;
}

/* Map Container Improvements */
.map-container {
    position: relative;
}

.map-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
    pointer-events: none;
    animation: fadeInUp 0.5s ease-out, fadeOut 0.5s ease-out 5s forwards;
}

.map-hint i {
    color: #4caf50;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Layer Panel Simplification */
.layer-group-header {
    padding: 15px;
    font-size: 1rem;
}

.layer-group-header h3 {
    font-size: 1.1rem;
}

.layer-subgroup-header h4 {
    font-size: 1rem;
}

.layer-item label {
    font-size: 0.9rem;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .welcome-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .instruction-item {
        padding: 10px;
    }
    
    .instruction-item i {
        font-size: 1.2rem;
    }
    
    .instruction-item span {
        font-size: 0.9rem;
    }
}
