/* Asset Management Styles */
.asset-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.asset-tabs .tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-size: 14px;
}

.asset-tabs .tab-btn.active {
    border-bottom-color: #2E8B57;
    color: #2E8B57;
    font-weight: bold;
}

.asset-tab {
    padding: 20px 0;
}

.asset-examples-container {
    margin-top: 20px;
}

.asset-example {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.asset-example h4 {
    color: #2E8B57;
    margin-top: 0;
    margin-bottom: 10px;
}

.asset-example .asset-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
}

.asset-example .asset-content {
    background: white;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #2E8B57;
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.4;
}

.asset-example .asset-tags {
    margin-top: 10px;
}

.asset-tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.asset-example .asset-notes {
    margin-top: 10px;
    font-style: italic;
    color: #666;
    background: #fff3cd;
    padding: 8px;
    border-radius: 4px;
}

.loading-assets {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-assets {
    text-align: center;
    padding: 40px;
    color: #999;
    background: #f8f9fa;
    border-radius: 8px;
}


/* File Upload Specific Styles */
.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #2E8B57;
    background: #f0f8f4;
}

.file-upload-area.dragover {
    border-color: #2E8B57;
    background: #e8f5e8;
}

input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #2E8B57;
}

.analysis-content {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    white-space: pre-wrap;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
}

.analysis-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.analysis-actions .btn {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.file-preview {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.file-preview h5 {
    color: #2E8B57;
    margin: 0 0 10px 0;
}

.file-info {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.upload-progress {
    width: 100%;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2E8B57, #20B2AA);
    width: 0;
    transition: width 0.3s;
}

.error-message {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
}

.success-message {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .analysis-actions {
        flex-direction: column;
    }
    
    .analysis-actions .btn {
        max-width: none;
    }
}

