﻿/* ===== ПРОФЕССИОНАЛЬНЫЙ ФОРУМ ДЛЯ ВРАЧЕЙ ===== */
/* Медицинский стиль с акцентами на белом, синем и зелёном */

body {
    background-color: #f0f9ff; /* Светлый медицинский голубой */
    background-image: none;
    scrollbar-face-color: #3498db; /* Профессиональный синий */
    scrollbar-highlight-color: #e3f2fd;
    scrollbar-shadow-color: #3498db;
    scrollbar-3dlight-color: #bbdefb;
    scrollbar-arrow-color: #ffffff;
    scrollbar-track-color: #e3f2fd;
    scrollbar-darkshadow-color: #1c6ea4;
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #2c3e50;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

font,th,td,p { 
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    color: #2c3e50;
}

/* ---- Ссылки ---- */
a:link,a:active,a:visited { 
    color: #3498db; 
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

a:hover { 
    color: #2980b9; 
    border-bottom: 1px solid #2980b9;
    text-decoration: none;
}

hr { 
    height: 0; 
    border: none; 
    border-top: 1px solid #e3f2fd; 
    margin: 20px 0;
}

/* ---- Основные контейнеры ---- */
.bodyline { 
    background-color: #ffffff; 
    border: 2px solid #e3f2fd; 
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
}

.forumline { 
    background-color: #ffffff; 
    border: 2px solid #e3f2fd; 
    border-radius: 8px;
}

/* ---- Чередование строк ---- */
.row1 { 
    background-color: #ffffff; 
    border-bottom: 1px solid #f8f9fa;
}

.row2 { 
    background-color: #f8f9fa; 
    border-bottom: 1px solid #f8f9fa;
}

.row3 { 
    background-color: #e3f2fd; 
    border-bottom: 1px solid #f8f9fa;
}

td.rowpic {
    background-color: #e3f2fd;
    background-image: none;
    border-left: 4px solid #3498db;
}

/* ---- Заголовки таблиц ---- */
th {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(to bottom, #3498db, #2980b9);
    height: 40px;
    padding: 0 20px;
    border-radius: 6px 6px 0 0;
    border-bottom: 3px solid #1c6ea4;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
    background-image: none;
}

/* ---- Категории ---- */
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
    background-color: #e3f2fd;
    background-image: none;
    border: none;
    height: 45px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
    padding: 0 25px;
    border-radius: 6px 6px 0 0;
    border-bottom: 2px solid #3498db;
}

/* ---- Главные заголовки ---- */
.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: #3498db;
}

h2 {
    font-size: 22px;
    color: #2980b9;
    border-bottom: 2px solid #e3f2fd;
    padding-bottom: 10px;
    margin-top: 30px;
}

/* ---- Общий текст ---- */
.gen { font-size: 14px; }
.genmed { font-size: 13px; }
.gensmall { font-size: 12px; }

.gen,.genmed,.gensmall { 
    color: #34495e;
    line-height: 1.6;
}

a.gen,a.genmed,a.gensmall { 
    color: #3498db; 
    text-decoration: none;
    font-weight: 500;
}

a.gen:hover,a.genmed:hover,a.gensmall:hover { 
    color: #2980b9; 
    text-decoration: none;
}

/* ---- Главное меню ---- */
.mainmenu { 
    font-size: 14px; 
    color: #2c3e50;
    font-weight: 500;
}

a.mainmenu { 
    text-decoration: none; 
    color: #2c3e50;
}

a.mainmenu:hover { 
    text-decoration: none; 
    color: #3498db;
}

/* ---- Категории ---- */
.cattitle { 
    font-weight: 600; 
    font-size: 14px; 
    letter-spacing: 0.5px; 
    color: #2c3e50;
}

a.cattitle { 
    text-decoration: none; 
    color: #2c3e50;
}

a.cattitle:hover { 
    text-decoration: none; 
    color: #3498db;
}

/* ---- Ссылки форумов ---- */
.forumlink { 
    font-weight: 600; 
    font-size: 15px; 
    color: #2c3e50;
}

a.forumlink { 
    text-decoration: none; 
    color: #2c3e50;
}

a.forumlink:hover { 
    text-decoration: none; 
    color: #3498db;
}

/* ---- Навигация ---- */
.nav { 
    font-weight: 500; 
    font-size: 13px; 
    color: #34495e;
}

a.nav { 
    text-decoration: none; 
    color: #34495e;
}

a.nav:hover { 
    text-decoration: none; 
    color: #3498db;
}

/* ---- Заголовки тем ---- */
.topictitle { 
    font-weight: 600; 
    font-size: 15px; 
    color: #2c3e50;
}

a.topictitle:link { 
    text-decoration: none; 
    color: #2c3e50;
}

a.topictitle:visited { 
    text-decoration: none; 
    color: #7f8c8d;
}

a.topictitle:hover { 
    text-decoration: none; 
    color: #e74c3c; /* Красный для важных тем */
}

/* ---- Имена ---- */
.name { 
    font-size: 13px; 
    color: #3498db;
    font-weight: 600;
}

/* ---- Детали сообщений ---- */
.postdetails { 
    font-size: 12px; 
    color: #7f8c8d;
    font-style: italic;
}

/* ---- Текст сообщений ---- */
.postbody { 
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.7;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

a.postlink:link { 
    text-decoration: none; 
    color: #3498db;
}

a.postlink:visited { 
    text-decoration: none; 
    color: #2980b9;
}

a.postlink:hover { 
    text-decoration: none; 
    color: #e74c3c; /* Красный для важных ссылок */
}

/* ---- Блоки кода ---- */
.code {
    font-family: 'Courier New', 'Consolas', monospace; 
    font-size: 13px; 
    color: #2c3e50;
    background-color: #f8f9fa;
    border: 1px solid #e3f2fd;
    border-left: 4px solid #3498db;
    border-radius: 6px;
    padding: 12px;
    line-height: 1.5;
    margin: 10px 0;
}

/* ---- Цитаты ---- */
.quote {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif; 
    font-size: 13px; 
    color: #2c3e50; 
    line-height: 1.6;
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 6px 6px 0;
    padding: 12px 15px;
    margin: 10px 0;
    font-style: italic;
}

/* ---- Новые медицинские элементы ---- */

/* Клинические случаи */
.clinical-case {
    border-left: 5px solid #2ecc71; /* Зелёный для кейсов */
    background-color: #d5f4e6;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.clinical-case:before {
    content: "📋 Клинический случай:";
    font-weight: 700;
    color: #27ae60;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Протоколы лечения */
.treatment-protocol {
    background: linear-gradient(to right, #e3f2fd, #bbdefb);
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.treatment-protocol h4 {
    color: #2c3e50;
    border-bottom: 1px solid #3498db;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* Важные предупреждения */
.medical-alert {
    background: linear-gradient(to right, #ffeaa7, #ffecb3);
    border: 2px solid #f39c12;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #d35400;
    font-weight: 500;
}

.medical-alert:before {
    content: "⚠️ ВНИМАНИЕ: ";
    font-weight: 700;
    color: #e74c3c;
}

/* Исследования и публикации */
.research-reference {
    border: 1px solid #e3f2fd;
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    font-size: 13px;
}

.research-reference h5 {
    color: #2980b9;
    margin: 0 0 10px 0;
}

/* Лекарственные препараты */
.medication-info {
    background-color: #fffde7;
    border: 2px solid #ffe082;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    position: relative;
}

.medication-info:before {
    content: "💊";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    opacity: 0.3;
}

/* Иконки для категорий врачей */
.icon-surgeon:before {
    content: "🔪";
    margin-right: 8px;
    font-size: 18px;
}

.icon-therapist:before {
    content: "👨‍⚕️";
    margin-right: 8px;
    font-size: 18px;
}

.icon-pediatrician:before {
    content: "👶";
    margin-right: 8px;
    font-size: 18px;
}

.icon-cardiologist:before {
    content: "❤️";
    margin-right: 8px;
    font-size: 18px;
}

.icon-neurologist:before {
    content: "🧠";
    margin-right: 8px;
    font-size: 18px;
}

.icon-radiologist:before {
    content: "📷";
    margin-right: 8px;
    font-size: 18px;
}

.icon-anesthesiologist:before {
    content: "😴";
    margin-right: 8px;
    font-size: 18px;
}

/* Формы и кнопки */
input, textarea, select {
    font: normal 14px 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    color: #2c3e50;
    background-color: #ffffff;
    border: 2px solid #e3f2fd;
    border-radius: 6px;
    padding: 10px 12px;
    transition: all 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

input.button, input.mainoption, input.liteoption {
    background: linear-gradient(to bottom, #3498db, #2980b9);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input.button:hover {
    background: linear-gradient(to bottom, #2980b9, #1c6ea4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Адаптивность */
@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;
    }
    
    th {
        font-size: 13px;
        padding: 0 10px;
    }
    
    .bodyline {
        border-radius: 8px;
    }
}

/* Анимации для важных элементов */
@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(52, 152, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

.important-notice {
    animation: pulse-blue 2s infinite;
    border: 2px solid #3498db !important;
}