/* =====================================================================
   Rentoo Admin – custom design system
   Staví na CoreUI 5 / Bootstrap 5. Udržuje ID a classy používané v JS.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* Sidebar property select                                             */
/* ------------------------------------------------------------------ */
#propertySelect {
  font-size: 0.85rem;
}

/* Sidebar active nav link highlight */
.sidebar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 4px;
}

/* Navbar user email */
#navUserEmail {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Dashboard stat card icons */
.card .cil-money,
.card .cil-warning,
.card .cil-paperclip,
.card .cil-chart-line {
  font-size: 1.1rem;
  margin-right: 0.35rem;
}

/* Dashboard list groups – tighter rows */
.list-group-item {
  font-size: 0.875rem;
}

/* Breadcrumb subtle style */
#breadcrumbs .breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 0;
  padding: 0;
}

/* Cards in dark theme */
[data-coreui-theme="dark"] .card {
  border-color: rgba(255, 255, 255, 0.08);
}

/* Smooth transitions for sidebar */
.sidebar {
  transition: margin-left 0.15s ease;
}

/* =====================================================================
   Design tokens
   ===================================================================== */
:root {
  --rt-radius: 0.75rem;
  --rt-radius-sm: 0.5rem;
  --rt-card-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1);
  --rt-card-shadow-hover: 0 8px 24px rgba(16, 24, 40, 0.12);
  --rt-page-max: 1400px;
}

[data-coreui-theme="light"] {
  --rt-header-bg: transparent;
  --rt-stat-icon-opacity: 0.3;

  /* Jemné šedomodré pozadí místo čistě bílé */
  --cui-body-bg: #f3f5f9;
  --cui-body-color: #1f2a3d;
  --cui-secondary-color: #5b6b84;
  --cui-secondary-bg: #e9edf4;
  --cui-tertiary-bg: #eef2f7;
  --cui-tertiary-color: #475569;
  --cui-emphasis-color: #111827;
  --cui-border-color: #dfe5ee;
  --cui-border-color-translucent: rgba(31, 42, 61, 0.09);
  --cui-card-bg: #ffffff;
  --cui-card-border-color: #dfe5ee;
  --cui-card-cap-bg: #fbfcfe;
  --cui-input-bg: #ffffff;
  --cui-input-color: #1f2a3d;
  --cui-input-border-color: #d3dbe8;
  --cui-link-color: #4a5cd0;
  --cui-heading-color: #16213a;
  --cui-table-bg: transparent;
  --cui-table-border-color: #e6ebf3;
}

[data-coreui-theme="light"] body {
  background-color: #f3f5f9;
  background-image: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%);
  background-attachment: fixed;
  color: #1f2a3d;
}

/* Karty – bílé na jemném pozadí, měkké stíny */
[data-coreui-theme="light"] .card {
  background-color: #ffffff;
  border-color: #dfe5ee;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.08);
}

[data-coreui-theme="light"] .card-header {
  background-color: #fbfcfe;
  border-bottom-color: #e6ebf3;
  color: #1f2a3d;
}

/* Formuláře – čitelné vstupy */
[data-coreui-theme="light"] .form-control,
[data-coreui-theme="light"] .form-select,
[data-coreui-theme="light"] .input-group-text {
  background-color: #ffffff;
  border-color: #d3dbe8;
  color: #1f2a3d;
}

[data-coreui-theme="light"] .form-control::placeholder {
  color: #94a3b8;
}

