body { overflow-y: auto !important; background-color: #0f1117; color: #e5e7eb; }
.text-subtle { color: #8b92a5; }

.ai-container { margin: 0 auto; padding: 12px 25px 30px 25px; }

/* Зона Drag & Drop */
.upload-zone {
    background-color: #111827;
    border: 2px dashed #2a3441;
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: #86ab2c;
    background-color: rgba(134, 171, 44, 0.05);
}
.upload-icon { font-size: 48px; color: #86ab2c; margin-bottom: 15px; }

#fileInput { display: none; }

/* Блок информации и видео */
.info-card { background-color: #0b0d12; border: 1px solid #1f2933; border-radius: 12px; overflow: hidden; margin-top: 30px; }

/* Прогресс бар */
.progress-box { background-color: #111827; border: 1px solid #1f2933; border-radius: 12px; padding: 30px; margin-top: 30px; display: none; }
.progress { height: 6px; background-color: #1f2933; border-radius: 3px; overflow: hidden; margin-top: 15px; }
.progress-bar { background-color: #86ab2c; transition: width 0.4s ease; }

/* Блок результатов */
.result-box { display: none; margin-top: 30px; animation: fadeIn 0.5s ease; }
.result-image-wrap { background-color: #111827; border: 1px solid #1f2933; border-radius: 12px; padding: 10px; margin-bottom: 20px; text-align: center; }
.result-image-wrap img { max-width: 100%; max-height: 400px; border-radius: 8px; object-fit: contain; }
.result-text-wrap { background-color: #111827; border: 1px solid #1f2933; border-radius: 12px; padding: 25px; font-size: 14.5px; line-height: 1.7; color: #d1d5db; }

/* Оформление ответа ИИ (он приходит в HTML) */
.result-box { display: none; margin-top: 30px; animation: fadeIn 0.5s ease; }

.result-image-wrap { 
    background-color: #111827; 
    border: 1px solid #1f2933; 
    border-radius: 12px; 
    padding: 15px; 
    text-align: center; 
}
.result-image-wrap img { 
    max-width: 100%; 
    max-height: 500px; /* Увеличили высоту для ПК, чтобы график читался лучше */
    border-radius: 8px; 
    object-fit: contain; 
}

/* Стилизация текста от ИИ в стиле Руководства пользователя */
.result-text-wrap { 
    background-color: #0b0d12; 
    border-left: 3px solid #86ab2c; /* Та самая красивая боковая линия */
    padding: 25px 30px; 
    border-radius: 0 12px 12px 0; 
    font-size: 14.5px; 
    line-height: 1.7; 
    color: #d1d5db; 
}

/* Оформление внутреннего HTML, который пришлет GPT */
.result-text-wrap strong, .result-text-wrap b { color: #ffffff; font-size: 15px; }
.result-text-wrap ul { padding-left: 20px; margin-bottom: 15px; }
.result-text-wrap li { margin-bottom: 8px; }
.result-text-wrap p { margin-bottom: 15px; }
.result-text-wrap p:last-child { margin-bottom: 0; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }