/* Prediction Status Styles */
.error-container {
    background-color: #fff5f5;
    border-left: 5px solid #f56565;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

.error-icon {
    font-size: 20px;
    margin-bottom: 8px;
}

.error-message {
    font-weight: 500;
}

.warning-container {
    background-color: #fffbea;
    border-left: 5px solid #ecc94b;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

.warning-icon {
    font-size: 20px;
    margin-bottom: 8px;
}

.warning-message {
    font-weight: 500;
}

/* Prediction Results Styles */
.results-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.results-container h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.results-container h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.styled-table {
    border-collapse: collapse;
    margin: 25px auto;
    font-size: 14px;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.styled-table thead tr {
    background-color: #e0e0e0;
    color: #2c3e50;
    text-align: center;
}

.styled-table th {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.styled-table td {
    padding: 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    text-align: center;
}

.styled-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.styled-table tbody tr:hover {
    background-color: #f0f0f0;
}

/* Batch Prediction Results Styles */
.summary-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.stat-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 4px;
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
}

.table-wrapper {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.dataset-preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: white;
    table-layout: fixed;
}

.dataset-preview-table th {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    background-color: #e0e0e0;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    text-align: center;
    width: auto;
}

.dataset-preview-table td {
    padding: 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    text-align: center;
    width: auto;
}

.dataset-preview-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.dataset-preview-table tr:hover {
    background-color: #f0f0f0;
}

.download-hint {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    margin-top: 10px;
    font-size: 12px;
}

/* CSV Format Info Styles */
.csv-format-info {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin: 0 0 15px 0;
}

.csv-format-info h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 16px;
}

.format-description {
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
}

.csv-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.column-item {
    background-color: white;
    border-radius: 6px;
    padding: 10px;
    flex: 1 1 200px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.column-item:hover {
    transform: translateY(-2px);
}

.column-item.required {
    border-left: 3px solid #3498db;
}

.column-item.optional {
    border-left: 3px solid #27ae60;
}

.column-name {
    font-family: monospace;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
    font-size: 14px;
}

.column-desc {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.3;
}

/* File Preview Styles */
.file-info {
    text-align: center;
    margin: 20px 0;
}

/* Animation for status indicators */
@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

@keyframes pulse-scale {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
