/* static/css/dygie_extraction.css */
#model-selection-btn + .dropdown-menu {
    max-height: 300px; /* Adjust this value as needed */
    overflow-y: auto;
}
/* --- Input Area --- */
.upload-area {
    border: 2px dashed #ced4da;
    border-radius: .375rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.upload-area:hover, .upload-area.dragover {
    background-color: #e9ecef;
    border-color: #0d6efd;
}
.upload-icon {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 1rem;
}
.browse-link {
    color: #0d6efd;
    text-decoration: underline;
    font-weight: 500;
}
.preview-card {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    background-color: #fff;
    margin-bottom: 0.5rem;
}
.preview-card .file-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}
.preview-card .file-name {
    font-weight: 500;
    margin-bottom: 0;
}
.preview-card .file-size {
    font-size: 0.8rem;
}
.dropdown-item {
    cursor: pointer;
}

/* --- Output Area --- */
.results-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    border: 2px dashed #ced4da;
    border-radius: .375rem;
}

.output-textarea {
    height: 200px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    background-color: #e9ecef !important;
}

.output-iframe {
    width: 100%;
    height: 500px; /* Adjust as needed */
    border: 1px solid #dee2e6;
    border-radius: .375rem;
}

#outputTabContent, #outputTabContent .tab-pane {
    height: 100%;
}
@media (min-width: 576px) {
    .display-5.fw-bold {
        font-size: 1.8rem !important;
    }
    
    .lead.text-muted {
        font-size: 1rem !important;
    }
}