/**
 * Ortodonti Sağlık Forumu - Theme Stylesheet
 * Responsive, Accessible, RTL Supported Modern Health Design
 */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-dark: #075985;
  --accent: #10b981;
  --accent-light: #d1fae5;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --dark: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-full: 0px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 6px 16px rgba(0,0,0,0.08);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: #ebf0f5;
  color: #1e293b;
  line-height: 1.55;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* RTL Support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .ms-auto { margin-right: auto !important; margin-left: 0 !important; }
[dir="rtl"] .me-auto { margin-left: auto !important; margin-right: 0 !important; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--primary-hover);
}

/* Header & Navbar */
.orto-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.orto-navbar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.orto-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.orto-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}
.orto-logo .logo-ask {
  color: var(--primary);
}

.orto-search-bar {
  flex: 1;
  max-width: 460px;
  position: relative;
}
.orto-search-bar input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}
[dir="rtl"] .orto-search-bar input {
  padding: 10px 42px 10px 16px;
}
.orto-search-bar input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}
.orto-search-bar .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  font-size: 17px;
  pointer-events: none;
}
[dir="rtl"] .orto-search-bar .search-icon {
  left: auto;
  right: 15px;
}

.orto-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Switcher */
.lang-dropdown {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-800);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 190px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px 0;
  display: none;
  z-index: 9999;
}
.lang-menu-header {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-400);
  border-bottom: 1px solid var(--slate-100);
  letter-spacing: 0.5px;
}
[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}
.lang-dropdown.open .lang-menu {
  display: block !important;
}
.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  color: var(--slate-800);
  font-size: 13px;
  font-weight: 500;
}
.lang-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.lang-item.active {
  font-weight: 700;
  color: var(--primary);
  background: rgba(2, 132, 199, 0.06);
}

/* Buttons */
.btn-orto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-orto-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}
.btn-orto-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-orto-outline {
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-800);
}
.btn-orto-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-xs {
  padding: 4px 10px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.btn-soft-primary {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}
.btn-soft-primary:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

/* Hero Section */
.orto-hero {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: var(--white);
  padding: 48px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.orto-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.orto-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.orto-hero p {
  font-size: 17px;
  opacity: 0.9;
  max-width: 680px;
  margin: 0 auto 28px;
}
.orto-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Main Container - Full Edge-to-Edge Forum Width (R10 Standard) */
.orto-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 14px 0 30px !important;
  padding: 0 25px !important;
  box-sizing: border-box !important;
  position: relative;
  z-index: 10;
}

.orto-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}
@media (max-width: 992px) {
  .orto-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.orto-card {
  background: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
  transition: all 0.15s ease;
}
.orto-card:hover {
  border-color: #94a3b8;
}

/* Category Grid */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.category-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.category-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.category-box-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.category-box-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.category-box-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.category-box-desc {
  font-size: 13px;
  color: var(--slate-600);
  margin-bottom: 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-box-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--slate-100);
  padding-top: 10px;
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 500;
}

/* Topic Item */
.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s ease;
}
.topic-item:last-child {
  border-bottom: none;
}
.topic-item:hover {
  background: var(--slate-50);
}
.topic-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.topic-content {
  flex: 1;
}
.topic-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.4;
  display: block;
}
.topic-title:hover {
  color: var(--primary);
}
.topic-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--slate-400);
}
.topic-meta-author {
  font-weight: 600;
  color: var(--slate-600);
}
.topic-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  color: var(--slate-400);
  font-size: 13px;
}
.topic-stat-box {
  text-align: center;
}
.topic-stat-box strong {
  display: block;
  font-size: 15px;
  color: var(--slate-800);
}

/* Badges */
.badge-doctor {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-lang {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}
.badge-pinned {
  background: #fef2f2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Single Topic Stream */
.post-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.post-card.doctor-reply {
  border-color: #38bdf8;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.12);
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 15%);
}
.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.post-author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.post-author-title {
  font-size: 13px;
  color: var(--slate-600);
}
.post-body {
  font-size: 15px;
  color: var(--slate-800);
  line-height: 1.7;
}
.post-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate-400);
}

