/* Map Generator Styles */
.map .image-container {
    border: none;
    margin: 0;
    padding: 0;
}

.map-item {
    background: linear-gradient(135deg, rgba(106, 252, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 12px;
    overflow: hidden;
}

.map-item .map-preview {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.map-item .map-preview img.map-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.map-item .map-preview:hover img.map-image {
    transform: scale(1.02);
}

.map-item .map-preview .processing-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #88aacc;
}

.map-item .map-preview .processing-indicator .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(106, 252, 255, 0.3);
    border-top: 3px solid #6afcff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.map-item .map-preview .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    font-size: 3em;
    opacity: 0.5;
}

.map-item .creation-prompt {
    padding: 12px 15px;
    font-size: 0.95em;
    color: #c8d4e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.map-item .llm-prompt-section {
    padding: 15px;
    margin: 10px 15px;
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid #8b5cf6;
    border-radius: 0 8px 8px 0;
}

.map-item .llm-prompt-section .llm-prompt-label {
    font-weight: 600;
    color: #8b5cf6;
    display: block;
    margin-bottom: 8px;
}

.map-item .llm-prompt-section .llm-prompt-text {
    color: #c8d4e0;
    line-height: 1.6;
    margin: 0;
}

/* Browse view specific */
.map-item.browse-view {
    margin-bottom: 20px;
}

.map-item.browse-view .map-preview {
    max-height: 400px;
    overflow: hidden;
}

/* Single view specific */
.map-item.single-view .map-preview {
    max-height: none;
}

.map-item.single-view .map-preview img.map-image {
    max-width: 100%;
    height: auto;
}

/* Prompt input styling */
.prompt-input-wrap .input-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.85em;
    color: #88aacc;
}

.prompt-input-wrap .input-hint .tip-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}