﻿/* ===== ФОРУМ ОБ ИММУНИТЕТЕ И ЗАЩИТЕ ОРГАНИЗМА ===== */
/* Современный медицинский стиль с акцентами здоровья и защиты */

body{ 
    background: #f0f9f0 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%234CAF50" opacity="0.1"/></svg>') fixed;
    color: #2C3E50;
    font-family: "Segoe UI", "Roboto", "Arial", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: left;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}
 
div.myname {
    width: 100%; 
    height: 150px; 
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

a:link,
a:visited,
a:active{
    background: transparent;
    color: #388E3C;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

a:hover{
    background: transparent;
    color: #E64A19;
    border-bottom: 1px solid #E64A19;
}

.input-warn,
.input-green,
.input-checkbox,
input,
textarea,
select{
    background: #FFFFFF;
    border: 2px solid #C8E6C9;
    color: #2C3E50;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    font-size: 14px;
    margin: 5px;
    padding: 10px 12px;
    vertical-align: middle;
    border-radius: 6px;
    transition: all 0.2s ease;
}

select {
    margin: 0;
    padding: 8px 12px;
}

.input-checkbox {
    border: none;
    margin-right: 5px;
}

.input-warn,
.input-warn-content {
    border: 2px solid #F44336;
    background-color: #FFEBEE;
}

.input-ok,
.input-ok-content {
    border: 2px solid #4CAF50;
    background-color: #E8F5E9;
}

.input-warn-content {
    padding: 15px;
    margin: 10px;
    border-radius: 6px;
    color: #C62828;
}

.input-ok-content {
    padding: 15px;
    margin: 10px;
    border-radius: 6px;
    color: #2E7D32;
}

.input-text {
    color: #D32F2F;
    font-weight: 600;
}

input.button {
    margin: 0;
    width: auto;
    cursor: pointer;
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

input.button:hover {
    background: linear-gradient(to bottom, #388E3C, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

optgroup option {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    font-size: 14px;
    padding: 8px;
}

.codebuttons { 
    font-family: 'Segoe UI', 'Roboto', sans-serif; 
    font-size: 13px; 
    vertical-align: middle;
    margin: 5px;
    background: #F1F8E9;
    border: 1px solid #C8E6C9;
    border-radius: 4px;
    padding: 5px 10px;
}

.textarea,
.searchinput,
.button,
.gobutton {
    background: #FFFFFF;
    border: 2px solid #C8E6C9;
    color: #2C3E50;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    vertical-align: middle;
    border-radius: 6px;
}

.button {
    background: #E8F5E9;
    border-color: #4CAF50;
}

.gobutton {
    background: transparent;
    border: 0;
    color: #4CAF50;
    margin: 0;
    vertical-align: middle;
    font-weight: 600;
}

.radiobutton,
.checkbox,
.helpbox { 
    border: 0;
    vertical-align: middle;
    background: transparent;
    margin-right: 8px;
}

table th,
.borderwrap table th,
.subtitle,
.subtitlediv,
.postlinksbar { 
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    border-bottom: 3px solid #2E7D32;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600; 
    margin: 0; 
    padding: 12px 15px; 
    text-align: center;
    border-radius: 6px 6px 0 0;
}

.newslink {
    background: #E8F5E9;
    border: 2px solid #C8E6C9;
    border-radius: 8px;
    margin: 10px 0;
    padding: 15px;
}

.newslink td {
    color: #2C3E50;
    font-size: 14px;
    padding: 10px;
}

.newslink span {
    background: transparent;
    color: #388E3C;
    font-style: italic;
    font-weight: 500;
}

.newslink input {
    background: #FFFFFF;
    border: 2px solid #C8E6C9;
    color: #2C3E50;
    font-size: 14px;
    padding: 8px 12px;
    vertical-align: middle;
    border-radius: 6px;
    width: auto;
}

.newslink input.button {
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    border: none;
    color: white;
    vertical-align: middle;
}

#logostrip {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.maintitle_left,
.maintitle_right {
    display: none;
}

.popmenubutton {
    width: auto;
    white-space: nowrap;
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    border: none;
    color: white;
    font-weight: 600;
    float: right;
    text-align: center;
    margin: 0 5px;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popmenubutton:hover {
    background: linear-gradient(to bottom, #388E3C, #2E7D32);
    transform: translateY(-2px);
}

.vistasoftware img {
    display: none;
}

.topbarad {
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
    padding: 10px;
    background: #FFF3E0;
    border-radius: 6px;
    margin: 10px 0;
    border: 2px solid #FFB74D;
}

.topbarad a {
    color: #E64A19;
    font-weight: 600;
}

.copyright { 
    font-size: 13px; 
    font-family: 'Segoe UI', 'Roboto', sans-serif; 
    color: #546E7A;
    text-align: center;
    padding: 20px;
    background: #E8F5E9;
    border-top: 3px solid #4CAF50;
    margin-top: 30px;
    border-radius: 0 0 10px 10px;
}

a.copyright, a.copyright:visited, .copyright a, .copyright a:visited { 
    color: #388E3C; 
    text-decoration: none;
    font-weight: 500;
}

a.copyright:hover, a.copyright:active, .copyright a:hover, .copyright a:active { 
    color: #E64A19; 
    text-decoration: none;
    border-bottom: 1px solid #E64A19;
}

.quote, .q_table {    
    font-family: 'Segoe UI', 'Roboto', sans-serif; 
    font-size: 14px; 
    color: #2C3E50; 
    line-height: 1.6;
    background-color: #F1F8E9; 
    border-left: 4px solid #81C784;
    border-radius: 0 6px 6px 0;
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
}

.code, .php_table {
    font-family: 'Courier New', 'Consolas', monospace; 
    font-size: 13px; 
    color: #2C3E50;
    background-color: #F8F9FA; 
    border-left: 4px solid #4CAF50;
    border-radius: 0 6px 6px 0;
    padding: 15px;
    margin: 15px 0;
}

.subtitle {
    font-size: 18px; 
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    text-decoration: none; 
    font-weight: 700; 
    color: #2C3E50;
    margin: 20px 0 10px 0;
    padding-left: 35px;
    position: relative;
}

.subtitle:before {
    content: "🛡️";
    position: absolute;
    left: 0;
    font-size: 24px;
    color: #4CAF50;
}

.forumline {
    color: #2C3E50;
    background: #FFFFFF;
    border: 2px solid #E8F5E9;
    border-radius: 8px;
    padding: 15px;
}

td.row1 { 
    background-color: #FFFFFF; 
    border-bottom: 1px solid #F1F8E9;
}
td.row1_over { 
    background-color: #F8FDF8; 
}
td.row2 { 
    background-color: #F8FDF8; 
    border-bottom: 1px solid #F1F8E9;
}
td.row2_over { 
    background-color: #F1F8E9; 
}
td.row3, td.row3Right { 
    background-color: #F1F8E9; 
    border-bottom: 1px solid #E8F5E9;
}
td.row3_over { 
    background-color: #E8F5E9; 
}
td.row4 { 
    background-color: #E8F5E9; 
    border-bottom: 1px solid #C8E6C9;
}
td.spacer { 
    background-color: #4CAF50; 
    height: 5px;
}

td.rowpic {
    background-color: #E8F5E9;
    border-left: 4px solid #4CAF50;
}

th, td.th {
    color: #FFFFFF; 
    font-size: 14px; 
    font-weight: 600;
    background: linear-gradient(to bottom, #4CAF50, #388E3C); 
    height: 40px;
    padding: 0 20px;
    border-radius: 6px 6px 0 0;
    border-bottom: 3px solid #2E7D32;
}

td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom {
    background: linear-gradient(to bottom, #E8F5E9, #C8E6C9);
    height: 45px;
    color: #2C3E50;
    font-weight: 600;
    padding: 0 25px;
    border-radius: 6px 6px 0 0;
    border-bottom: 2px solid #4CAF50;
}

td.th2 {
    background-color: #F1F8E9; 
    height: 35px; 
    color: #388E3C; 
    font-weight: 600;
    padding: 0 15px;
}

td.spaceRow {
    background-color: #4CAF50; 
    height: 10px;
}

h1, h2 { 
    font-weight: 700; 
    font-size: 26px; 
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    text-decoration: none; 
    line-height: 1.3; 
    color: #2C3E50; 
    display: block;
    margin: 25px 0 15px 0;
    padding-left: 40px;
    position: relative;
}

h1:before, h2:before {
    content: "💪";
    position: absolute;
    left: 0;
    font-size: 30px;
    color: #4CAF50;
}

.gen { font-size: 14px; }
.genmed { font-size: 13px; }
.gensmall, .gensmall2 { font-size: 12px; }
.genmedred { font-size: 13px; color: #F44336; font-weight: 600;}
.gensmallred { font-size: 12px; color: #F44336; font-weight: 600;}
.gensmallgreen { font-size: 12px; color: #4CAF50; font-weight: 600;}
.gen, .genmed, .gensmall { color: #2C3E50; }
a.gen, a.genmed, a.gensmall { color: #388E3C; text-decoration: none; font-weight: 500;}
a.gen:hover, a.genmed:hover, a.gensmall:hover { color: #E64A19; text-decoration: none;}

chekbox {
    color: #F44336;
    background: #F1F8E9;
}

input.post, textarea.post, select {
    background-color: #FFFFFF;
    border: 2px solid #C8E6C9;
}

input { 
    text-indent: 2px; 
}

input.button {
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    color: #FFFFFF;
    font-size: 14px; 
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

input.mainoption {
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    font-weight: 700;
    color: white;
}

input.liteoption {
    background: linear-gradient(to bottom, #81C784, #66BB6A);
    font-weight: 500;
    color: white;
}

input.graybutton { 
    background: linear-gradient(to bottom, #E0E0E0, #BDBDBD);
    color: #2C3E50;
    font-weight: 500;
}

input.bluebutton {
    background: linear-gradient(to bottom, #2196F3, #1976D2);
    color: #FFFFFF;
    font-weight: 600;
}

input.helpline { 
    background-color: #F1F8E9; 
    border: 2px solid #C8E6C9; 
    color: #2C3E50;
    font-style: italic;
}

.postformtitle {
    font-size: 16px; 
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    text-decoration: none; 
    font-weight: 700; 
    color: #2C3E50;
    margin-bottom: 15px;
    display: block;
}

.names { 
    font-size: 15px; 
    color: #388E3C;  
    font-weight: 600; 
}

div.userstop {
    border-top: 2px solid #C8E6C9; 
    width: 100%; 
    margin-top: 15px; 
    padding-top: 15px; 
    padding-bottom: 15px;
    background: #F8FDF8;
    border-radius: 6px;
}

img {
    border: 2px solid #E8F5E9;
    border-radius: 6px;
    padding: 3px;
    background: white;
}

/* ===== СТИЛИ ДЛЯ WR-Forum Professional ===== */

/* 1) Стиль для пагинации */
.pgbutt a {
    font-family: 'Segoe UI', 'Roboto', sans-serif; 
    padding-top: 8px;
    padding-bottom: 8px;
    text-decoration: none; 
    border: 2px solid #C8E6C9; 
    background: #F8FDF8; 
    padding: 8px 15px; 
    margin: 3px;
    border-radius: 6px;
    color: #388E3C;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pgbutt a:hover {
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    color: white;
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

input.button, input.liteoption, .fakebut {
    border: none; 
    background: linear-gradient(to bottom, #4CAF50, #388E3C); 
    font-size: 14px; 
    font-weight: 600;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

input.button:hover, input.liteoption:hover, .fakebut:hover {
    background: linear-gradient(to bottom, #388E3C, #2E7D32);
    transform: translateY(-2px);
}

/* 2) QR-CODE */
#qr img {
    width: 45px;
    height: 45px;
    position: fixed;
    right: 20px;
    top: 20px;
    border: 2px solid #4CAF50;
    padding: 4px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transition: all 0.4s ease;
}

#qr img:hover {
    width: 200px;
    height: 200px;
    z-index: 1000;
    border: 3px solid #388E3C;
    border-radius: 10px;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

/* 3) Аватар гостя */
.guestavatar {
    width: 120px;
    height: 120px;
    text-align: center;
    background: linear-gradient(135deg, #81C784, #4CAF50);
    color: white;
    font-size: 52px;
    display: table-cell;
    border-radius: 50%;
    position: relative;
    vertical-align: middle;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* 4) Админское меню */
#nav8, #nav8 ul, #nav8 li {
    margin: 0;
    padding: 0;
    border: 0;
}
#nav8, #nav8 ul {
    background: #FFFFFF;
    border: 2px solid #C8E6C9;
    border-radius: 8px;
}
#nav8 {
    border-spacing: 0 0;
    position: relative;
    z-index: 50;
    width: 100%;
}
#nav8 ul {
    position: absolute;
    display: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 6px;
    min-width: 200px;
}
#nav8 td:hover ul {
    display: block;
}
#nav8 ul li {
    list-style: none;
}
#nav8 .right {
    direction: rtl;
}
#nav8 .right ul {
    right: 0;
}
#nav8 .right li {
    direction: ltr;
}
#nav8 a {
    display: block;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    color: #2C3E50;
    font-weight: 500;
    border-bottom: 1px solid #F1F8E9;
}
#nav8 ul a {
    padding: 12px 25px;
    text-align: left;
}
#nav8 td:hover, #nav8 li:hover {
    background: #E8F5E9;
}
#nav8 td {
    text-align: center;
    border-right: 1px solid #F1F8E9;
}
#nav8 td:last-child {
    border-right: none;
}

/* 5) Индикатор загрузки */
#cssbar-wrapper {
    width: 300px; 
    height: 22px; 
    position: absolute; 
    left: 50%;
}

#cssbar-border {
    border: 3px solid #4CAF50; 
    height: 100%; 
    width: 100%; 
    position: relative; 
    left: -50%; 
    top: -50%; 
    padding: 4px 3px;
    border-radius: 12px;
    background: #F1F8E9;
}

#cssbar-whitespace {
    overflow: hidden; 
    height: 100%; 
    width: 100%; 
    margin: 0 auto; 
    position: relative; 
    border-radius: 8px;
}

#cssbar-line {
    background: linear-gradient(90deg, 
        transparent, 
        #81C784, 
        #4CAF50, 
        #388E3C, 
        #4CAF50, 
        #81C784,
        transparent
    );
    position: absolute; 
    height: 100%; 
    width: 100%; 
    animation: cssbar-slide 2s linear infinite;
    border-radius: 8px;
}

@keyframes cssbar-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ ИММУНИТЕТА ===== */

/* Блок укрепления иммунной системы */
.immunity-strengthen {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.immunity-strengthen:before {
    content: "🛡️";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    opacity: 0.2;
}

/* Витаминный блок */
.vitamin-guide {
    border-left: 5px solid #FF9800;
    background: linear-gradient(to right, #FFF3E0, #FFECB3);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.vitamin-guide h4 {
    color: #EF6C00;
    margin-top: 0;
}

.vitamin-guide h4:before {
    content: "🍊 ";
    font-size: 20px;
}

/* Профилактический блок */
.prevention-box {
    background: #E3F2FD;
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.prevention-box h4 {
    color: #1976D2;
    margin-top: 0;
}

.prevention-box h4:before {
    content: "🚫 ";
    font-size: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    body {
        max-width: 100%;
        margin: 10px auto;
        padding: 0 10px;
        font-size: 13px;
    }
    
    div.myname {
        height: 100px;
        font-size: 20px;
        padding: 0 15px;
        text-align: center;
    }
    
    h1, h2, .subtitle {
        font-size: 22px;
        padding-left: 35px;
    }
    
    h1:before, h2:before, .subtitle:before {
        font-size: 26px;
    }
    
    #qr img {
        width: 35px;
        height: 35px;
        right: 15px;
        top: 15px;
    }
    
    #qr img:hover {
        width: 180px;
        height: 180px;
    }
    
    .immunity-strengthen,
    .vitamin-guide,
    .prevention-box {
        padding: 15px;
        margin: 15px 0;
    }
}