/* Footer */
.orto-footer {
  margin-top: auto;
  background: var(--dark);
  color: var(--slate-400);
  padding: 48px 20px 24px;
  border-top: 1px solid var(--slate-800);
}
.orto-footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 768px) {
  .orto-footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.orto-footer a {
  color: var(--slate-400);
}
.orto-footer a:hover {
  color: var(--white);
}
.orto-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

/* ==========================================================================
   Classic R10.net / XenForo Forum Design System
   ========================================================================== */

/* Sub-Navigation Strip */
.forum-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.forum-subnav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
}
.forum-subnav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.forum-subnav-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}
.forum-subnav-links li a:hover,
.forum-subnav-links li.active a {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(2, 132, 199, 0.04);
}
.forum-subnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.forum-subnav-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Forum Ticker / Quick Stats Strip */
.forum-stats-strip {
  background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.forum-stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-600);
}
.forum-stat-pill strong {
  color: var(--dark);
  font-weight: 700;
}
.forum-stat-pill i {
  font-size: 16px;
}

/* Classic Forum Category Block */
.forum-cat-block {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}
.forum-cat-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.forum-cat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.forum-cat-header-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.forum-cat-header-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
}
.forum-cat-header-title a {
  color: #fff;
  text-decoration: none;
}
.forum-cat-header-title a:hover {
  color: #38bdf8;
}
.forum-cat-header-meta {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

/* Forum Table & Rows */
.forum-cat-table {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.subforum-row {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-100);
  background: var(--white);
  transition: background 0.15s ease;
}
.subforum-row:last-child {
  border-bottom: none;
}
.subforum-row:hover {
  background: #f8fafc;
}
.subforum-icon-cell {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  margin-right: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}
[dir="rtl"] .subforum-icon-cell {
  margin-right: 0;
  margin-left: 16px;
}
.subforum-row:hover .subforum-icon-cell {
  transform: scale(1.08);
  background: rgba(2, 132, 199, 0.12);
}
.subforum-main-cell {
  flex: 1;
  min-width: 0;
  padding-right: 20px;
}
[dir="rtl"] .subforum-main-cell {
  padding-right: 0;
  padding-left: 20px;
}
.subforum-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  display: inline-block;
  line-height: 1.3;
  margin-bottom: 3px;
  transition: color 0.15s ease;
}
.subforum-title:hover {
  color: var(--primary);
}
.subforum-desc {
  font-size: 12.5px;
  color: var(--slate-500);
  line-height: 1.4;
  margin-bottom: 6px;
}
.subforum-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
}
.subforum-tags-label {
  color: var(--slate-400);
  font-weight: 600;
}
.subforum-tag-link {
  color: var(--primary);
  background: rgba(2, 132, 199, 0.07);
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}
.subforum-tag-link:hover {
  background: var(--primary);
  color: #fff;
}
.subforum-stats-cell {
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  flex-shrink: 0;
  border-left: 1px solid var(--slate-100);
  border-right: 1px solid var(--slate-100);
}
[dir="rtl"] .subforum-stats-cell {
  border-left: 1px solid var(--slate-100);
  border-right: 1px solid var(--slate-100);
}
.subforum-stat-item {
  text-align: center;
}
.subforum-stat-count {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.subforum-stat-label {
  font-size: 11px;
  color: var(--slate-400);
  text-transform: uppercase;
}
.subforum-lastpost-cell {
  width: 270px;
  padding-left: 18px;
  flex-shrink: 0;
}
[dir="rtl"] .subforum-lastpost-cell {
  padding-left: 0;
  padding-right: 18px;
}
.subforum-lastpost-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.subforum-lastpost-title:hover {
  color: var(--primary);
}
.subforum-lastpost-meta {
  font-size: 11.5px;
  color: var(--slate-400);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subforum-lastpost-author {
  color: var(--slate-700);
  font-weight: 600;
}
.subforum-doctor-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

/* Sidebar Specifics */
.forum-sidebar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
  overflow: hidden;
}
.forum-sidebar-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.forum-sidebar-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-doctor-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s ease;
}
.sidebar-doctor-row:last-child {
  border-bottom: none;
}
.sidebar-doctor-row:hover {
  background: #f8fafc;
}
.sidebar-doctor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0284c7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.sidebar-doctor-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.sidebar-doctor-spec {
  font-size: 11.5px;
  color: var(--slate-500);
  margin-top: 2px;
}

