.page_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ebebeb;
}


body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: #f4f4f4;
}


table {
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    table-layout: auto;
    width: auto;
    max-width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 2px 20px;
    font-size: var(--fs3);
    text-align: center;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

strong {
    font-style: italic;
}


.details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.details p {
    margin: 10px 0;
    line-height: 1.6;
}

.editable-field {
    margin: 10px 0;
}

.btn-edit {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 0 5px;
    vertical-align: middle;
}

.btn-edit:hover {
    opacity: 0.7;
}

.edit-container {
    margin: 10px 0;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.edit-container textarea,
.edit-container select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.edit-actions {
    margin-top: 10px;
}

.btn-save,
.btn-cancel {
    padding: 6px 12px;
    margin-right: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-save {
    background: #28a745;
    color: white;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.actions {
    margin: 30px 0;
}

.actions button {
    margin-right: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-process {
    background: #007bff;
    color: white;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-back {
    background: #6c757d;
    color: white;
}











.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
}

.btn-secondary {
    margin-left: 10px;
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

button[type="submit"] {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Progress bar styles */
.progress-bar-container {
    width: 100%;
    height: 25px;
    background: #f0f0f0;
    border-radius: 12px;
    margin: 15px 0;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: 0;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

#progressSection {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #ddd;
}

#currentFile {
    margin: 10px 0;
    font-style: italic;
    color: #666;
}

#fileResults ul {
    list-style: none;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

#fileResults li {
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 3px;
    font-family: monospace;
    font-size: 14px;
}

#fileResults li.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

#fileResults li.failed {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}









/* Process Data */

.template-controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.template-btn {
    padding: 8px 16px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.template-btn:hover {
    background: #e0e0e0;
    border-color: #999;
}

.feature-matrix-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.feature-matrix {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-matrix th {
    background: #4a90e2;
    color: white;
    padding: 10px;
    font-weight: normal;
    text-align: left;
    position: sticky;
    top: 0;
}

.feature-matrix .axis-header {
    text-align: center;
    width: 60px;
}

.category-cell {
    background: #f5f5f5;
    font-weight: bold;
    padding: 8px;
    vertical-align: top;
    border-right: 2px solid #ddd;
}

.feature-name {
    padding: 8px;
    border-right: 2px solid #ddd;
}

.checkbox-cell {
    text-align: center;
    padding: 8px;
    background: white;
    transition: background 0.2s;
}

.checkbox-cell:hover:not(.disabled) {
    background: #f0f8ff;
}

.checkbox-cell.disabled {
    background: #f5f5f5;
    color: #999;
}

.tooltip-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 5px;
    background: #999;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    cursor: help;
}

.correlation-section {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.correlation-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.corr-option {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.corr-option:hover {
    background: #f0f8ff;
}

.additional-settings {
    margin-top: 20px;
}

.setting-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}