﻿/* ===== ФОРУМ ОБ ИММУНИТЕТЕ И ЗДОРОВЬЕ ===== */
/* Стиль с акцентами на защите, силе и здоровье организма */

body {
    max-width: 1200px;
    background-color: #f0f9f0; /* Очень светлый защитный зелёный */
    scrollbar-face-color: #4CAF50; /* Зелёный иммунитет */
    scrollbar-highlight-color: #c8e6c9;
    scrollbar-shadow-color: #81c784;
    scrollbar-3dlight-color: #a5d6a7;
    scrollbar-arrow-color: #2E7D32;
    scrollbar-track-color: #e8f5e9;
    scrollbar-darkshadow-color: #388E3C;
    background-image: none;
    margin: 20px auto;
    color: #2C3E50; /* Профессиональный тёмно-синий */
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    padding: 0 15px;
}

a:link {
    text-decoration: none;
    color: #388E3C; /* Зелёный иммунитет */
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

a:active {
    text-decoration: none;
    color: #2E7D32; /* Тёмно-зелёный */
}

a:visited {
    text-decoration: none;
    color: #43A047; /* Свежий зелёный */
}

a:hover {
    text-decoration: none;
    color: #E64A19; /* Оранжевый-красный для акцента */
    border-bottom: 1px solid #E64A19;
}

.bodyline {
    background-color: #ffffff;
    border: 2px solid #C8E6C9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.forumline {
    background-color: #ffffff;
    border: 2px solid #C8E6C9;
    border-radius: 8px;
}

.row1,
.row2,
.row3 {
    background-color: #ffffff;
    border-bottom: 1px solid #F1F8E9;
}

.row1 {
    background-color: #ffffff;
}

.row2 {
    background-color: #F8FDF8; /* Очень светлый защитный */
}

.row3 {
    background-color: #F1F8E9; /* Светло-зелёный */
}

.inputrow {
    background-color: #E8F5E9;
    border-radius: 6px;
}

td.rowpic {
    background-image: none;
    background-color: #E8F5E9;
    border-left: 4px solid #4CAF50;
    background-repeat: repeat-y;
}

th {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(to bottom, #4CAF50, #388E3C); /* Градиент зелёный */
    background-image: none;
    height: 40px;
    padding: 0 20px;
    border-radius: 6px 6px 0 0;
    border-bottom: 3px solid #2E7D32;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

td.cat,
td.catHead,
td.catBottom {
    background-image: none;
    background-color: #E8F5E9;
    height: 45px;
    color: #2C3E50;
    font-weight: 600;
    font-size: 15px;
    padding: 0 25px;
    border-radius: 6px 6px 0 0;
    border-bottom: 2px solid #4CAF50;
}

.maintitle,
h1,
h2 {
    font-weight: 700;
    font-size: 26px;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    text-decoration: none;
    line-height: 130%;
    color: #2C3E50;
    margin: 25px 0 15px 0;
    padding-left: 40px;
    position: relative;
}

.maintitle:before,
h1:before,
h2:before {
    content: "🛡️";
    position: absolute;
    left: 0;
    font-size: 30px;
    color: #4CAF50;
}

h2 {
    font-size: 22px;
    color: #388E3C;
    border-bottom: 2px solid #E8F5E9;
    padding-bottom: 10px;
    margin-top: 30px;
}

a.forumlink,
a.forumlink:visited {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 600;
}

a.forumlink:hover {
    text-decoration: none;
    color: #E64A19; /* Акцентный оранжево-красный */
}

.postbody {
    font-size: 14px;
    color: #2C3E50;
    line-height: 1.7;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 6px;
    border-left: 3px solid #4CAF50;
}

a.postlink:link {
    text-decoration: none;
    color: #388E3C;
    font-weight: 500;
}

a.postlink:visited {
    text-decoration: none;
    color: #43A047;
}

a.postlink:hover {
    text-decoration: none;
    color: #E64A19; /* Акцентный цвет */
}

.code {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 13px;
    color: #2C3E50;
    background-color: #F1F8E9;
    border: 1px solid #C8E6C9;
    border-left: 4px solid #4CAF50;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
}

.quote {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: 13px;
    color: #2C3E50;
    line-height: 1.6;
    background-color: #F8FDF8;
    border: 1px solid #C8E6C9;
    border-left: 4px solid #81C784;
    border-radius: 0 6px 6px 0;
    padding: 12px 15px;
    margin: 10px 0;
    font-style: italic;
}

input,
textarea,
select {
    color: #2C3E50;
    font: normal 14px 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    background-color: #ffffff;
    border: 2px solid #C8E6C9;
    border-radius: 6px;
    padding: 10px 12px;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    outline: none;
}

input.button {
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    color: #ffffff;
    font-size: 14px;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input.button:hover {
    background: linear-gradient(to bottom, #388E3C, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

td.categorybar {
    background-image: none;
    background-color: #E8F5E9;
    background-repeat: repeat-x;
    border-radius: 6px;
    padding: 10px;
}

/* ===== НОВЫЕ ЭЛЕМЕНТЫ ДЛЯ ФОРУМА ОБ ИММУНИТЕТЕ ===== */

/* Блок укрепления иммунитета */
.immunity-boost {
    border-left: 5px solid #4CAF50; /* Зелёный для укрепления */
    background-color: #E8F5E9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.immunity-boost:before {
    content: "💪";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    opacity: 0.2;
}

/* Витамины и добавки */
.vitamins-info {
    border: 2px solid #FF9800; /* Оранжевый для витаминов */
    background: linear-gradient(to right, #FFF3E0, #FFECB3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.vitamins-info h4 {
    color: #EF6C00;
    margin-top: 0;
}

.vitamins-info h4:before {
    content: "🍊 ";
    font-size: 20px;
}

/* Профилактика заболеваний */
.prevention-tips {
    border-left: 5px solid #2196F3; /* Синий для профилактики */
    background-color: #E3F2FD;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.prevention-tips h4 {
    color: #1976D2;
    margin-top: 0;
}

.prevention-tips h4:before {
    content: "🛡️ ";
    font-size: 20px;
}

/* Здоровое питание */
.nutrition-guide {
    background-color: #FFFDE7; /* Светло-жёлтый */
    border: 2px solid #FFEB3B;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.nutrition-guide h4 {
    color: #F57F17;
    border-bottom: 1px solid #FFEB3B;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* Лабораторные показатели */
.lab-results {
    background-color: #F8F9FA;
    border: 2px solid #9C27B0; /* Фиолетовый для анализов */
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.lab-results h4 {
    color: #7B1FA2;
    margin-top: 0;
}

.lab-results h4:before {
    content: "🔬 ";
    font-size: 20px;
}

/* Иконки для категорий иммунитета */
.icon-vitamins:before {
    content: "💊";
    margin-right: 8px;
    font-size: 18px;
}

.icon-nutrition:before {
    content: "🥦";
    margin-right: 8px;
    font-size: 18px;
}

.icon-sport:before {
    content: "🏃";
    margin-right: 8px;
    font-size: 18px;
}

.icon-stress:before {
    content: "😌";
    margin-right: 8px;
    font-size: 18px;
}

.icon-allergy:before {
    content: "🤧";
    margin-right: 8px;
    font-size: 18px;
}

.icon-autoimmune:before {
    content: "🔄";
    margin-right: 8px;
    font-size: 18px;
}

.icon-children:before {
    content: "👶";
    margin-right: 8px;
    font-size: 18px;
}

.icon-elderly:before {
    content: "👴";
    margin-right: 8px;
    font-size: 18px;
}

/* Индикаторы иммунного статуса */
.strong-immunity {
    background-color: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    border-radius: 20px;
    padding: 5px 15px;
    color: #2E7D32;
    font-weight: 600;
    display: inline-block;
    margin: 0 5px;
}

.weak-immunity {
    background-color: rgba(244, 67, 54, 0.1);
    border: 2px solid #F44336;
    border-radius: 20px;
    padding: 5px 15px;
    color: #D32F2F;
    font-weight: 600;
    display: inline-block;
    margin: 0 5px;
}

.recovering {
    background-color: rgba(255, 152, 0, 0.1);
    border: 2px solid #FF9800;
    border-radius: 20px;
    padding: 5px 15px;
    color: #EF6C00;
    font-weight: 600;
    display: inline-block;
    margin: 0 5px;
}

/* Важные предупреждения */
.immunity-warning {
    background: linear-gradient(to right, #FFEBEE, #FFCDD2);
    border: 2px solid #F44336;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #C62828;
    font-weight: 500;
}

.immunity-warning:before {
    content: "⚠️ ВНИМАНИЕ: ";
    font-weight: 700;
    color: #D32F2F;
}

/* Футер с медицинским предупреждением */
.copyright {
    background-color: #E8F5E9;
    padding: 20px;
    text-align: center;
    color: #2C3E50;
    font-size: 13px;
    border-top: 3px solid #4CAF50;
    margin-top: 30px;
    border-radius: 0 0 10px 10px;
}

.copyright:before {
    content: "💚 Сильный иммунитет — основа здоровья! Консультируйтесь с врачом.";
    display: block;
    font-weight: 600;
    color: #388E3C;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Анимации для иммунной системы */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.immunity-highlight {
    animation: pulse-green 2s infinite;
    border: 2px solid #4CAF50 !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    body {
        max-width: 100%;
        margin: 10px auto;
        padding: 0 10px;
        font-size: 13px;
    }
    
    .maintitle, h1, h2 {
        font-size: 22px;
        padding-left: 35px;
    }
    
    .maintitle:before, h1:before, h2:before {
        font-size: 26px;
    }
    
    .bodyline {
        border-radius: 8px;
    }
    
    th {
        font-size: 13px;
        padding: 0 10px;
    }
    
    .immunity-boost,
    .vitamins-info,
    .prevention-tips,
    .nutrition-guide,
    .lab-results {
        padding: 15px;
        margin: 15px 0;
    }
}