/* ════════════════════════════════════════════════════════════════════════════════
   КОЛІБРІ-ФОРУМ | Hummingbird Forum Theme
   Уникальный современний CSS стиль з яркими кольорами колібрі та інтерактивними елементами
   ════════════════════════════════════════════════════════════════════════════════ */

/* ═══ CSS VARIABLES ═══ */
:root {
  --primary-emerald: #1B6B4F;      /* Глибокий зелений як крила колібрі */
  --accent-coral: #FF6B4A;         /* Коралово-оранжевий як грудь колібрі */
  --light-gold: #FFD96F;           /* Золотий акцент */
  --soft-cream: #FFF8F0;           /* Теплий кремовий фон */
  --dark-text: #1A1A1A;            /* Темний текст */
  --border-emerald: #0F4A34;       /* Темний зелений для бордерів */
  --hover-coral: #FF5230;          /* Темніший коралі */
  --row-light: #FAFBF7;            /* Легкий рядок */
  --row-accent: #F3F8F5;           /* Акцентований рядок */
  --shadow-soft: rgba(27, 107, 79, 0.15);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══ ОСНОВНІ СТИЛІ BODY ═══ */
body {
  background-color: var(--soft-cream);
  background-image: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231B6B4F;stop-opacity:0.03" /><stop offset="100%" style="stop-color:%23FF6B4A;stop-opacity:0.02" /></linearGradient><filter id="blur"><feGaussianBlur in="SourceGraphic" stdDeviation="1.5" /></filter></defs><rect width="1200" height="800" fill="url(%23grad1)"/><g filter="url(%23blur)"><circle cx="150" cy="120" r="80" fill="%23FFD96F" opacity="0.08"/><circle cx="950" cy="650" r="120" fill="%231B6B4F" opacity="0.06"/><circle cx="600" cy="400" r="150" fill="%23FF6B4A" opacity="0.04"/></g><path d="M 100,350 Q 300,200 500,300 T 900,350" stroke="%231B6B4F" stroke-width="2" fill="none" opacity="0.08"/><path d="M 200,450 Q 400,350 600,450 T 1000,450" stroke="%23FF6B4A" stroke-width="1.5" fill="none" opacity="0.06"/><g opacity="0.05"><path d="M 50,200 L 120,180 L 90,250 Z" fill="%231B6B4F"/><path d="M 1100,500 L 1150,480 L 1130,550 Z" fill="%23FF6B4A"/><path d="M 600,100 L 650,90 L 640,150 Z" fill="%23FFD96F"/></g></svg>');
  background-attachment: fixed;
  background-size: cover;
  font-family: 'Segoe UI', 'Trebuchet MS', Verdana, sans-serif;
  font-size: 14px;
  color: var(--dark-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ═══ СКРОЛБАР СТИЛІЗАЦІЯ ═══ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--row-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-emerald), var(--accent-coral));
  border-radius: 5px;
  transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--hover-coral), var(--primary-emerald));
}

/* ═══ ТИПОГРАФІЯ ═══ */
font { 
  font-family: 'Segoe UI', Verdana, sans-serif;
}

p, td { 
  font-family: 'Segoe UI', Verdana, sans-serif;
  font-size: 14px;
  color: var(--dark-text);
}