/* Sidebar Recent Active Topic */
.sidebar-topic-row {
  padding: 10px 16px;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: background 0.15s ease;
}
.sidebar-topic-row:last-child {
  border-bottom: none;
}
.sidebar-topic-row:hover {
  background: #f8fafc;
}
.sidebar-topic-badge {
  background: #f1f5f9;
  color: var(--slate-600);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
}
.sidebar-topic-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-topic-link:hover {
  color: var(--primary);
}
.sidebar-topic-meta {
  font-size: 11px;
  color: var(--slate-400);
  margin-top: 3px;
}

/* CTA Card */
.sidebar-cta-card {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}
.sidebar-cta-card h5 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.sidebar-cta-card p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 14px;
}
.sidebar-cta-card .btn-cta {
  display: block;
  text-align: center;
  background: #fff;
  color: #0284c7;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-cta-card .btn-cta:hover {
  background: #f0fdf4;
  color: #0369a1;
  transform: translateY(-1px);
}

/* Mobile Responsiveness for Classic Forum */
@media (max-width: 991px) {
  .subforum-stats-cell {
    display: none;
  }
  .subforum-lastpost-cell {
    width: 200px;
  }
}
@media (max-width: 768px) {
  .subforum-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .subforum-icon-cell {
    display: none;
  }
  .subforum-main-cell {
    padding-right: 0;
    width: 100%;
  }
  .subforum-lastpost-cell {
    width: 100%;
    padding-left: 0;
    border-top: 1px dashed var(--slate-200);
    padding-top: 8px;
  }
  .forum-stats-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   R10.NET DESIGN STANDARD STYLESHEET - ORTODONTI HEALTH FORUM
   ========================================================================== */

/* --- R10 Header --- */
.r10-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.r10-header-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 8px 25px !important;
  box-sizing: border-box !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.r10-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.r10-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}
.r10-logo-text {
  display: flex;
  flex-direction: column;
}
.r10-logo-brand {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.r10-logo-tld {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}
.r10-logo-tagline {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 500;
}
.r10-top-nav {
  gap: 6px;
  margin-left: 12px;
}
.r10-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.r10-nav-link:hover, .r10-nav-link.active {
  color: #0284c7;
  background: #f1f5f9;
}
.r10-badge-pill {
  background: #0284c7;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}
.r10-header-search {
  position: relative;
  width: 320px;
}
.r10-header-search input {
  width: 100%;
  padding: 7px 14px 7px 36px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
}
.r10-header-search input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}
.r10-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}
.r10-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.r10-icon-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0284c7;
}
.r10-notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #0284c7;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff;
}
.r10-notif-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 320px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1060;
}
.r10-dropdown.open .r10-notif-menu {
  display: block;
}
.r10-notif-header {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.r10-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: #1e293b;
  border-bottom: 1px solid #f8fafc;
  transition: background 0.15s ease;
}
.r10-notif-item:hover {
  background: #f8fafc;
}
.r10-notif-item.unread {
  background: #f0fdf4;
}
.r10-notif-avatar {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.r10-notif-text {
  font-size: 12.5px;
  line-height: 1.35;
}
.r10-notif-time {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}
.r10-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
}
.r10-btn-login {
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.3px;
  transition: all 0.15s ease;
}
.r10-btn-login:hover {
  background: #0369a1;
}
.r10-btn-register {
  background: #7c3aed;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.3px;
  transition: all 0.15s ease;
}
.r10-btn-register:hover {
  background: #6d28d9;
}
.r10-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
}
.r10-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

