﻿/* ===== МОДНЫЙ ФОРУМ Web 2.0 В РОЗОВЫХ ТОНАХ ===== */
/* Стиль для форума о моде, красоте и стиле */

/* ---- Фон страницы (шелковый градиент) ---- */
BODY {
    FONT-SIZE: 14px;
    PADDING-RIGHT: 0px;
    PADDING-LEFT: 0px;
    SCROLLBAR-FACE-COLOR: #ffcce6;
    BACKGROUND: linear-gradient(135deg, #fff0f5 0%, #ffe6f2 50%, #ffccdd 100%);
    PADDING-BOTTOM: 0px;
    MARGIN: 15px;
    FONT: 13px 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
    SCROLLBAR-SHADOW-COLOR: #ffb3d9;
    COLOR: #5a3a5a;
    SCROLLBAR-3DLIGHT-COLOR: #ffb3d9;
    SCROLLBAR-ARROW-COLOR: #ff66b3;
    PADDING-TOP: 0px;
    SCROLLBAR-TRACK-COLOR: #ffe6f2;
    SCROLLBAR-DARKSHADOW-COLOR: #ff99cc;
    line-height: 1.6;
    background-attachment: fixed;
}

/* ---- Современная типография ---- */
FONT, TH, TD { 
    FONT: 14px 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; 
    COLOR: #663366;
}
P { 
    FONT: 14px 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #5a4a5a;
}
.gensmall { 
    FONT-SIZE: 12px; 
    color: #996699;
    font-style: italic;
}
TD.genmed, .genmed { 
    FONT-SIZE: 13px;
    font-weight: 500;
}
.explaintitle { 
    FONT-WEIGHT: bold; 
    FONT-SIZE: 13px; 
    COLOR: #ff3399;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
}

/* ---- Ссылки (как аксессуары) ---- */
A:link, A:active, A:visited, A.postlink { 
    COLOR: #cc0066;
    TEXT-DECORATION: none;
    font-weight: 600;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}
A:hover { 
    COLOR: #ff3399;
    TEXT-DECORATION: none;
    border-bottom: 2px solid #ff3399;
    text-shadow: 0 0 5px rgba(255,51,153,0.3);
}

/* ---- Заголовки тем (главные тренды) ---- */
.topictitle { 
    FONT-WEIGHT: bold; 
    FONT-SIZE: 15px; 
    COLOR: #b3006b;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.5px;
}
A.topictitle:link, A.topictitle:visited { 
    COLOR: #b3006b;
    text-decoration: none;
}
A.topictitle:hover { 
    COLOR: #ff0066;
    text-shadow: 0 0 8px rgba(255,0,102,0.3);
}
.name { 
    FONT-WEIGHT: bold; 
    FONT-SIZE: 13px; 
    COLOR: #993366;
}

/* ---- Разделители (декор) ---- */
HR { 
    BORDER: none; 
    HEIGHT: 3px; 
    BACKGROUND: linear-gradient(90deg, 
        transparent, 
        #ff99cc, 
        #ff66b3, 
        #ff99cc, 
        transparent
    );
    MARGIN: 25px 0;
    border-radius: 3px;
}

/* ---- Стили для таблиц и категорий (подиум) ---- */
/* Шапки категорий - глянцевые розовые панели */
TD.cat, TD.catHead, TD.catSides, TD.catLeft, TD.catRight, TD.catBottom {
    FONT-WEIGHT: bold;
    BACKGROUND: linear-gradient(to bottom, #ff66b3 0%, #ff3399 50%, #ff0080 100%);
    COLOR: white;
    TEXT-INDENT: 12px;
    LETTER-SPACING: 1px;
    HEIGHT: 38px;
    font-size: 14px;
    border: none;
    border-radius: 12px 12px 0 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 
        0 4px 8px rgba(255,0,128,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    border-bottom: 3px solid #ff0066;
}

/* ---- Чередование строк (глянцевые полосы) ---- */
.row1 { 
    BACKGROUND: linear-gradient(to bottom, #ffffff, #fff5fa);
    border-bottom: 1px solid #ffebf5;
}
.row2 { 
    BACKGROUND: linear-gradient(to bottom, #fffafc, #fff0f5);
    border-bottom: 1px solid #ffebf5;
}
.row3 { 
    BACKGROUND: linear-gradient(to bottom, #fff5f9, #ffeef5);
    border-bottom: 1px solid #ffebf5;
}
.helpline { 
    BACKGROUND: #fff0f7;
    padding: 8px;
    border-radius: 8px;
    border-left: 4px solid #ff99cc;
    font-style: italic;
}
TD.spacerow { 
    BACKGROUND: transparent; 
    height: 12px; 
}
TD.rowpic { 
    BACKGROUND: #fff5fb;
    border-left: 4px solid #ff66b3;
}

/* ---- Заголовки колонок таблиц (блёстки) ---- */
TH {
    PADDING: 12px;
    FONT-WEIGHT: bold;
    FONT-SIZE: 13px;
    BACKGROUND: linear-gradient(to bottom, #ff99cc, #ff66b3);
    COLOR: white;
    WHITE-SPACE: nowrap;
    HEIGHT: 34px;
    TEXT-ALIGN: center;
    border: none;
    border-radius: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 
        0 3px 6px rgba(255,102,179,0.3),
        inset 0 1px 0 rgba(255,255,255,0.4);
    margin: 5px;
}

/* ---- Основные контейнеры (глянцевые блоки) ---- */
.bodyline {
    BORDER: 1px solid #ffccdd;
    BACKGROUND: linear-gradient(to bottom, #ffffff, #fffafc);
    border-radius: 15px;
    box-shadow: 
        0 8px 25px rgba(255,102,179,0.15),
        inset 0 1px 0 rgba(255,255,255,0.8);
    padding: 2px;
    margin: 10px auto;
    max-width: 1200px;
}
.forumline {
    BORDER: 2px solid #ffd9e6;
    BACKGROUND: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ---- Главные заголовки (шик) ---- */
.maintitle, H1 {
    FONT: bold 28px/130% 'Segoe UI Light', 'Helvetica Neue Light', Arial, sans-serif;
    COLOR: #ff3399;
    TEXT-DECORATION: none;
    text-shadow: 
        0 2px 4px rgba(255,51,153,0.2),
        0 1px 0 rgba(255,255,255,0.8);
    letter-spacing: 1px;
    margin: 15px 0;
}
H2, .subtitle {
    FONT: bold 22px/150% 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    COLOR: #cc6699;
    TEXT-DECORATION: none;
    border-bottom: 3px dotted #ff99cc;
    padding-bottom: 8px;
    margin-top: 20px;
}

/* ---- Навигация и тело сообщения ---- */
.nav { 
    FONT-WEIGHT: bold; 
    FONT-SIZE: 13px; 
    COLOR: #cc6699;
    font-family: 'Segoe UI', sans-serif;
}
.postbody { 
    FONT-SIZE: 14px; 
    LINE-HEIGHT: 1.7; 
    COLOR: #664455;
    padding: 15px;
}
.postdetails { 
    FONT-SIZE: 12px; 
    COLOR: #996699; 
    font-style: italic;
    border-top: 2px dotted #ffccdd;
    padding-top: 8px;
    margin-top: 10px;
}

/* ---- БЛОКИ ЦИТАТ и КОДА (стильные вставки) ---- */
/* Общий стиль рамки для спец. блоков */
.code_table, .php_table, .q_table, .quote_table {
    BORDER: 2px solid #ffccdd !important;
    WIDTH: 98% !important;
    FONT-FAMILY: inherit;
    BACKGROUND: linear-gradient(to bottom, #fffafc, #fff5f9) !important;
    border-radius: 12px;
    margin: 18px 0;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(255,204,221,0.3),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border-style: solid !important;
}
/* Стиль текста внутри ячеек этих блоков */
.code_td, .php_td, .q_td, .quote_td {
    FONT-SIZE: 13px !important;
    COLOR: #775577 !important;
    FONT-FAMILY: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    padding: 15px !important;
    line-height: 1.6;
    background: transparent !important;
}

/* Уточненные стили для разных типов блоков */
.quote, .quote_table, .quote_td {
    border-left: 6px solid #ff99cc !important;
    background: linear-gradient(to right, #fffafc, #fff5f9) !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-style: italic;
    color: #886688 !important;
}
.code, .php_table, .code_table, .code_td, .php_td {
    border-left: 6px solid #ff66b3 !important;
    background: linear-gradient(to right, #fffafc, #fff0f7) !important;
    font-weight: bold;
}
.q_table, .q_td {
    border-left: 6px solid #ff3399 !important;
    background: linear-gradient(to right, #fffafc, #ffebf5) !important;
}

.errorline { 
    BORDER: 2px solid #ff3333 !important; 
    BACKGROUND: linear-gradient(to bottom, #ffe6e6, #ffcccc) !important; 
    color: #cc0000;
    border-radius: 10px;
}

/* ---- Формы и элементы ввода (глянцевые поля) ---- */
FORM { DISPLAY: inline; }
INPUT, SELECT {
    FONT: 13px 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    padding: 8px 12px;
    border: 2px solid #ffccdd;
    border-radius: 10px;
    background: linear-gradient(to bottom, #ffffff, #fffafc);
    color: #773366;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
INPUT.post, TEXTAREA.post {
    BORDER: 2px solid #ffb3d9;
    BACKGROUND: linear-gradient(to bottom, #ffffff, #fffafc);
    padding: 12px;
    FONT: 13px 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    border-radius: 12px;
    color: #663366;
    box-shadow: 
        inset 0 2px 6px rgba(0,0,0,0.05),
        0 1px 0 rgba(255,255,255,0.8);
}
INPUT.button, INPUT.liteoption, .fakebut, INPUT.catbutton, INPUT.mainoption {
    BORDER: none;
    BACKGROUND: linear-gradient(to bottom, #ff66b3, #ff3399, #ff0066);
    FONT-SIZE: 14px;
    FONT-WEIGHT: bold;
    COLOR: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 
        0 4px 8px rgba(255,51,153,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}
INPUT.button:hover, INPUT.liteoption:hover {
    BACKGROUND: linear-gradient(to bottom, #ff3399, #ff0066, #cc0066);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(255,0,102,0.5),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ---- Дополнительные стили ---- */
A.but, A.but:visited, A.but:hover {
    COLOR: white;
    TEXT-DECORATION: none;
    background: linear-gradient(to bottom, #ff99cc, #ff66b3);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(255,102,179,0.3);
}
.topbkg { 
    BACKGROUND: linear-gradient(90deg, #ff3399, #ff66b3, #ff3399);
    height: 45px;
    border-bottom: 3px solid #ff0066;
    border-radius: 10px 10px 0 0;
}
.topnav {
    BORDER-TOP: 3px solid #ff0066;
    BORDER-BOTTOM: 3px solid #ff0066;
    FONT-SIZE: 13px;
    BACKGROUND: linear-gradient(to bottom, #ff99cc, #ff66b3);
    COLOR: white;
    HEIGHT: 32px;
    padding: 6px 0;
    font-family: 'Segoe UI', sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    border-radius: 0 0 8px 8px;
}
.admin { COLOR: #ff9900; } /* Оранжевый для админов */
A.admin, A.admin:visited { COLOR: #ff9900; }
A.admin:hover { COLOR: #ffcc00; text-shadow: 0 0 10px #ff9900; }
.mod { COLOR: #33cc99; } /* Бирюзовый для модераторов */
A.mod, A.mod:visited { COLOR: #33cc99; }
A.mod:hover { COLOR: #66ffcc; text-shadow: 0 0 10px #33cc99; }
IMG { 
    BORDER: 3px solid white;
    border-radius: 10px;
    padding: 3px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.copyright {
    FONT-SIZE: 12px;
    COLOR: #996699;
    FONT-FAMILY: 'Segoe UI', sans-serif;
    TEXT-ALIGN: center;
    padding: 20px;
    background: linear-gradient(to bottom, #fff5f9, #ffeef5);
    border-top: 3px solid #ffccdd;
    margin-top: 30px;
    border-radius: 0 0 15px 15px;
}
A.copyright { COLOR: #ff66b3; }
A.copyright:hover { COLOR: #ff3399; }

/* ===== СТИЛИ ДЛЯ WR-Forum Professional ===== */

/* 1) Стиль для ссылок-пагинации (кристаллические кнопки) */
.pgbutt a {
    font-family: 'Segoe UI', sans-serif;
    padding: 8px 15px;
    text-decoration: none;
    border: none;
    background: linear-gradient(to bottom, #ffccdd, #ffb3d9);
    color: #cc3366;
    margin: 4px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    min-width: 35px;
    text-align: center;
    box-shadow: 
        0 3px 6px rgba(255,179,217,0.4),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}
.pgbutt a:hover {
    background: linear-gradient(to bottom, #ff66b3, #ff3399);
    color: white;
    transform: translateY(-3px);
    box-shadow: 
        0 5px 10px rgba(255,51,153,0.5),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* 2) QR-CODE в стиле модного аксессуара */
#qr img {
    width: 45px; height: 45px;
    position: fixed; right: 20px; top: 20px;
    border: 3px solid #ff66b3;
    padding: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 4px 15px rgba(255,102,179,0.5),
        0 0 0 2px white;
    transition: all 0.4s ease;
}
#qr img:hover { 
    width: 200px; height: 200px; 
    z-index: 1000;
    border: 4px solid #ff3399;
    border-radius: 15px;
    transform: scale(1.1);
    box-shadow: 
        0 10px 30px rgba(255,51,153,0.6),
        0 0 0 3px white;
}

/* 3) Аватар-заглушка для гостя (розовый кристалл) */
.guestavatar {
    width: 110px; height: 110px;
    text-align: center;
    background: radial-gradient(circle at 30% 30%, #ff99cc, #ff66b3, #ff3399);
    color: white;
    font-size: 52px;
    font-weight: bold;
    display: table-cell;
    border-radius: 50%;
    position: relative;
    vertical-align: middle;
    border: 4px solid white;
    box-shadow: 
        inset 0 0 15px rgba(255,255,255,0.5),
        0 6px 20px rgba(255,51,153,0.4);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 4) Навигационное меню в админке (розовая лента) */
#nav8, #nav8 ul, #nav8 li { margin: 0; padding: 0; border: 0; }
#nav8, #nav8 ul { 
    background: linear-gradient(to bottom, #ff99cc, #ff66b3);
    border: 2px solid #ff3399;
    border-radius: 12px;
}
#nav8 { width: 100%; }
#nav8 ul { 
    position: absolute; 
    display: none; 
    box-shadow: 0 8px 25px rgba(255,51,153,0.4);
    border-radius: 10px;
    min-width: 200px;
    border: 2px solid #ff3399;
}
#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 25px;
    text-decoration: none;
    color: white;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
#nav8 ul a { padding: 12px 30px; text-align: left; }
#nav8 td:hover, #nav8 li:hover { 
    background: linear-gradient(to right, #ff3399, #ff0066); 
}
#nav8 td { 
    text-align: center; 
    padding: 0; 
    border-right: 1px solid rgba(255,255,255,0.3);
}
#nav8 td:last-child { border-right: none; }

/* 5) Стиль для блока загрузки (бегущая розовая полоса) */
#cssbar-wrapper { width: 320px; height: 26px; position: absolute; left: 50%; }
#cssbar-border {
    border: 3px solid #ff66b3;
    height: 100%; width: 100%; position: relative; left: -50%; top: -50%;
    padding: 5px;
    border-radius: 50px;
    background: linear-gradient(to bottom, #fff5f9, #ffe6f2);
    box-shadow: 
        inset 0 2px 8px rgba(255,102,179,0.3),
        0 3px 10px rgba(255,102,179,0.3);
}
#cssbar-whitespace { 
    overflow: hidden; 
    height: 100%; 
    width: 100%; 
    margin: 0 auto; 
    position: relative; 
    border-radius: 50px;
}
#cssbar-line {
    background: linear-gradient(90deg, 
        transparent, 
        #ff99cc, 
        #ff66b3, 
        #ff3399, 
        #ff66b3, 
        #ff99cc,
        transparent
    );
    position: absolute; 
    height: 100%; 
    width: 100%;
    animation: cssbar-slide 1.2s linear infinite;
    border-radius: 50px;
}
@keyframes cssbar-slide { 
    0% { transform: translateX(-100%); } 
    100% { transform: translateX(100%); } 
}