[data-coreui-theme="light"] .form-control:focus,
[data-coreui-theme="light"] .form-select:focus {
  border-color: var(--cui-primary, #321fdb);
  box-shadow: 0 0 0 0.2rem rgba(50, 31, 219, 0.12);
}

/* Tabulky – jemnější záhlaví a ohraničení */
[data-coreui-theme="light"] .table {
  --cui-table-border-color: #e6ebf3;
  color: #1f2a3d;
}

[data-coreui-theme="light"] .table thead th {
  background-color: #f1f5f9;
  color: #475569;
  border-bottom-color: #dfe5ee;
}

[data-coreui-theme="light"] .table-hover tbody tr:hover {
  background-color: rgba(31, 42, 61, 0.03);
}

/* Horní menu – světlé s blur efektem */
[data-coreui-theme="light"] .header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: #dfe5ee;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

/* Taby ve světlém režimu */
[data-coreui-theme="light"] .nav-tabs .nav-link {
  color: #5b6b84;
  border-color: #dfe5ee;
}

[data-coreui-theme="light"] .nav-tabs .nav-link:hover {
  color: #1f2a3d;
}

[data-coreui-theme="light"] .nav-tabs .nav-link.active {
  color: #4a5cd0;
  background-color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Odkazy a nadpisy */
[data-coreui-theme="light"] .page-title {
  color: #16213a;
}

[data-coreui-theme="light"] .text-body-secondary {
  color: #5b6b84 !important;
}

/* Modály a dropdowny */
[data-coreui-theme="light"] .modal-content,
[data-coreui-theme="light"] .dropdown-menu {
  background-color: #ffffff;
  border-color: #dfe5ee;
}

[data-coreui-theme="light"] .dropdown-item:hover {
  background-color: #f1f5f9;
}

/* Alerts, accordion, badge */
[data-coreui-theme="light"] .accordion-item {
  border-color: #dfe5ee;
}

/* Zrušení výchozího CoreUI tmavého stylu sidebaru na světlém pozadí */
[data-coreui-theme="light"] .sidebar {
  --cui-sidebar-bg: #1e293b;
}

[data-coreui-theme="dark"] {
  --rt-stat-icon-opacity: 0.32;
}

/* =====================================================================
   Page wrapper + header
   ===================================================================== */
.page {
  max-width: var(--rt-page-max);
  margin: 0 auto;
  padding: 0.25rem 0.5rem 1.5rem;
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.page-subtitle {
  color: var(--cui-secondary-color, #6c757d);
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}

.page-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.page-toolbar .form-control,
.page-toolbar .form-select {
  min-width: 200px;
}

/* =====================================================================
   Stat cards (styl dashboardu)
   ===================================================================== */
.stat-card {
  position: relative;
  border: 0;
  border-radius: var(--rt-radius);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--rt-card-shadow);
  display: flex;
  flex-direction: column;
}

.stat-card .stat-body {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.25rem 0.9rem;
  gap: 0.75rem;
  flex-grow: 1;
}

.stat-card .stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.15rem;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat-card .stat-icon {
  margin-left: auto;
  font-size: 2.4rem;
  opacity: var(--rt-stat-icon-opacity);
  line-height: 1;
}

.stat-card .stat-footer {
  padding: 0.45rem 1.25rem 0.65rem;
  font-size: 0.78rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.stat-card .stat-footer p {
  margin: 0;
}

.stat-card .stat-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 74px;
  overflow-y: auto;
}

.stat-card .stat-footer ul li {
  padding: 0.15rem 0;
}

.stat-card.primary { background: linear-gradient(135deg, #6c7cff 0%, var(--cui-primary, #321fdb) 100%); }
.stat-card.danger  { background: linear-gradient(135deg, #ff8a8a 0%, var(--cui-danger, #e55353) 100%); }
.stat-card.success { background: linear-gradient(135deg, #5bdaa5 0%, var(--cui-success, #2eb85c) 100%); }
.stat-card.warning { background: linear-gradient(135deg, #ffd28a 0%, var(--cui-warning, #f9b115) 100%); }
.stat-card.info    { background: linear-gradient(135deg, #6fd3f7 0%, var(--cui-info, #39f) 100%); }
.stat-card.secondary { background: linear-gradient(135deg, #9aa5b1 0%, var(--cui-secondary, #9da5b1) 100%); }

/* jemné (soft) varianty pro světlé pozadí s tmavým textem */
.stat-card.soft-primary { background: var(--cui-primary-bg-subtle, rgba(13, 110, 253, 0.12)); color: var(--cui-primary, #321fdb); }
.stat-card.soft-success { background: var(--cui-success-bg-subtle, rgba(25, 135, 84, 0.12)); color: var(--cui-success, #2eb85c); }
.stat-card.soft-danger  { background: var(--cui-danger-bg-subtle, rgba(220, 53, 69, 0.12)); color: var(--cui-danger, #e55353); }
.stat-card.soft-warning { background: var(--cui-warning-bg-subtle, rgba(255, 193, 7, 0.14)); color: var(--cui-warning, #f9b115); }
.stat-card.soft-info    { background: var(--cui-info-bg-subtle, rgba(13, 202, 240, 0.12)); color: var(--cui-info, #39f); }

.stat-card .progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
}

/* =====================================================================
   Karty (obecné)
   ===================================================================== */
.card {
  border-radius: var(--rt-radius);
  box-shadow: var(--rt-card-shadow);
}

.card-header {
  font-weight: 600;
}

.card-header .card-header-tabs {
  margin-bottom: -0.5rem;
}

/* Karty položek v mřížce (nemovitosti / jednotky / nájemníci / smlouvy) */
.item-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
}

.item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rt-card-shadow-hover);
}

.item-card .card-title {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.item-card .item-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cui-secondary-color, #6c757d);
  font-weight: 600;
}

.item-card .item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
  font-size: 0.875rem;
}

.item-card .item-row + .item-row {
  border-top: 1px dashed var(--cui-border-color-translucent, rgba(44, 62, 80, 0.12));
}

.item-card .item-label {
  color: var(--cui-secondary-color, #6c757d);
}

.item-card .item-value {
  font-weight: 600;
  text-align: right;
}

/* Tlačítko „⋮" v hlavičce karty */
.btn-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--cui-border-color, #dee2e6);
  background: transparent;
  color: var(--cui-body-color, #212529);
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.15s ease;
}

.btn-icon:hover {
  background: var(--cui-tertiary-bg, #f8f9fa);
}

[data-coreui-theme="dark"] .btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =====================================================================
   Tabulky
   ===================================================================== */
.table > :not(caption) > * > * {
  padding: 0.7rem 0.9rem;
}

.table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--cui-secondary-color, #6c757d);
  background-color: var(--cui-tertiary-bg, #f8f9fa);
  border-bottom-width: 1px;
}

.table thead th:first-child {
  border-top-left-radius: var(--rt-radius-sm);
}

.table thead th:last-child {
  border-top-right-radius: var(--rt-radius-sm);
}

.table td {
  vertical-align: middle;
  font-size: 0.875rem;
}

/* =====================================================================
   Badge
   ===================================================================== */
.badge {
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0.4rem;
}

/* =====================================================================
   Taby
   ===================================================================== */
.nav-tabs .nav-link {
  font-weight: 600;
  font-size: 0.875rem;
}

/* =====================================================================
   Modaly
   ===================================================================== */
.modal-content {
  border: 0;
  border-radius: var(--rt-radius);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.25);
}

.modal-header {
  border-bottom-color: var(--cui-border-color-translucent, rgba(44, 62, 80, 0.12));
}

.modal-title {
  font-weight: 700;
}

/* =====================================================================
   Formuláře
   ===================================================================== */
.form-control:focus,
.form-select:focus {
  border-color: var(--cui-primary, #321fdb);
  box-shadow: 0 0 0 0.2rem var(--cui-primary-rgb, 50, 31, 219) / 0.25;
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
}

/* =====================================================================
   Prázdné stavy + načítání
   ===================================================================== */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--cui-secondary-color, #6c757d);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.empty-state h5 {
  font-weight: 700;
  color: var(--cui-body-color, #212529);
}

.empty-state p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* =====================================================================
   Výsledky filtru – prázdný stav
   ===================================================================== */
#filterEmpty {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--cui-secondary-color, #6c757d);
  font-size: 0.875rem;
}

/* =====================================================================
   Drobné vyladění
   ===================================================================== */
/* Konzistentní mezera okolo obsahu stránky */
#content {
  padding-bottom: 1rem;
}

/* Alerts – zaoblení */
.alert {
  border-radius: var(--rt-radius-sm);
}

/* Accordion – zaoblení */
.accordion-item {
  border-radius: var(--rt-radius-sm);
  overflow: hidden;
}

/* Toast fix pro CoreUI */
.toast {
  border-radius: var(--rt-radius-sm);
}

/* Avatar */
.avatar {
  border-radius: 50%;
  font-weight: 700;
}

/* Dropdown menu – položky */
.dropdown-item {
  font-size: 0.875rem;
  padding: 0.45rem 1rem;
}

.dropdown-item .nav-icon,
.dropdown-item i {
  margin-right: 0.5rem;
}

/* Formulář odečtů měřáků (dynamicky vkládaný do #readingDetails) */
#readingDetails label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

#readingDetails .form-control {
  margin-bottom: 0.85rem;
}

/* =====================================================================
   Detailní seznamy (detail smlouvy apod.)
   ===================================================================== */
.detail-list {
  display: flex;
  flex-direction: column;
}

.detail-list .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.875rem;
}

.detail-list .detail-row + .detail-row {
  border-top: 1px dashed var(--cui-border-color-translucent, rgba(44, 62, 80, 0.12));
}

.detail-list .detail-label {
  color: var(--cui-secondary-color, #6c757d);
  white-space: nowrap;
}

.detail-list .detail-value {
  font-weight: 600;
  text-align: right;
}

/* =====================================================================
   Horní menu – aktivní položka a přepínač tématu
   ===================================================================== */
.header-nav .nav-link.active {
  color: var(--cui-primary, #321fdb);
}

.header-nav .nav-link.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--cui-primary, #321fdb);
  border-radius: 2px;
  margin-top: 2px;
}

.theme-toggle {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cui-border-color, #dee2e6);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--cui-body-color, #212529);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.theme-toggle:hover {
  background: var(--cui-tertiary-bg, #f8f9fa);
  color: var(--cui-primary, #321fdb);
}

/* =====================================================================
   Postranní menu – přepínač nemovitosti
   ===================================================================== */
.sidebar-property {
  padding: 0.85rem 1rem 0.25rem;
}

.sidebar-property label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--cui-sidebar-color, rgba(255, 255, 255, 0.6));
  margin-bottom: 0.35rem;
}

.sidebar-property .form-select {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--cui-sidebar-color, #fff);
  font-size: 0.875rem;
}

.sidebar-property .form-select:focus {
  color: var(--cui-sidebar-color, #fff);
  background-color: rgba(255, 255, 255, 0.12);
}

/* Stav účtu nájemníka (detail smlouvy) */
.account-summary h6 {
  font-weight: 700;
}

.account-summary .stat-card .stat-value {
  font-size: 1.15rem;
}

/* Responsivní hlavička */
@media (max-width: 576px) {
  .page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .page-toolbar {
    justify-content: space-between;
  }

  .page-toolbar .form-control,
  .page-toolbar .form-select {
    min-width: 0;
    flex: 1;
  }
}

/* =====================================================================
   Horní menu – redesign
   ===================================================================== */
.header {
  background: transparent;
  border-bottom: 1px solid var(--cui-border-color-translucent, rgba(44, 62, 80, 0.12));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rt-topbar {
  width: 100%;
  max-width: var(--rt-page-max);
  margin: 0 auto;
  padding: 0.55rem 1rem;
}

.rt-topbar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Tlačítko hamburger (mobilní sidebar) */
.rt-hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--rt-radius-sm);
  background: transparent;
  color: var(--cui-body-color, #212529);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.rt-hamburger:hover {
  background: var(--cui-tertiary-bg, #f8f9fa);
}

/* Logo */
.rt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--cui-body-color, #212529);
}

.rt-brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* Hlavní navigace – na mobilu skrytá */
.rt-nav-wrap {
  display: none;
}

@media (min-width: 992px) {
  .rt-nav-wrap {
    display: block;
    margin-left: 0.5rem;
  }
}

.rt-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rt-nav .rt-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--rt-radius-sm);
  color: var(--cui-secondary-color, #6c757d);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.rt-nav .rt-nav-link:hover {
  background: var(--cui-tertiary-bg, #f8f9fa);
  color: var(--cui-body-color, #212529);
}

.rt-nav .rt-nav-link.active {
  color: var(--cui-primary, #321fdb);
  background: color-mix(in srgb, var(--cui-primary, #321fdb) 10%, transparent);
}

.rt-nav .rt-nav-link.active::after {
  display: none;
}

[data-coreui-theme="dark"] .rt-nav .rt-nav-link.active {
  background: color-mix(in srgb, var(--cui-primary, #321fdb) 22%, transparent);
}

.rt-nav .nav-icon {
  font-size: 1.05rem;
}

/* Pravá část top baru */
.rt-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.rt-topbar-email {
  font-size: 0.8rem;
  opacity: 0.7;
  color: var(--cui-secondary-color, #6c757d);
}

@media (max-width: 767.98px) {
  .rt-topbar-email {
    display: none;
  }
}

/* Avatar v top baru */
.rt-avatar-link {
  text-decoration: none;
}

.rt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cui-primary, #321fdb);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.15s ease;
}

.rt-avatar-link:hover .rt-avatar {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cui-primary, #321fdb) 25%, transparent);
}

.rt-user-menu {
  min-width: 240px;
}

/* Ikona plánu (uživatelské nastavení) */
.rt-plan-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--rt-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--cui-primary-bg-subtle, rgba(13, 110, 253, 0.12));
  color: var(--cui-primary, #321fdb);
}

/* Sekční karty na stránkách nastavení */
.rt-section-card {
  cursor: pointer;
  user-select: none;
}

.rt-section-card .stat-value {
  font-size: 1.05rem;
}

/* =====================================================================
   Nastavení – dvousloupcový layout (sticky nav + sekce)
   ===================================================================== */
html {
  scroll-behavior: smooth;
}

.rt-settings-nav {
  position: sticky;
  top: 5.75rem;
  z-index: 5;
}

@media (max-width: 991.98px) {
  .rt-settings-nav {
    position: static;
  }
}

.rt-settings-nav .rt-settings-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--rt-radius-sm);
  color: var(--cui-secondary-color, #6c757d);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.rt-settings-nav .rt-settings-nav-link:hover {
  background: var(--cui-tertiary-bg, #f8f9fa);
  color: var(--cui-body-color, #212529);
}

.rt-settings-nav .rt-settings-nav-link.active {
  background: color-mix(in srgb, var(--cui-primary, #321fdb) 10%, transparent);
  color: var(--cui-primary, #321fdb);
}

[data-coreui-theme="dark"] .rt-settings-nav .rt-settings-nav-link.active {
  background: color-mix(in srgb, var(--cui-primary, #321fdb) 22%, transparent);
}

.rt-settings-nav .nav-icon {
  font-size: 1.05rem;
}

.rt-settings-section {
  scroll-margin-top: 6rem;
}

.rt-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.rt-section-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: var(--rt-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--cui-primary-bg-subtle, rgba(13, 110, 253, 0.12));
  color: var(--cui-primary, #321fdb);
}

.rt-section-head h5 {
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.rt-section-head p {
  color: var(--cui-secondary-color, #6c757d);
  font-size: 0.875rem;
  margin-bottom: 0;
}