h1, h2 { 
  font-family: 'Georgia', 'Palatino', serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
  color: var(--primary-emerald);
  letter-spacing: -0.5px;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 28px;
  background: linear-gradient(135deg, var(--primary-emerald), var(--accent-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

hr { 
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-coral), transparent);
  margin: 1em 0;
}

/* ═══ ПОСИЛАННЯ ═══ */
a { 
  color: var(--primary-emerald);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

a:hover { 
  color: var(--accent-coral);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:visited { 
  color: #5A8B79;
}

a:active { 
  color: var(--hover-coral);
}

/* ═══ ОСНОВНІ КЛАСИ ─體ТА БОРДЕРИ ═══ */
.bodyline {
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--primary-emerald);
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--shadow-soft);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.bodyline:hover {
  box-shadow: 0 12px 48px rgba(27, 107, 79, 0.2);
  border-color: var(--accent-coral);
}

.bodyline2 {
  background: linear-gradient(135deg, var(--primary-emerald), #0F4A34);
  border: 2px solid var(--border-emerald);
  border-radius: 10px;
  color: white;
}

.forumTrackr_63 {
  background: linear-gradient(135deg, var(--primary-emerald) 0%, #0F4A34 100%);
  border: 2px solid var(--border-emerald);
  border-radius: 8px;
  box-shadow: 0 4px 15px var(--shadow-soft);
}

/* ═══ ТАБЛИЦІ TA КЛІТИНКИ ═══ */
TD {
  font-family: 'Segoe UI', Verdana, sans-serif;
  font-size: 14px;
  padding: 8px 12px;
  transition: var(--transition-smooth);
}

TH, TD.th {
  font-family: 'Segoe UI', Verdana, sans-serif;
  background: linear-gradient(135deg, var(--primary-emerald), #0F4A34);
  color: white;
  height: 40px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  border-radius: 6px 6px 0 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ═══ РЯДКИ ТАБЛИЦІ ═══ */
.block_sequence1 {
  background-color: var(--row-light);
  border-bottom: 1px solid #E8E8E8;
  transition: var(--transition-smooth);
}

.block_sequence1:hover {
  background-color: rgba(255, 107, 74, 0.08);
  border-left: 4px solid var(--accent-coral);
  padding-left: 8px;
}

.row_zone2 {
  background-color: var(--row-accent);
  border-bottom: 1px solid #E0E8E4;
}

.row_zone2:hover {
  background-color: rgba(27, 107, 79, 0.06);
  border-left: 4px solid var(--primary-emerald);
  padding-left: 8px;
}

.block_sequence3 {
  background-color: rgba(255, 217, 111, 0.05);
  border-bottom: 1px solid #F0E8D8;
}

.block_sequence3:hover {
  background-color: rgba(255, 217, 111, 0.12);
}

.poll {
  background-color: var(--row-light);
  border-radius: 6px;
  padding: 10px;
  border-left: 4px solid var(--light-gold);
}

/* ═══ КАТЕГОРІЇ ТАБЛИЦІ ═══ */
th {
  font-family: 'Georgia', serif;
  background: linear-gradient(135deg, var(--primary-emerald), #0F4A34);
  color: white;
  height: 40px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 4px 10px var(--shadow-soft);
  letter-spacing: 0.5px;
}

TD.empty_row {
  color: white;
  background-color: transparent;
  border: none;
  padding: 12px;
}

/* ═══ ROWPIC СТИЛІ ═══ */
td.rowpic {
  background-color: rgba(27, 107, 79, 0.08);
  background-image: linear-gradient(90deg, transparent, rgba(255, 107, 74, 0.05), transparent);
  border-right: 3px solid var(--primary-emerald);
  padding-right: 8px;
}

tr.rowpic2, td.rowpic2 {
  background-color: rgba(27, 107, 79, 0.06);
  border-radius: 6px;
}

/* ═══ КАТЕГОРІЇ ─ CAT СТИЛІ ═══ */
td.cat, td.categ_top_section, td.catSides, td.catLeftSidePanel, td.right_cat_area, td.catBottom {
  background: linear-gradient(135deg, rgba(27, 107, 79, 0.95), rgba(15, 74, 52, 0.95));
  color: white;
  height: 35px;
  border: 2px solid var(--border-emerald);
  border-radius: 8px;
  padding: 8px 15px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 12px var(--shadow-soft);
  transition: var(--transition-smooth);
}

td.cat:hover, td.categ_top_section:hover, td.catSides:hover {
  background: linear-gradient(135deg, rgba(27, 107, 79, 1), rgba(15, 74, 52, 1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 16px rgba(27, 107, 79, 0.3);
}

TD.categ_top_section { border-radius: 8px 8px 0 0; }
TD.catSides { border-radius: 0; }
TD.catBottom { border-radius: 0 0 8px 8px; }

/* ═══ TH СТИЛІ ─ РІЗНІ ПОЗИЦІЇ ═══ */
TH.header_row, TH.thSides, TH.thBottom, TH.tableLeftCornerCell, TH.listRightCornerCell {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

TH.header_row {
  font-weight: 700;
  font-size: 13px;
  height: 35px;
  border-radius: 6px 6px 0 0;
}

TH.thSides { border-radius: 0; }
TH.table_captop { border-top: 2px solid var(--border-emerald); }
TH.left_table_header { border-left: 2px solid var(--border-emerald); }
TH.table_rightnode { border-right: 2px solid var(--border-emerald); }
TH.thBottom { border-radius: 0 0 6px 6px; }
TH.tableLeftCornerCell { border-radius: 6px 0 0 0; }
TH.listRightCornerCell { border-radius: 0 6px 0 0; }

/* ═══ ЗАГОЛОВКИ ─ MAINTITLE / SUBTITLE ═══ */
.maintitle {
  font-family: 'Georgia', 'Palatino', serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary-emerald), var(--accent-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  letter-spacing: -0.5px;
  animation: slideDown 0.6s ease-out;
}

.subtitle {
  font-family: 'Segoe UI', Verdana, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  color: var(--primary-emerald);
  opacity: 0.8;
  margin-top: 0.25em;
}

/* ═══ ТЕКСТОВІ КЛАСИ ═══ */
.gen {
  font-size: 13px;
  color: var(--dark-text);
  transition: var(--transition-smooth);
}

a.gen {
  color: var(--primary-emerald);
  font-weight: 500;
}

a.gen:visited { color: #5A8B79; }
a.gen:active { color: var(--hover-coral); }
a.gen:hover { color: var(--accent-coral); text-decoration: underline; }

/* GENMED ─ СЕРЕДНІЙ РОЗМІР ТЕКСТУ */
.textRegular {
  font-size: 13px;
  color: var(--dark-text);
}

a.textRegular { color: var(--primary-emerald); text-decoration: none; font-weight: 500; }
a.textRegular:visited { color: #5A8B79; }
a.textRegular:active { color: var(--hover-coral); text-decoration: underline; }
a.textRegular:hover { color: var(--accent-coral); text-decoration: underline; }

/* GENSMALL ─ МАЛИЙ РОЗМІР ТЕКСТУ */
.gensmallAlt {
  font-size: 12px;
  color: #666;
}

a.gensmallAlt { color: var(--primary-emerald); text-decoration: none; }
a.gensmallAlt:visited { color: #5A8B79; }
a.gensmallAlt:active { color: var(--hover-coral); text-decoration: underline; }
a.gensmallAlt:hover { color: var(--accent-coral); text-decoration: underline; }

/* SPACEROW ─ ПРОБІЛ РЯДКІВ */
.empty_row {
  font-size: 13px;
  color: var(--dark-text);
}

a.empty_row { color: var(--primary-emerald); text-decoration: none; }
a.empty_row:visited { color: #5A8B79; }
a.empty_row:active { color: var(--hover-coral); text-decoration: underline; }
a.empty_row:hover { color: var(--accent-coral); text-decoration: underline; }

/* ═══ МЕНЮ СТИЛІ ═══ */
.nav_menu_main {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--dark-text);
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

a.nav_menu_main, a.nav_menu_main:visited {
  text-decoration: none;
  color: var(--primary-emerald);
}

a.nav_menu_main:hover {
  color: white;
  background-color: var(--accent-coral);
  border-radius: 6px;
}

a.nav_menu_main:active {
  color: var(--hover-coral);
}

/* CATTITLE ─ НАЗВА КАТЕГОРІЇ */
.cat_title_cell {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--primary-emerald);
  letter-spacing: 0.5px;
}

a.cat_title_cell { color: var(--primary-emerald); text-decoration: none; }
a.cat_title_cell:visited { color: #5A8B79; }
a.cat_title_cell:active { color: var(--hover-coral); text-decoration: underline; }
a.cat_title_cell:hover { color: var(--accent-coral); text-decoration: underline; text-decoration-thickness: 2px; }

/* FORUMLINK ─ ПОСИЛАННЯ ФОРУМУ */
.catHyperlink {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--primary-emerald);
}

a.catHyperlink { color: var(--primary-emerald); text-decoration: none; }
a.catHyperlink:visited { color: #5A8B79; }
a.catHyperlink:active { color: var(--hover-coral); text-decoration: underline; }
a.catHyperlink:hover { color: var(--accent-coral); text-decoration: underline; }

/* NAV ─ НАВІГАЦІЯ */
.navItems {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--dark-text);
}

a.navItems { color: var(--primary-emerald); text-decoration: none; }
a.navItems:visited { color: #5A8B79; }
a.navItems:active { color: var(--hover-coral); text-decoration: underline; }
a.navItems:hover { color: var(--accent-coral); text-decoration: underline; }

/* NAME ─ ІМЯ КОРИСТУВАЧА */
.user_caption {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-emerald);
}

a.user_caption { color: var(--primary-emerald); text-decoration: none; }
a.user_caption:visited { color: #5A8B79; }
a.user_caption:active { color: var(--hover-coral); text-decoration: underline; }
a.user_caption:hover { color: var(--accent-coral); text-decoration: underline; }

/* POSTDETAILS ─ ДЕТАЛІ ПОСТУ */
.post_infofield {
  font-size: 12px;
  color: #777;
}

a.post_infofield { color: var(--primary-emerald); text-decoration: none; }
a.post_infofield:visited { color: #5A8B79; }
a.post_infofield:active { color: var(--hover-coral); text-decoration: underline; }
a.post_infofield:hover { color: var(--accent-coral); text-decoration: underline; }

/* POSTBODY ─ ТЕКСТ ПОСТУ */
.post_bodycluster {
  font-size: 14px;
  line-height: 1.7;
  color: var(--dark-text);
  padding: 12px;
  border-radius: 6px;
}

a.postlink { color: var(--primary-emerald); text-decoration: none; font-weight: 500; }
a.postlink:visited { color: #5A8B79; }
a.postlink:active { color: var(--hover-coral); text-decoration: underline; }
a.postlink:hover { color: var(--accent-coral); text-decoration: underline; }

/* ═══ КОД TA ЦИТАТИ ═══ */
.codeView {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #006600;
  background-color: rgba(27, 107, 79, 0.08);
  border: 2px solid var(--primary-emerald);
  border-radius: 6px;
  padding: 10px 12px;
  line-height: 1.5;
  overflow-x: auto;
  transition: var(--transition-smooth);
}

.codeView:hover {
  border-color: var(--accent-coral);
  background-color: rgba(255, 107, 74, 0.05);
}

.quotation {
  font-family: 'Segoe UI', Verdana, sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  background-color: rgba(255, 217, 111, 0.1);
  border: 2px solid var(--light-gold);
  border-left: 5px solid var(--light-gold);
  border-radius: 6px;
  padding: 12px 15px;
  margin: 8px 0;
  transition: var(--transition-smooth);
  font-style: italic;
}

.quotation:hover {
  border-left-width: 6px;
  background-color: rgba(255, 217, 111, 0.15);
}

/* ═══ ФОРМИ TA ІНПУТИ ═══ */
input, textarea, select {
  color: var(--dark-text);
  font-family: 'Segoe UI', Verdana, sans-serif;
  font-size: 13px;
  font-weight: 400;
  border: 2px solid #DDD;
  border-radius: 6px;
  padding: 8px 10px;
  transition: var(--transition-smooth);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-emerald);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 107, 79, 0.1);
  background-color: white;
}

input.post, textarea.post, select {
  background-color: #FAFBF7;
}

input {
  text-indent: 2px;
}

/* BUTTONS ═════════════════════════════════════════════════════════════════ */
input.control_button, input.mainActionBtn, input.liteoption, .fakebut {
  background: linear-gradient(135deg, var(--primary-emerald), #0F4A34);
  color: white;
  border: 2px solid var(--border-emerald);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 12px var(--shadow-soft);
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

input.control_button:hover, input.mainActionBtn:hover, input.liteoption:hover, .fakebut:hover {
  background: linear-gradient(135deg, var(--accent-coral), #FF5230);
  border-color: var(--accent-coral);
  box-shadow: 0 6px 16px rgba(255, 107, 74, 0.3);
  transform: translateY(-2px);
}

input.control_button:active, input.mainActionBtn:active, input.liteoption:active, .fakebut:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px var(--shadow-soft);
}

input.mainActionBtn {
  font-weight: 700;
}

input.liteoption {
  font-weight: 500;
  opacity: 0.9;
}

/* FORM ═════════════════════════════════════════════════════════════════ */
form {
  display: inline;
  margin: 4px;
  padding: 0;
  border: 0;
}

/* ═══ COPYRIGHT ─ АВТОРСЬКІ ПРАВА ═══ */
.copyright {
  font-family: 'Segoe UI', Verdana, sans-serif;
  color: #888;
  font-size: 11px;
  letter-spacing: -0.5px;
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #DDD;
}

a.copyright { color: #888; text-decoration: none; }
a.copyright:hover { color: var(--primary-emerald); text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════════════════
   WR-FORUM PROFESSIONAL v2.2+ СТИЛІ
   ════════════════════════════════════════════════════════════════════════════════ */

/* PAGINATION BUTTONS ─ КНОПКИ СТОРІНОК */
.pagerButton a {
  font-family: 'Segoe UI', Verdana, sans-serif;
  padding: 6px 12px;
  text-decoration: none;
  border: 2px solid var(--primary-emerald);
  background: linear-gradient(135deg, rgba(27, 107, 79, 0.9), rgba(15, 74, 52, 0.9));
  color: white;
  margin: 4px 2px;
  border-radius: 8px;
  display: inline-block;
  transition: var(--transition-smooth);
  font-weight: 600;
  box-shadow: 0 3px 8px var(--shadow-soft);
}

.pagerButton a:hover {
  background: linear-gradient(135deg, var(--accent-coral), #FF5230);
  border-color: var(--accent-coral);
  color: white;
  box-shadow: 0 5px 12px rgba(255, 107, 74, 0.3);
  transform: translateY(-2px);
}

.pagerButton a:visited {
  color: white;
}

/* QR-CODE */
#qr img {
  width: 35px;
  height: 35px;
  position: fixed;
  right: 15px;
  top: 15px;
  border: 3px solid var(--primary-emerald);
  padding: 3px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-soft);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 99;
}

#qr img:hover {
  width: 180px;
  height: 180px;
  z-index: 1000;
  border-color: var(--accent-coral);
  box-shadow: 0 8px 24px rgba(27, 107, 79, 0.3);
}

/* GUEST AVATAR ─ АВАТАР ГОСТЯ */
.guestavatar {
  width: 120px;
  height: 120px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 217, 111, 0.95), rgba(255, 180, 100, 0.95));
  color: white;
  font-size: 50px;
  font-weight: 700;
  display: table-cell;
  border-radius: 12px;
  position: relative;
  vertical-align: middle;
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.2);
  border: 2px solid var(--light-gold);
  transition: var(--transition-smooth);
}

.guestavatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 107, 74, 0.3);
}

/* ADMIN NAVIGATION MENU ─ МЕНЮ НАВІГАЦІЇ АДМІНА */
#navItems8, #navItems8 ul, #navItems8 li {
  margin: 0;
  padding: 0;
  border: 0;
}

#navItems8, #navItems8 ul {
  background: linear-gradient(135deg, var(--primary-emerald), #0F4A34);
  border-radius: 8px;
}

#navItems8 {
  border-spacing: 0;
  position: relative;
  z-index: 50;
  width: 100%;
  box-shadow: 0 4px 12px var(--shadow-soft);
}

#navItems8 ul {
  position: absolute;
  display: none;
  background: rgba(27, 107, 79, 0.95);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

#navItems8 td:hover ul {
  display: block;
  animation: slideDown 0.3s ease-out;
}

#navItems8 ul li {
  list-style: none;
}

#navItems8 .right {
  direction: rtl;
}

#navItems8 .right ul {
  right: 0;
}

#navItems8 .right li {
  direction: ltr;
}

#navItems8 a {
  display: block;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: var(--transition-smooth);
}

#navItems8 ul a {
  padding: 10px 20px;
  text-align: left;
  border-left: 3px solid transparent;
}

#navItems8 td:hover, #navItems8 li:hover {
  background: rgba(255, 107, 74, 0.9);
}

#navItems8 ul a:hover {
  background: rgba(255, 107, 74, 0.8);
  border-left-color: white;
}

#navItems8 td {
  text-align: center;
}

/* PROGRESS BAR ─ БАР ЗАВАНТАЖЕННЯ */
#cssbar-wrapper {
  width: 300px;
  height: 22px;
  position: absolute;
  left: 50%;
}

#cssbar-border {
  border: 3px solid var(--primary-emerald);
  height: 100%;
  width: 100%;
  position: relative;
  left: -50%;
  top: -50%;
  padding: 4px;
  border-radius: 6px;
  background: white;
  box-shadow: 0 4px 12px var(--shadow-soft);
}

#cssbar-whitespace {
  overflow: hidden;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(27, 107, 79, 0.05), rgba(255, 107, 74, 0.05));
}

#cssbar-line {
  background: linear-gradient(90deg, var(--primary-emerald), var(--accent-coral));
  position: absolute;
  height: 100%;
  width: 100%;
  animation: cssbar-slide 3s steps(30) infinite;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@keyframes cssbar-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

@-webkit-keyframes cssbar-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ═══ АНІМАЦІЇ ═══ */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ═══ ПОЗИЦІЙНІ КЛАСИ ═══ */
.hidden { display: none !important; }
.visible { display: block !important; }
.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }

/* ═══ УТИЛІТИ ═══ */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}