/* --- R10 Feed Box (Tabbed Recent Topics Table) --- */
.r10-feed-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.r10-feed-tabs {
  background: #2b3848;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-bottom: 1px solid #1e2834;
}
.r10-feed-tab-btn {
  background: transparent;
  border: none;
  color: #cad5e2;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}
.r10-feed-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.r10-feed-tab-btn.active {
  background: #1c2632;
  color: #ffffff;
  border-bottom: 2px solid #0284c7;
}
.r10-feed-tab-btn.r10-tab-highlight {
  background: rgba(2, 132, 199, 0.18);
  color: #38bdf8;
  font-weight: 700;
}
.r10-table-responsive {
  overflow-x: auto;
}
.r10-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.r10-table thead th {
  background: #354658;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border: none;
  border-bottom: 1px solid #233140;
  text-transform: none;
  letter-spacing: 0.2px;
}
.r10-table tbody tr {
  border-bottom: 1px solid #eef2f6;
  background: #ffffff;
  transition: background 0.12s ease;
}
.r10-table tbody tr:nth-child(even) {
  background: #fbfcfd;
}
.r10-table tbody tr:hover {
  background: #f0f4f9;
}
.r10-table td {
  padding: 10px 14px;
  vertical-align: middle;
}
.col-title {
  width: 55%;
}
.col-stats {
  width: 15%;
  white-space: nowrap;
}
.col-author {
  width: 15%;
  white-space: nowrap;
  font-size: 12.5px;
  color: #334155;
}
.col-cat {
  width: 15%;
  text-align: right;
  white-space: nowrap;
}
.r10-topic-link {
  color: #1e293b;
  font-weight: 500;
  font-size: 13.5px;
  text-decoration: none;
  line-height: 1.4;
}
.r10-topic-link:hover {
  color: #0284c7;
  text-decoration: underline;
}
.r10-label-pinned {
  color: #dc2626;
  font-weight: 700;
  font-size: 12px;
  margin-right: 5px;
}
.r10-label-doctor {
  color: #16a34a;
  font-weight: 700;
  font-size: 12px;
  margin-right: 5px;
}
.r10-dot {
  color: #0284c7;
  font-size: 14px;
  margin: 0 4px;
  font-weight: bold;
}
.r10-stat-num {
  font-weight: 600;
  color: #1e293b;
  font-size: 12.5px;
}
.r10-author-name {
  font-weight: 500;
  color: #334155;
}
.r10-cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.15s ease;
}
.r10-cat-badge:hover {
  color: #0284c7;
  text-decoration: underline;
}

/* --- R10 Category Boxes & Forum Rows --- */
.r10-category-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.r10-category-bar {
  background: #2b3848;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e2834;
}
.r10-cat-main-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}
.r10-cat-main-title:hover {
  color: #38bdf8;
}
.r10-cat-cols-right {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}
.r10-col-header-last {
  width: 240px;
  text-align: left;
}
.r10-col-header-count {
  width: 140px;
  text-align: center;
}

/* Subforum Row */
.r10-subforum-list {
  display: flex;
  flex-direction: column;
}
.r10-subforum-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #eef2f6;
  background: #ffffff;
  transition: background 0.15s ease;
}
.r10-subforum-row:last-child {
  border-bottom: none;
}
.r10-subforum-row:nth-child(even) {
  background: #fbfcfd;
}
.r10-subforum-row:hover {
  background: #f0f4f9;
}
.r10-subforum-icon-cell {
  width: 50px;
  flex-shrink: 0;
}
.r10-forum-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: #f8fafc;
}
.r10-subforum-info-cell {
  flex: 1;
  min-width: 0;
  padding-right: 16px;
}
.r10-subforum-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
}
.r10-subforum-title:hover {
  color: #0284c7;
}
.r10-viewers-badge {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}
.r10-subforum-desc {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.4;
}
.r10-folder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.r10-folder-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #475569;
  text-decoration: none;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}
.r10-folder-tag-item:hover {
  background: #e2e8f0;
  color: #0284c7;
}
.r10-subforum-lastpost-cell {
  width: 240px;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1.35;
}
.r10-lastpost-title-wrap {
  margin-bottom: 2px;
}
.r10-lastpost-title {
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
}
.r10-lastpost-title:hover {
  color: #0284c7;
}
.r10-lastpost-meta {
  color: #475569;
  font-size: 11.5px;
}
.r10-lastpost-time {
  color: #94a3b8;
  font-size: 11px;
}
.r10-subforum-counts-cell {
  width: 140px;
  flex-shrink: 0;
  text-align: center;
  font-size: 12.5px;
  white-space: nowrap;
}
.r10-count-topics {
  font-weight: 600;
  color: #1e293b;
}
.r10-count-posts {
  font-weight: 600;
  color: #64748b;
}

