/* Predictive Model Styles */
.predict-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    /* Sky blue tint */
}

.predict-form {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.predict-select {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
}

.predict-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.predict-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.predict-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Results Section */
.predict-results {
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease;
}

.accuracy-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-name {
    width: 150px;
    font-size: 0.9rem;
    color: #cbd5e1;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-bar-container {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.feature-bar {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #22d3ee);
    border-radius: 5px;
    width: 0;
    transition: width 1s ease-out;
}

.feature-val {
    width: 40px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.loading-spinner {
    display: none;
    color: #0ea5e9;
    font-size: 1.5rem;
    margin-left: 10px;
}