/* --- R10 Mascot & Advice Banner --- */
.r10-tip-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.r10-tip-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.r10-tip-mascot {
  width: 40px;
  height: 40px;
  background: #fef3c7;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.r10-tip-text {
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}
.r10-tip-social {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.r10-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.r10-social-btn:hover {
  opacity: 0.85;
}
.bg-instagram { background: #e1306c; }
.bg-twitter { background: #000000; }
.bg-youtube { background: #ff0000; }
.bg-linkedin { background: #0077b5; }
.bg-facebook { background: #1877f2; }

/* --- R10 Live Stats Strip (Inline Non-overlapping Pills) --- */
.r10-stats-strip-wrapper {
  background: #242f3d;
  border-top: 1px solid #1a232f;
  border-bottom: 1px solid #1a232f;
  padding: 12px 0;
  color: #ffffff;
}
.r10-stats-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.r10-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.r10-stat-text {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.4;
}
.r10-stat-text strong {
  color: #ffffff;
}
.r10-stat-tag {
  background: #0284c7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 4px;
  letter-spacing: 0.3px;
}
.dropdown-toggle.no-arrow::after {
  display: none !important;
}

/* --- R10 Footer --- */
.r10-footer {
  background: #1c2531;
  color: #cbd5e1;
  padding-top: 24px;
}
.r10-legal-notice {
  background: #24303f;
  border-radius: 4px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.r10-notice-icon {
  width: 38px;
  height: 38px;
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.r10-notice-content {
  flex: 1;
}
.r10-footer-heading {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.r10-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
}
.r10-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}
.r10-footer-links a:hover {
  color: #38bdf8;
  padding-left: 2px;
}
.r10-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: #0284c7;
  color: #ffffff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 999;
}
.r10-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.r10-back-to-top:hover {
  background: #0369a1;
  transform: translateY(-2px);
}

/* --- R10 Analysis Tabs --- */
.r10-tab-strip {
  background: #2d3748;
  border-radius: 6px;
  display: flex;
  overflow: hidden;
}
.r10-tab-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 13.5px;
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.r10-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.r10-tab-btn.active {
  background: #1a202c;
  color: #38bdf8;
  border-bottom: 3px solid #38bdf8;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .r10-subforum-counts-cell {
    display: none;
  }
  .r10-subforum-lastpost-cell {
    width: 190px;
  }
}
@media (max-width: 768px) {
  .r10-subforum-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .r10-subforum-icon-cell {
    display: none;
  }
  .r10-subforum-info-cell {
    padding-right: 0;
    width: 100%;
  }
  .r10-subforum-lastpost-cell {
    width: 100%;
    border-top: 1px dashed #e2e8f0;
    padding-top: 6px;
  }
  .r10-tip-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .r10-stats-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   R10 SQUARE GEOMETRY & FLUID FULL-WIDTH ENFORCEMENT
   ========================================================================== */
.btn, .form-control, .form-select, .badge, .card, .dropdown-menu, 
.modal-content, .alert, .pagination, .page-link, .input-group,
.r10-feed-box, .r10-category-box, .r10-category-bar, .r10-tip-card, 
.r10-btn-login, .r10-btn-register, .r10-header-search, 
.r10-header-search input, .r10-icon-btn, .r10-lang-btn, .r10-stat-pill {
  border-radius: 4px !important;
}

/* ==========================================================================
   R10 CATEGORY NAVIGATION STRIP & 60 MEDICAL SPECIALTIES MODAL
   ========================================================================== */
.r10-cat-strip {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.r10-cat-strip-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 6px 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  min-width: 0;
  box-sizing: border-box;
}
.r10-all-cats-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0284c7;
  color: #ffffff;
  border: 1px solid #0284c7;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.25);
  border-radius: 4px !important;
}
.r10-all-cats-btn:hover {
  background: #0369a1;
  border-color: #0369a1;
  color: #ffffff;
}
.r10-cat-strip-divider {
  width: 1px;
  height: 22px;
  background: #cbd5e1;
  flex-shrink: 0;
}
.r10-cat-scroll-track {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  padding: 2px 0;
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
}
.r10-cat-scroll-track::-webkit-scrollbar {
  display: none;
}
.r10-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 4px !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.r10-cat-pill:hover {
  background: #ffffff;
  border-color: #0284c7;
  color: #0284c7;
  box-shadow: 0 1px 4px rgba(2, 132, 199, 0.12);
}
.r10-cat-pill.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}
.r10-cat-pill.active i {
  color: #ffffff !important;
}
.cat-branch-modal-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px !important;
  background: #ffffff;
  transition: all 0.2s ease;
}
.cat-branch-modal-card:hover {
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}



