/* =============================================================
   relia-home-modern.css
   Moderný štýl pre Relia.sk – header, search, homepage sekcie, footer
   Prefix .relia- = globálne, .rh- = homepage
   ============================================================= */

/* ─── CSS premenné ─────────────────────────────────────────── */
:root {
    --relia-dark:       #011b35;
    --relia-blue:       #204d7a;
    --relia-blue-mid:   #428bca;
    --relia-green:      #28a745;
    --relia-green-dark: #1e7e34;
    --relia-text:       #222222;
    --relia-muted:      #6b7280;
    --relia-border:     #e2e8f0;
    --relia-bg-light:   #f0f4fa;
    --relia-radius:     10px;
    --relia-shadow:     0 2px 12px rgba(0,0,0,.08);
}

/* ─── HEADER ───────────────────────────────────────────────── */
.relia-header {
    background: linear-gradient(180deg, #061a3a 0%, #03152f 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(0, 20, 45, .22);
}

.relia-header__inner {
    display: flex;
    align-items: center;
    min-height: 64px;
    gap: 18px;
    padding: 0 max(20px, calc((100vw - 1170px) / 2));
}


/* Logo */
.relia-logo {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
    flex-shrink: 0;
    margin-right: 18px;
    line-height: 1;
}

.relia-logo:hover,
.relia-logo:focus {
    color: #fff;
    text-decoration: none;
}

.relia-logo span {
    color: #2ecc71;
}

/* Hlavná navigácia */
.relia-nav {
    flex: 1;
    min-width: 0;
}

.relia-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    flex-wrap: wrap;
}

.relia-nav__item {
    display: list-item;
}

.relia-nav__item > a {
    display: block;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.relia-nav__item > a:hover,
.relia-nav__item > a:focus {
    background: rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
}

.relia-nav__item.active > a,
.relia-nav__list > .active > a,
.relia-nav__item--active > a {
    background: rgba(255,255,255,.18);
    color: #fff;
    border-radius: 6px;
}

/* User bar */
.relia-userbar {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    gap: 4px;
    flex-shrink: 0;
}

.relia-userbar__item {
    display: list-item;
}

.relia-userbar__link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}

.relia-userbar__item--icon .relia-userbar__link {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
}

.relia-userbar__link:hover,
.relia-userbar__link:focus {
    background: rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
}

/* Dropdown v userbar */
.relia-userbar .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 200px;
}

/* Prihlásiť sa tlačidlo */
.relia-userbar__login-btn {
    border: 1px solid rgba(255,255,255,.4);
    background: transparent;
    font-family: inherit;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
}

.relia-userbar__login-btn:hover {
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.15);
}

/* Hamburger */
.relia-header__hamburger {
    display: none; /* skrytý na desktop */
    background: transparent;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 4px;
    padding: 6px 8px;
    margin-left: auto;
    cursor: pointer;
}

.relia-header__hamburger .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    border-radius: 1px;
}

.relia-header__hamburger:hover,
.relia-header__hamburger:focus {
    background: rgba(255,255,255,.12);
}

/* ─── SEMAFOR LIŠTA ─────────────────────────────────────────── */
.relia-semafor-wrap {
    display: block;
    background: #162d4a;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 5px 0;
    font-size: 14px;
    color: rgba(255,255,255,.75);
    text-decoration: none;
}

/* Skry semafor lištu keď je prázdna */
.relia-semafor-wrap:has(#semafor:empty) {
    display: none;
}

.relia-semafor-wrap:hover {
    color: rgba(255,255,255,.95);
    text-decoration: none;
}

.relia-semafor-wrap .container {
    display: flex;
    align-items: center;
}

/* ─── SEARCH BAR ─────────────────────────────────────────────── */
.rh-search-bar {
    background: #fff;
    border-bottom: 1px solid var(--relia-border);
    padding: 16px 0 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.rh-search-bar__inner {
    /* plná šírka containera */
}

/* Taby */
.rh-search-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 2px solid var(--relia-border);
}

.rh-search-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 26px;
    border: 1px solid var(--relia-border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background: var(--relia-bg-light);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--relia-muted);
    margin-bottom: -2px;
    transition: background .15s, color .15s;
    line-height: 1.4;
}

.rh-search-tab i {
    font-size: 15px;
}

.rh-search-tab:hover {
    background: #e8f0fa;
    color: var(--relia-blue);
}

.rh-search-tab--active {
    background: #fff;
    color: var(--relia-blue);
    border-color: var(--relia-border);
    border-bottom-color: #fff;
    font-weight: 600;
    z-index: 1;
}

.rh-search-tab--active:hover {
    background: #fff;
    color: var(--relia-dark);
}

/* Search panel */
.rh-search-panel {
    padding-top: 10px;
}

.rh-search-input {
    height: 48px;
    font-size: 16px;
    border-color: var(--relia-border);
    border-right: none;
}

.rh-search-input:focus {
    border-color: var(--relia-blue-mid);
    box-shadow: 0 0 0 3px rgba(66,139,202,.15);
}

.rh-search-btn {
    height: 48px;
    padding: 0 22px;
    font-size: 18px;
    background-color: var(--relia-green);
    border-color: var(--relia-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rh-search-btn:hover,
.rh-search-btn:focus {
    background-color: var(--relia-green-dark);
    border-color: var(--relia-green-dark);
}

/* AI panel */
.rh-search-ai-note {
    margin: 10px 0 0;
    color: var(--relia-muted);
    font-size: 14px;
}

/* Pomocný text */
.rh-search-help {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--relia-muted);
}

/* ─── HERO SLIDER (rozšírenie existujúcich štýlov) ─────────── */
.rh-hero-wrapper {
    margin: 20px 0 0;
}

.rh-hero-wrapper .hero-slider {
    margin: 0;
    border-radius: var(--relia-radius);
}

/* ─── TOPIC GRID  2×3 ────────────────────────────────────────── */
.rh-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0;
}

/* Karta témy */
.rh-topic-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    padding: 16px 16px 14px;
    box-shadow: var(--relia-shadow);
    display: flex;
    flex-direction: column;
}

.rh-topic-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--relia-blue);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--relia-green);
    line-height: 1.3;
}

.rh-topic-card__title a {
    color: inherit;
    text-decoration: none;
}

.rh-topic-card__title a:hover {
    color: var(--relia-green-dark);
    text-decoration: none;
}

/* Ikona témy (náhrada za fotku) */
.rh-topic-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--relia-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 24px;
    color: var(--relia-blue);
    flex-shrink: 0;
}

.rh-topic-card__image {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    display: block;
}

.rh-topic-card__links {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    flex: 1;
}

.rh-topic-card__links li {
    border-bottom: 1px solid var(--relia-border);
    padding: 5px 0;
}

.rh-topic-card__links li:last-child {
    border-bottom: none;
}

.rh-topic-card__links a {
    color: var(--relia-blue);
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    display: block;
}

.rh-topic-card__links a:hover {
    color: var(--relia-green-dark);
    text-decoration: underline;
}

.rh-topic-card__more {
    display: inline-block;
    color: var(--relia-green);
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
    text-decoration: none;
}

.rh-topic-card__more:hover {
    color: var(--relia-green-dark);
    text-decoration: underline;
}

/* ─── PRODUCT COLUMNS ───────────────────────────────────────── */
.rh-product-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0 20px;
    align-items: stretch;
}

/* Produktová karta (stĺpec) */
.rh-product-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    padding: 20px;
    box-shadow: var(--relia-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rh-product-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--relia-dark);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--relia-blue);
    line-height: 1.3;
}

/* Jednotlivá položka v stĺpci */
.rh-product-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--relia-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rh-product-item:last-of-type {
    border-bottom: none;
}

.rh-product-item__name {
    font-size: 14px;
    color: var(--relia-blue);
    text-decoration: none;
    line-height: 1.4;
}

.rh-product-item__name:hover {
    text-decoration: underline;
    color: var(--relia-blue-mid);
}

.rh-product-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.rh-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--relia-green);
    white-space: nowrap;
}

.rh-product-item__order {
    flex-shrink: 0;
}

/* Knihy – thumbnail */
.rh-book-thumb {
    width: 80px;
    height: 110px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 2px 2px 6px rgba(0,0,0,.15);
    margin-bottom: 10px;
}

/* Tlačidlo na konci stĺpca */
.rh-btn-more {
    display: block;
    margin-top: 14px;
    padding: 10px 16px;
    text-align: center;
    background: var(--relia-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background .15s;
}

.rh-btn-more:hover,
.rh-btn-more:focus {
    background: var(--relia-blue);
    color: #fff;
    text-decoration: none;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.rh-footer {
    background: var(--relia-dark);
    color: #c8d8e8;
    padding: 44px 0 0;
    font-size: 14px;
}

.rh-footer a {
    color: #93c5fd;
    text-decoration: none;
}

.rh-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.rh-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 32px;
    padding-bottom: 32px;
}

.rh-footer__logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 10px;
}

.rh-footer__logo span {
    color: #2ecc71;
}

.rh-footer__tagline {
    font-size: 14px;
    color: #8aa4be;
    margin: 0 0 14px;
    line-height: 1.5;
}

.rh-footer__social {
    display: flex;
    gap: 10px;
}

.rh-footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff !important;
    font-size: 17px;
    transition: background .15s;
    text-decoration: none !important;
}

.rh-footer__social-icon i {
    color: #fff;
    line-height: 1;
}

.rh-footer__social-icon:hover {
    background: #2ecc71;
    border-color: #2ecc71;
    color: #fff !important;
}

.rh-footer__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #fff;
    margin: 0 0 12px;
}

.rh-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2;
}

.rh-footer__list li {
    font-size: 14px;
}

.rh-footer__address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: #8aa4be;
    border: none;
    padding: 0;
    margin: 0;
}

.rh-footer__address a {
    color: #93c5fd;
}

/* Newsletter */
.rh-newsletter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rh-newsletter .form-control {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.2);
    color: #fff;
    height: 38px;
    font-size: 14px;
}

.rh-newsletter .form-control::placeholder {
    color: rgba(255,255,255,.45);
}

.rh-newsletter .form-control:focus {
    background: rgba(255,255,255,.12);
    border-color: var(--relia-green);
    box-shadow: none;
    color: #fff;
}

.rh-newsletter__select {
    background: #1a2e46;
    border: 1px solid rgba(255,255,255,.2);
    color: #e5e7eb;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 14px;
    width: 100%;
    margin-top: 4px;
}
.rh-newsletter__select option {
    background: #1a2e46;
    color: #e5e7eb;
}

.rh-newsletter__btn {
    background-color: var(--relia-green);
    border-color: var(--relia-green-dark);
    color: #fff;
    font-size: 14px;
    padding: 7px 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background .15s;
}

.rh-newsletter__btn:hover {
    background-color: var(--relia-green-dark);
}

/* Footer spodná lišta */
.rh-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255,255,255,.45);
    text-align: center;
}

.rh-footer__bottom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
}

.rh-footer__bottom-row--credit {
    font-size: 14px;
    color: rgba(255,255,255,.38);
    gap: 0;
}

.rh-footer__credit-text {
    display: inline;
    max-width: 100%;
    line-height: 1.45;
}

.rh-footer__bottom a {
    color: rgba(255,255,255,.55);
}

.rh-footer__bottom a:hover {
    color: rgba(255,255,255,.85);
    text-decoration: underline;
}

.rh-footer__bottom-sep {
    color: rgba(255,255,255,.2);
}

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
    font-size: 15px;
    padding: 10px 0;
    background: transparent;
    margin-bottom: 12px;
}

.breadcrumb-item a {
    color: var(--relia-blue);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--relia-green-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--relia-text);
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--relia-muted);
}

/* ─── SEMINÁRE (prefix .rk-sem-) ─────────────────────────────── */

/* Tabuľka – card wrapper s akcentom */
.rk-sem-table-wrap {
    overflow-x: hidden;
    border-radius: 10px;
    border: 1px solid #d5e2f0;
    border-top: 3px solid var(--relia-green);
    box-shadow: 0 3px 18px rgba(1,27,53,.08);
    margin-bottom: 28px;
}
@media (max-width: 767px) {
    .rk-sem-table-wrap {
        overflow-x: auto;
    }
}

/* Header – modrý gradient (nie tmavá navy/čierna) */
.rk-sem-thead th {
    background: #1b5295;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 14px 12px;
    border: none !important;
    white-space: nowrap;
}

/* Bunky – len spodná čiara, bez mriežky */
#dataTableShop td,
#dataTableShop thead th,
#dataTableKateg td,
#dataTableKateg thead th {
    border: none;
    border-bottom: 1px solid #e6eef7;
}

/* Zebra – jemná modrá tónovanie */
#dataTableShop tbody tr.odd  { background: #f7faff; }
#dataTableShop tbody tr.even { background: #ffffff; }
#dataTableKateg tbody tr.odd  { background: #f7faff; }
#dataTableKateg tbody tr.even { background: #ffffff; }

/* Hover – svetlo modrý nádych */
#dataTableShop tbody tr:hover td,
#dataTableKateg tbody tr:hover td {
    background: #edf3ff !important;
}

/* Stavový text za tlačidlom – br skrytý, text zalomí prirodzene */
#dataTableShop td:last-child br {
    display: none;
}

.rk-seminare-intro {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eef4ff;
    border-left: 4px solid var(--relia-blue);
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 18px;
    font-size: 14px;
}

.rk-seminare-intro i {
    color: var(--relia-blue);
    font-size: 16px;
    flex-shrink: 0;
}

.rk-seminare-intro a {
    color: var(--relia-blue);
    text-decoration: none;
    font-weight: 500;
}

.rk-seminare-intro a:hover {
    text-decoration: underline;
}

.rk-sem-link {
    color: var(--relia-dark);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

.rk-sem-link:hover {
    color: var(--relia-blue);
    text-decoration: underline;
}

.rk-sem-price {
    font-weight: 700;
    color: var(--relia-green);
    white-space: nowrap;
    font-size: 15px;
}

.rk-sem-btn {
    border-color: #c0c8d4;
    color: var(--relia-dark);
    font-size: 14px;
}

.rk-sem-btn:hover {
    background: var(--relia-dark);
    color: #fff;
    border-color: var(--relia-dark);
}

/* Objednaj z codebehind v tabuľke seminárov */
#dataTableShop .btn-primary,
#dataTableKateg .btn-primary {
    background: var(--relia-dark);
    border-color: var(--relia-dark);
    font-size: 14px;
    border-radius: 6px;
}

#dataTableShop .btn-primary:hover,
#dataTableKateg .btn-primary:hover {
    background: var(--relia-blue);
    border-color: var(--relia-blue);
}

/* CTA sekcia – záznamy webinárov */
.rk-sem-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--relia-bg-light);
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    padding: 20px 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.rk-sem-cta__text {
    font-size: 16px;
    font-weight: 700;
    color: var(--relia-dark);
    margin: 0 0 2px;
}

.rk-sem-cta__sub {
    font-size: 14px;
    color: var(--relia-muted);
    margin: 0;
}

.rk-sem-cta__btn {
    background: var(--relia-dark);
    color: #fff;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
}

.rk-sem-cta__btn:hover {
    background: var(--relia-blue);
    color: #fff;
}

/* ─── KNIHY – karta produktu (prefix .rk-) ──────────────────── */
.rk-book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 16px;
}

.rk-book-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .15s;
}

.rk-book-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.13);
}

.rk-book-card__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--relia-bg-light);
    height: 210px;
    border-bottom: 1px solid var(--relia-border);
    overflow: hidden;
    padding: 12px;
}

.rk-book-card__img {
    max-height: 190px;
    max-width: 100%;
    object-fit: contain;
    border: none !important;
    box-shadow: 2px 3px 10px rgba(0,0,0,.15);
    border-radius: 3px;
}

.rk-book-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rk-book-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--relia-dark);
    margin: 0 0 4px;
    line-height: 1.35;
}

.rk-book-card__title a {
    color: inherit;
    text-decoration: none;
}

.rk-book-card__title a:hover {
    color: var(--relia-blue);
    text-decoration: underline;
}

.rk-book-card__code {
    font-size: 14px;
    color: var(--relia-muted);
    margin: 0 0 10px;
}

.rk-book-card__desc {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin: 0 0 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rk-book-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--relia-border);
    margin-top: auto;
    flex-wrap: wrap;
}

.rk-book-card__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--relia-green);
    white-space: nowrap;
}

.rk-book-card__desc {
    text-align: left;
}

.rk-book-card__footer .btn {
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Modré objednaj */
.rk-book-card__footer .btn-primary {
    background-color: var(--relia-dark);
    border-color: var(--relia-dark);
    color: #fff;
}

.rk-book-card__footer .btn-primary:hover,
.rk-book-card__footer .btn-primary:focus {
    background-color: var(--relia-blue);
    border-color: var(--relia-blue);
}

/* "skladom" / "vypredané" – stav z codebehind */
.rk-book-card__footer br {
    display: none;
}

@media (max-width: 1100px) {
    .rk-book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .rk-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .rk-book-grid { grid-template-columns: 1fr; }
}

/* ─── RESPONZIVITA ────────────────────────────────────────────── */

/* Desktop: nav vždy viditeľný, hamburger skrytý */
@media (min-width: 992px) {
    .relia-header__hamburger {
        display: none !important;
    }

    /* Prepíše Bootstrap 5 .collapse – nav je flex kontajner */
    .relia-nav.collapse {
        display: flex !important;
        align-items: center;
    }
}

@media (max-width: 1199px) {
    .relia-nav__item > a {
        padding: 8px 10px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .rh-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Mobilný header – zobraz hamburger */
    .relia-header__hamburger {
        display: block !important;
    }

    /* Nav sa skryje/zobrazí cez Bootstrap 5 collapse (class .show) */
    .relia-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--relia-dark);
        z-index: 999;
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 6px 20px rgba(0,0,0,.4);
    }

    .relia-nav.collapse:not(.show) {
        display: none !important;
    }

    .relia-nav__list {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }

    .relia-nav__item > a {
        border-radius: 0;
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .rh-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-product-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .relia-header__inner {
        height: 54px;
    }

    .relia-logo {
        font-size: 19px;
    }

    .rh-topic-grid {
        grid-template-columns: 1fr;
    }

    .rh-search-tab {
        padding: 7px 14px;
        font-size: 14px;
    }

    .rh-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rh-footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }
}

/* ─── JS HELPER – prepínanie tabov ───────────────────────────── */
/* Aktívny tab a panel riadi JS funkcia rhSetTab() */

/* Final visual polish for the 2026 homepage mockup */
.rh-search-bar {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
    border-bottom: 1px solid #d9e2ef;
    padding: 14px 0 8px;
    box-shadow: 0 8px 22px rgba(15, 35, 70, .08);
}

.rh-search-bar__inner {
    max-width: 920px;
    margin: 0 auto;
}

.rh-search-tabs {
    align-items: flex-end;
    border-bottom: 0;
    margin: 0 0 -1px;
}

.rh-search-tab {
    justify-content: center;
    min-width: 220px;
    padding: 12px 28px;
    gap: 9px;
    border-color: #dce5f1;
    border-bottom-color: transparent;
    border-radius: 9px 9px 0 0;
    background: #eef2f7;
    color: #315170;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 0;
}

.rh-search-tab:hover {
    background: #f7fafc;
    color: #09214a;
}

.rh-search-tab:not(.rh-search-tab--active) i {
    color: var(--relia-green-dark);
}

.rh-search-tab--active,
.rh-search-tab--active:hover {
    background: #031b42;
    color: #fff;
    border-color: #031b42;
    border-bottom-color: #031b42;
}

.rh-search-panel {
    padding: 12px 14px 0;
    background: #fff;
    border: 1px solid #dce5f1;
    border-radius: 0 9px 9px 9px;
    box-shadow: 0 12px 26px rgba(15, 35, 70, .11);
}

.rh-search-box {
    display: flex;
}

.rh-search-input {
    height: 46px;
    font-size: 15px;
    border-color: #dce5f1;
    border-right: none;
    border-radius: 5px 0 0 5px !important;
    box-shadow: none;
}

.rh-search-btn {
    min-width: 70px;
    height: 46px;
    border-color: #237b28;
    border-radius: 0 6px 6px 0 !important;
    background: linear-gradient(180deg, #319438 0%, #237b28 100%);
}

.rh-search-ai-note {
    margin: 8px 0 0;
    color: #5c6f85;
    font-size: 14px;
}

.rh-ai-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
}

.rh-ai-box > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 9px;
    color: #1f7a31;
    background: #edf8ef;
    border: 1px solid #d7efdc;
    font-size: 18px;
}

.rh-ai-input {
    height: 44px;
    background: #f8fafc;
    border-color: #dce5f1;
    color: #4b6078;
    opacity: 1;
}

.rh-ai-input:disabled,
.rh-ai-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.rh-search-help--locked {
    color: #b3261e;
}

.rh-search-help--locked a {
    font-weight: 600;
}

.rh-ai-btn {
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #fff;
    background: #09214a;
    border-color: #09214a;
    font-weight: 700;
    white-space: nowrap;
}

.rh-ai-btn:hover,
.rh-ai-btn:focus {
    color: #fff;
    background: #123466;
}

.rh-search-help {
    margin: 8px 14px 0;
    font-size: 14px;
    color: #5c6f85;
    display: flex;
    align-items: center;
    gap: 7px;
}

.rh-search-help::before {
    content: "\f05a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #244d85;
}

.rh-tag-cloud {
    margin: 22px 0 26px;
    padding: 17px 18px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dce5f1;
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
}

.rh-tag-cloud__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.rh-tag-cloud__head h2 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #09214a;
    font-size: 17px;
    font-weight: 800;
}

.rh-tag-cloud__head h2 i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bfe6c7;
    border-radius: 8px;
    color: #1f7a31;
    background: #edf8ef;
    font-size: 14px;
}

.rh-tag-cloud__head a {
    color: var(--relia-green-dark);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.rh-tag-cloud__head a:hover {
    text-decoration: underline;
}

.cloud.rh-tag-cloud__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.rh-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid #d9e5f2;
    border-radius: 999px;
    background: #fff;
    color: #244d85;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.rh-tag:hover,
.rh-tag:focus {
    color: #fff;
    background: #244d85;
    border-color: #244d85;
    text-decoration: none;
}

.rh-tag--primary {
    background: #edf8ef;
    border-color: #bfe6c7;
    color: #1f7a31;
}

@media (max-width: 991px) {
    .relia-header__inner {
        padding: 0 16px;
    }
}

@media (max-width: 640px) {
    .relia-logo {
        font-size: 21px;
        margin-right: 0;
    }

    .relia-userbar__item--icon {
        display: none;
    }

    .relia-userbar__item--icon.relia-userbar__item--help {
        display: list-item;
    }

    .rh-search-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .rh-search-tab {
        min-width: 0;
        padding: 9px 10px;
    }

    .rh-ai-box {
        align-items: stretch;
        flex-direction: column;
    }

    .rh-ai-box > i {
        display: none;
    }

    .rh-ai-btn {
        width: 100%;
    }

    .rh-tag-cloud__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

/* Icon and sizing refinements against the supplied mockup */
.relia-header__inner {
    min-height: 62px;
}

.relia-logo {
    font-size: 27px;
    margin-right: 22px;
}

.relia-userbar {
    gap: 8px;
}

.relia-userbar__link {
    color: #f5f8ff;
    font-size: 15px;
}

.relia-userbar__link i {
    font-size: 18px;
    line-height: 1;
}

.relia-userbar__item--icon .relia-userbar__link {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.03);
}

.relia-userbar__item--icon .relia-userbar__link:hover {
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.36);
}

.relia-userbar .fa-bell,
.relia-userbar .fa-circle-question,
.relia-userbar .fa-cart-shopping {
    color: #ffffff;
}

.relia-help-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
}

.rh-search-tab {
    min-height: 43px;
    gap: 10px;
    font-size: 14px;
}

.rh-search-tab__main-icon {
    font-size: 17px;
}

.rh-search-tab--active .rh-search-tab__main-icon {
    color: #ffffff;
}

.rh-search-tab:not(.rh-search-tab--active) .rh-search-tab__main-icon {
    color: #2f9a3a;
}

.rh-search-tab__robot {
    margin-left: 14px;
    color: #244d85;
    font-size: 17px;
}

.rh-search-tab--active .rh-search-tab__robot {
    color: #d8e8ff;
}

.rh-search-btn i {
    color: #fff;
    font-size: 20px;
}

.rh-ai-box > i {
    color: #244d85;
    background: #eef5ff;
    border-color: #cfe0f4;
}

.rh-tag-cloud__head h2 {
    font-size: 17px;
}

@media (max-width: 640px) {
    .relia-header__inner {
        min-height: 54px;
    }

    .relia-logo {
        font-size: 21px;
    }

    .relia-userbar__link i {
        font-size: 16px;
    }

    .rh-search-tab__robot {
        margin-left: 4px;
    }
}

/* Homepage topic/product cards aligned with the supplied layout reference */
.rh-topic-card__title {
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 0;
    padding-bottom: 0;
    color: #123b76;
    font-size: 16px;
}

.rh-topic-card__title > i {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid #b9cbea;
    border-radius: 6px;
    color: #315f9f;
    background: #f5f9ff;
    font-size: 14px;
}

.rh-topic-card__image {
    height: 92px;
}

.rh-product-card {
    padding: 16px;
}

.rh-product-card__title {
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 0;
    padding-bottom: 0;
    font-size: 17px;
}

.rh-product-card__title > i {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 7px;
    font-size: 15px;
}

.rh-product-item--with-icon {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 9px 10px;
    border: 1px solid #e3eaf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 35, 70, .04);
}

.rh-product-item--with-icon + .rh-product-item--with-icon {
    margin-top: 8px;
}

.rh-product-item--with-icon .rh-product-item__name {
    font-size: 14px;
    font-weight: 700;
    color: #143c78;
}

.rh-product-item--with-icon .rh-product-item__row {
    justify-content: flex-end;
}

.rh-product-item__icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
}

.rh-product-card--access .rh-product-card__title,
.rh-product-card--access .rh-price,
.rh-product-card--access .rh-btn-more {
    color: #2e8b2d;
}

.rh-product-card--access .rh-product-card__title > i,
.rh-product-card--access .rh-product-item__icon {
    color: #2d8d2f;
    background: #f1faf1;
    border: 1px solid #bde5c1;
}

.rh-product-card--access .rh-product-item--with-icon {
    border-color: #dcebdd;
}

.rh-product-card--access .rh-product-item--with-icon .rh-product-item__name {
    color: #123b76;
}

.rh-product-card--access .rh-btn-more {
    color: #fff;
    background: linear-gradient(180deg, #31933a 0%, #237c2b 100%);
    border-top: 0;
    border-radius: 7px;
    margin-top: 12px;
    padding: 10px 14px;
}

.rh-product-card--books .rh-product-card__title,
.rh-product-card--books .rh-price,
.rh-product-card--books .rh-btn-more {
    color: #082c64;
}

.rh-product-card--books .rh-product-card__title > i {
    color: #082c64;
    background: #eef5ff;
    border: 1px solid #c8d9f3;
}

.rh-books-preview {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 8px;
}

.rh-books-preview__cover {
    display: block;
    width: 94px;
    min-height: 132px;
    overflow: hidden;
    border-radius: 6px;
    background: #082c64;
    box-shadow: 0 8px 18px rgba(8, 44, 100, .18);
}

.rh-books-preview__cover img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
    display: block;
}

.rh-books-preview__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
}

.rh-book-link {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 7px;
    min-height: 39px;
    padding: 7px 9px;
    border: 1px solid #d7e2f0;
    border-radius: 7px;
    color: #123b76;
    background: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.rh-book-link i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #244d85;
    background: #eef5ff;
    border: 1px solid #cbdcf2;
    border-radius: 5px;
    font-size: 14px;
}

.rh-book-link span {
    color: #082c64;
    font-size: 20px;
    line-height: 1;
}

.rh-book-link:hover,
.rh-book-link:focus {
    color: #082c64;
    border-color: #9fb7da;
    background: #f5f9ff;
    text-decoration: none;
}

.rh-product-card--books .rh-btn-more {
    color: #fff;
    background: linear-gradient(180deg, #103b78 0%, #082c64 100%);
    border-top: 0;
    border-radius: 7px;
    margin-top: 12px;
    padding: 10px 14px;
}

.rh-product-card--webinars .rh-product-card__title,
.rh-product-card--webinars .rh-price,
.rh-product-card--webinars .rh-btn-more {
    color: #f47b20;
}

.rh-product-card--webinars .rh-product-card__title > i,
.rh-product-card--webinars .rh-product-item__icon {
    color: #f47b20;
    background: #fff4e8;
    border: 1px solid #ffd3aa;
}

.rh-product-card--webinars .rh-product-item--with-icon {
    border-color: #f1e2d4;
}

.rh-product-card--webinars .rh-product-item--with-icon .rh-product-item__name {
    color: #143c78;
}

.rh-product-card--webinars .rh-btn-more {
    color: #fff;
    background: linear-gradient(180deg, #ff902b 0%, #ee7819 100%);
    border-top: 0;
    border-radius: 7px;
    margin-top: 12px;
    padding: 10px 14px;
}

.rh-product-card--webinars .rh-product-item--with-icon {
    grid-template-columns: 42px minmax(0, 1fr) 78px;
}

.rh-product-card--access .rh-product-item--with-icon {
    grid-template-columns: 42px minmax(0, 1fr) 88px;
}

.rh-product-card--access .rh-product-item--with-icon .rh-price,
.rh-product-card--webinars .rh-product-item--with-icon .rh-price {
    color: #111827;
    font-size: 14px;
}

.rh-product-card--access,
.rh-product-card--books,
.rh-product-card--webinars {
    min-height: 312px;
}

.rh-product-card--access .rh-product-item--with-icon:nth-of-type(1),
.rh-product-card--books .rh-books-preview,
.rh-product-card--webinars .rh-product-item--with-icon:nth-of-type(1) {
    margin-top: 4px;
}

.rh-product-card--access .rh-product-item--with-icon:last-of-type,
.rh-product-card--webinars .rh-product-item--with-icon:last-of-type {
    margin-bottom: 0;
}

.rh-product-card--books .rh-books-preview {
    flex: 1 1 auto;
    align-content: start;
}

.rh-product-card--access .rh-btn-more,
.rh-product-card--books .rh-btn-more,
.rh-product-card--webinars .rh-btn-more {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    line-height: 1.2;
    font-size: 14px;
    font-weight: 800;
}

.rh-product-card--access .rh-product-item--with-icon,
.rh-product-card--webinars .rh-product-item--with-icon {
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    .rh-product-item--with-icon,
    .rh-product-card--access .rh-product-item--with-icon,
    .rh-product-card--webinars .rh-product-item--with-icon {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .rh-product-item--with-icon .rh-product-item__row {
        grid-column: 2;
        justify-content: flex-start;
    }

    .rh-books-preview {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .rh-books-preview__cover {
        width: 82px;
        min-height: 116px;
    }

    .rh-books-preview__cover img {
        min-height: 116px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   OBCHOD DETAIL – prefix .od-
   ═══════════════════════════════════════════════════════════════ */

/* Hlavná 2-stĺpcová sekcia: obrázok | info */
.od-product {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    margin-bottom: 32px;
}

.od-product__img-col {
    position: sticky;
    top: 90px;
}

.od-product__img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--relia-border);
    box-shadow: 0 4px 18px rgba(0,0,0,.12);
    display: block;
}

/* Názov produktu */
.od-product__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--relia-dark);
    line-height: 1.3;
    margin: 0 0 10px;
}

.od-product__subtitle {
    font-size: 15px;
    color: var(--relia-muted);
    margin: 0 0 6px;
}

.od-product__address {
    font-size: 14px;
    color: var(--relia-muted);
    margin: 0 0 14px;
}

.od-product__address i {
    color: var(--relia-blue);
    margin-right: 4px;
}

/* Cena */
.od-product__price {
    font-size: 24px;
    font-weight: 800;
    color: var(--relia-green);
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Kód / kategória */
.od-product__code {
    font-size: 14px;
    color: var(--relia-muted);
    margin: 0 0 20px;
}

.od-product__code-label {
    font-weight: 600;
}

.od-product__code a {
    color: var(--relia-blue);
    text-decoration: none;
}

.od-product__code a:hover {
    text-decoration: underline;
}

/* Hlásenie "Už máte objednané" – codebehind vydáva h3.text-danger */
.od-product__info-col h3.text-danger {
    font-size: 14px !important;
    font-weight: 600;
    background: #fff5f5;
    border: 1px solid #fcc;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 0 0 16px;
    color: #b91c1c !important;
}

.od-product__info-col h3.text-danger a {
    color: #204d7a;
    font-weight: 500;
}

/* Akčné tlačidlá (Objednaj, Sledujte Webinár, Pozri Webinár) */
.od-product__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

/* Objednaj: btn btn-primary btn-lg (z codebehind) */
.od-product__actions .btn-primary.btn-lg {
    background: var(--relia-dark) !important;
    border-color: var(--relia-dark) !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    padding: 10px 28px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.od-product__actions .btn-primary.btn-lg:hover,
.od-product__actions .btn-primary.btn-lg:focus {
    background: var(--relia-blue) !important;
    border-color: var(--relia-blue) !important;
}

/* Sledujte Webinár / Pozri Webinár: btn btn-success btn-lg */
.od-product__actions .btn-success.btn-lg {
    border-radius: 6px !important;
    font-size: 15px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
}

.od-soldout-alternative {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: -2px 0 16px;
    padding: 12px 14px;
    color: #7a2e0e;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid #f97316;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.45;
}

.od-soldout-alternative > span {
    flex: 1 1 360px;
}

.od-soldout-alternative__link {
    flex: 0 0 auto;
    color: #9a3412;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.od-soldout-alternative__link:hover,
.od-soldout-alternative__link:focus {
    color: #7c2d12;
    text-decoration: underline;
}

/* <br> pred stavovým textom (napr. "skladom") z codebehind */
.od-product__actions br {
    display: none;
}

/* Technické požiadavky – link btn z codebehind */
.od-product__tech {
    margin-bottom: 20px;
}

.od-product__tech .btn-primary.btn-lg {
    background: transparent !important;
    border-color: var(--relia-blue) !important;
    color: var(--relia-blue) !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    padding: 6px 14px !important;
    font-weight: 500 !important;
}

.od-product__tech .btn-primary.btn-lg:hover {
    background: var(--relia-blue) !important;
    color: #fff !important;
}

/* Popis produktu */
.od-product__desc {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 28px;
    padding: 24px;
    background: var(--relia-bg-light);
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
}

.od-product__desc p { margin-bottom: 10px; }
.od-product__desc p:last-child { margin-bottom: 0; }

/* Tlačidlo Objednaj dole (zobrazBtn) */
.od-product__buy-bottom {
    margin-bottom: 28px;
}

.od-product__buy-bottom .btn-primary.btn-lg {
    background: var(--relia-dark) !important;
    border-color: var(--relia-dark) !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    padding: 13px 36px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.od-product__buy-bottom .btn-primary.btn-lg:hover {
    background: var(--relia-blue) !important;
    border-color: var(--relia-blue) !important;
}

/* Varianty */
.od-variants {
    margin-bottom: 28px;
}

.od-variants__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--relia-dark);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--relia-border);
}

.od-variants__price {
    font-weight: 700;
    color: var(--relia-green);
    font-size: 15px;
    white-space: nowrap;
}

.od-variants__btn {
    background: var(--relia-dark) !important;
    border-color: var(--relia-dark) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    padding: 6px 16px !important;
    font-weight: 600 !important;
}

.od-variants__btn:hover {
    background: var(--relia-blue) !important;
    border-color: var(--relia-blue) !important;
}

/* Súvisiace články (sidebar) */
.od-articles {
    background: var(--relia-bg-light);
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    padding: 20px;
    box-shadow: var(--relia-shadow);
}

.od-articles__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--relia-dark);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--relia-border);
}

.od-articles__link {
    display: block;
    font-size: 14px;
    color: var(--relia-blue);
    text-decoration: none;
    padding: 7px 0;
    border-bottom: 1px solid var(--relia-border);
    line-height: 1.4;
}

.od-articles__link:last-child {
    border-bottom: none;
}

.od-articles__link:hover {
    color: var(--relia-dark);
    text-decoration: underline;
}

/* Responzivita – obchod_detail */
@media (max-width: 900px) {
    .od-product {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .od-product {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .od-product__img-col {
        position: static;
        text-align: center;
    }

    .od-product__img {
        max-width: 280px;
        margin: 0 auto;
    }

    .od-product__title {
        font-size: 19px;
    }

    .od-product__price {
        font-size: 21px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PRÍSTUPY – prefix .pk-
   ═══════════════════════════════════════════════════════════════ */

.pk-pristupy {
    margin-top: 4px;
}

/* Kód v prvom stĺpci */
.pk-kod {
    font-size: 14px;
    color: var(--relia-muted);
    font-family: monospace;
    letter-spacing: .03em;
}

/* Názov prístupu – link */
.pk-link {
    color: var(--relia-dark);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

.pk-link:hover {
    color: var(--relia-blue);
    text-decoration: underline;
}

/* Cena */
.pk-cena {
    font-weight: 700;
    color: var(--relia-green);
    white-space: nowrap;
    font-size: 15px;
    text-align: right;
}

/* Objednaj tlačidlo */
.pk-btn {
    font-size: 14px !important;
    padding: 6px 18px !important;
    border-radius: 6px !important;
    white-space: nowrap;
}

.pk-pristupy .btn-primary {
    background: var(--relia-dark) !important;
    border-color: var(--relia-dark) !important;
    color: #fff !important;
}

.pk-pristupy .btn-primary:hover,
.pk-pristupy .btn-primary:focus {
    background: var(--relia-blue) !important;
    border-color: var(--relia-blue) !important;
}

/* Vypredané stav */
.pk-vypredane {
    font-size: 14px;
    color: var(--relia-muted);
    font-style: italic;
}

/* Kupónová sekcia */
.pk-coupon {
    margin-top: 28px;
}

.pk-coupon__inner {
    background: var(--relia-bg-light);
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    padding: 20px 24px;
}

.pk-coupon__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.pk-coupon__header i {
    color: var(--relia-blue);
    font-size: 18px;
}

.pk-coupon__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--relia-dark);
    margin: 0;
}

.pk-coupon__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pk-coupon__input {
    flex: 1 1 260px;
    min-width: 200px;
    height: 40px;
    font-size: 14px;
}

.pk-coupon__btn {
    height: 40px;
    padding: 0 20px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    white-space: nowrap;
}

/* Správa po overení kupónu – errCoupon */
.pk-coupon__msg {
    margin-top: 12px;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #f0f6ff;
    border: 1px solid #c8daf5;
    color: var(--relia-dark);
}

/* ─── Zoznam tém – tags.aspx (prefix .tags-) ──────────── */

.tags-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tags-header__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--relia-dark);
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tags-header__title i { color: var(--relia-blue); font-size: 1.2rem; }

.tags-header__sub {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
}

.tags-header__count {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

/* Tag cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    padding: 4px 0 24px;
}

/* Základný pill */
.tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    color: #1b5295;
    background: #eef4fb;
    border: 1px solid #c3d9f0;
    transition: background .15s, color .15s, border-color .15s, transform .1s;
    white-space: nowrap;
    line-height: 1.3;
}

.tag-pill:hover {
    background: #1b5295;
    color: #fff !important;
    border-color: #1b5295;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Veľkostné stupne podľa počtu článkov */
.tag-pill--xs {
    font-size: 0.875rem;
    padding: 3px 10px;
    opacity: .75;
}

.tag-pill--sm {
    font-size: 0.875rem;
    padding: 4px 12px;
}

.tag-pill--md {
    font-size: 0.96rem;
    padding: 5px 14px;
    font-weight: 600;
}

.tag-pill--lg {
    font-size: 1.1rem;
    padding: 7px 18px;
    font-weight: 700;
    background: #dbeafe;
    border-color: #93c5fd;
}

.tag-pill--xl {
    font-size: 1.25rem;
    padding: 8px 22px;
    font-weight: 800;
    background: #bfdbfe;
    border-color: #60a5fa;
    color: #1e3a6e;
}

/* ─── Tag stránka (prefix .tag-) ──────────────────────── */

.tag-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--relia-blue);
    border-radius: 8px;
}

.tag-heading__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--relia-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.tag-heading__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--relia-dark);
    margin: 0 0 4px 0;
}

.tag-heading__count {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
}

/* Zoznam článkov */
.tag-articles {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.tag-article-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 11px 18px;
    border-bottom: 1px solid #f1f5f9;
    transition: background .12s;
}

.tag-article-item:last-child { border-bottom: none; }

.tag-article-item:hover { background: #f8fafc; }

.tag-article-item__icon {
    font-size: 0.875rem;
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 2px;
}

.tag-article-item--video .tag-article-item__icon {
    color: #3b82c4;
}

.tag-article-item__link {
    font-size: 1.05rem;
    color: var(--relia-dark);
    text-decoration: none;
    line-height: 1.5;
    font-weight: 500;
}

.tag-article-item__link:hover {
    color: var(--relia-blue);
    text-decoration: underline;
}

.tag-article-item--video .tag-article-item__link {
    color: #1a5fa8;
}

/* ─── Článok (prefix .art-) ───────────────────────────── */

.art-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--relia-dark);
    line-height: 1.25;
    margin-bottom: 12px;
}

/* Meta lišta – autor + dátum */
.art-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
}
.art-meta__author,
.art-meta__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #64748b;
}
.art-meta__author { font-weight: 600; color: #334155; }
.art-meta__author i { color: var(--relia-blue); }
.art-meta__date i  { color: #94a3b8; }

/* Tagy */
.art-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 20px;
}
.art-tags i { color: #94a3b8; flex-shrink: 0; }
.art-tags a {
    color: var(--relia-blue);
    text-decoration: none;
    background: #eef4fb;
    border-radius: 12px;
    padding: 2px 10px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background .15s;
}
.art-tags a:hover { background: #dbeafe; }

/* Telo článku */
.article-body {
    font-size: 1rem;
    line-height: 1.75;
    color: #1e293b;
    margin-bottom: 32px;
}
.article-body h2 { font-size: 1.3rem; font-weight: 700; margin-top: 28px; color: var(--relia-dark); }
.article-body h3 { font-size: 1.1rem; font-weight: 700; margin-top: 22px; }
.article-body p  { margin-bottom: 1rem; }
.article-body ul,
.article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body li { margin-bottom: 4px; }
.article-body a  { color: var(--relia-blue); }
.article-body a:hover { text-decoration: underline; }
.article-body table { font-size: 0.9rem; }

/* Quill editor */
#editor {
    height: 120px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 6px 6px;
}

/* Uzamknutý obsah */
.art-lock {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fef9ec;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
}
.art-lock__icon {
    font-size: 1.5rem;
    color: #d97706;
    flex-shrink: 0;
}
.art-lock__body { font-size: 0.93rem; color: #1e293b; }
.art-lock__body strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.art-lock__body p { margin: 0; color: #475569; }
.art-lock__body a { color: var(--relia-blue); font-weight: 600; }
.art-lock--discuss {
    background: #f0f7ff;
    border-color: #bfdbfe;
    border-left-color: var(--relia-blue);
    margin-top: 16px;
}
.art-lock--discuss .art-lock__icon { color: var(--relia-blue); }

/* Nadpis sekcie */
.art-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 28px 0 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

/* Moje otázky link */
.art-my-questions { margin: 16px 0 8px; }
.art-divider { border-color: #e2e8f0; margin: 20px 0; }

/* Sekcia – položiť otázku */
.art-ask { margin-top: 8px; }
.art-ask__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--relia-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.art-ask__title i { color: var(--relia-blue); }
.art-ask__desc {
    display: block;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 14px;
    background: #f8fafc;
    border-left: 3px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
}
.art-ask__editor { margin-bottom: 12px; }
.art-ask__charcount {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: right;
    margin-top: 4px;
}
.art-ask__btn { margin-top: 4px; }

/* Súvisiace produkty */
.art-products {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.art-products__btn {
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .art-title { font-size: 1.4rem; }
    .art-meta  { gap: 10px; }
}

/* ─── Obchod filter lišta (prefix .ob-) ───────────────── */

.ob-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.ob-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1.5px solid #d1dae6;
    background: #fff;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.ob-filter-btn i { font-size: 0.8rem; }
.ob-filter-btn:hover {
    border-color: #1b5295;
    color: #1b5295;
    background: #eef4fb;
}
.ob-filter-btn.active {
    background: #1b5295;
    border-color: #1b5295;
    color: #fff;
}

.ob-filter-btn--skolenia.active  { background: #1b5295; border-color: #1b5295; }
.ob-filter-btn--publikacie.active { background: #92400e; border-color: #92400e; }
.ob-filter-btn--pristupy.active  { background: #166534; border-color: #166534; }
.ob-filter-btn--all.active       { background: #374151; border-color: #374151; }

/* ─── Košík (prefix .bk-) ─────────────────────────────── */

.bk-page { padding-top: 20px; }

.bk-login-banner {
    display: flex; align-items: center; gap: 10px;
    background: #eef4fb; border: 1px solid #c3d9f0; border-radius: 8px;
    padding: 13px 18px; margin-bottom: 20px;
    font-size: 0.93rem; color: #2c4a6e;
}
.bk-login-banner i { color: #3b82c4; flex-shrink: 0; }
.bk-login-banner a { font-weight: 600; color: #1a6fba; text-decoration: underline; }

.bk-qty-wrap { display: flex; gap: 4px; justify-content: flex-end; }
.bk-qty-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 5px;
    border: 1px solid #cbd5e1; background: #fff;
    color: #475569; font-size: 0.875rem; font-weight: 700;
    cursor: pointer; padding: 0; transition: all .15s;
}
.bk-qty-btn:hover { background: #f1f5f9; border-color: #94a3b8; }
.bk-qty-btn.del { border-color: #fca5a5; color: #dc2626; }
.bk-qty-btn.del:hover { background: #fee2e2; border-color: #f87171; }

.bk-summary {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    margin-top: 16px; padding: 14px 0;
    border-top: 2px solid #e2e8f0;
}
.bk-summary__total { font-size: 1rem; color: #475569; }
.bk-summary__total strong { font-size: 1.2rem; color: #1e293b; }
.bk-summary__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.bk-btn-back {
    color: #64748b; font-size: 0.88rem; text-decoration: none;
    padding: 8px 16px; border: 1px solid #e2e8f0; border-radius: 7px;
    background: #fff; transition: all .15s;
}
.bk-btn-back:hover { background: #f1f5f9; color: #334155; }

.bk-btn-order {
    background: #16a34a; color: #fff !important;
    padding: 10px 28px; border-radius: 7px;
    font-size: 0.95rem; font-weight: 700;
    text-decoration: none !important; border: none;
    transition: background .15s; display: inline-block;
}
.bk-btn-order:hover { background: #15803d; }

.bk-uz-objednane {
    font-size: 0.875rem; color: #dc2626; font-weight: 600;
    margin-top: 3px;
}
.bk-uz-objednane a { color: #dc2626; }

.bk-section-title {
    font-size: 0.95rem; font-weight: 700; color: #1e293b;
    margin: 28px 0 10px 0;
    display: flex; align-items: center; gap: 8px;
}
.bk-section-title i { color: #3b82c4; }

/* ─── Login modal ──────────────────────────────────────── */
.relia-login-modal {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.relia-login-modal__header {
    background: #1b5295;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.relia-login-modal__logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    font-family: inherit;
}
.relia-login-modal__logo span { color: #4ade80; }

.relia-login-modal__body {
    padding: 28px 28px 24px;
    background: #fff;
}

.relia-login-modal__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 22px;
}

.relia-login-modal__field { margin-bottom: 14px; }

.relia-login-modal__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.relia-login-modal__input {
    height: 44px;
    font-size: 0.93rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 14px;
    width: 100%;
    color: #1e293b;
    transition: border-color .15s, box-shadow .15s;
}
.relia-login-modal__input:focus {
    border-color: #1b5295;
    box-shadow: 0 0 0 3px rgba(27,82,149,.12);
    outline: none;
}
.relia-login-modal__input::placeholder { color: #94a3b8; }

.relia-login-modal__actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    margin-bottom: 18px;
}

.relia-login-modal__btn-primary {
    flex: 1;
    background: #1b5295;
    color: #fff !important;
    border: none;
    height: 44px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background .15s;
}
.relia-login-modal__btn-primary:hover,
.relia-login-modal__btn-primary:focus { background: #154080; color: #fff !important; }

.relia-login-modal__btn-cancel {
    background: #f1f5f9;
    color: #64748b !important;
    border: 1px solid #e2e8f0;
    height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all .15s;
}
.relia-login-modal__btn-cancel:hover { background: #e2e8f0; color: #334155 !important; }

.relia-login-modal__links {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 0.875rem;
    color: #64748b;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}
.relia-login-modal__links a {
    color: #1b5295;
    font-weight: 600;
    text-decoration: none;
}
.relia-login-modal__links a:hover { text-decoration: underline; }

/* Citatelne minimum vo vsetkych dialogoch aj bez detekcie prehliadaca. */
.modal-content {
    font-size: 16px;
    line-height: 1.5;
}
.modal-content p,
.modal-content li,
.modal-content label,
.modal-content input,
.modal-content select,
.modal-content textarea,
.modal-content button,
.modal-content .btn,
.modal-content a:not(.ck-modal-close) {
    font-size: 16px !important;
}
.modal-content .modal-title,
.modal-content .relia-login-modal__title,
.modal-content h4 {
    font-size: 20px !important;
    line-height: 1.35;
}
.modal-content input,
.modal-content select,
.modal-content textarea {
    min-height: 46px;
}

/* Prihlasovací modal musí zostať nad sticky hlavičkou a vo výške mobilného viewportu. */
#loginModal {
    z-index: 1060;
}

@media (max-width: 640px) {
    #loginModal {
        padding: 8px !important;
        overflow-y: auto;
    }

    #loginModal .modal-dialog {
        width: auto;
        max-width: none;
        min-height: calc(100vh - 16px);
        min-height: calc(100dvh - 16px);
        margin: 0;
        padding: 0;
    }

    #loginModal .modal-content {
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        overflow-y: auto;
    }

    #loginModal .relia-login-modal__body {
        padding: 20px 18px 18px;
    }

    #loginModal .relia-login-modal__actions {
        flex-direction: column;
    }

    #loginModal .relia-login-modal__btn-cancel {
        width: 100%;
    }
}

/* ══════════════════════════════════════════
   kt-* = kontakt.aspx
══════════════════════════════════════════ */

.kt-illustration svg {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.kt-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 6px;
}
.kt-subtitle {
    color: #4b5563;
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.kt-company-box {
    background: #f8fafc;
    border: 1px solid #e5e9f0;
    border-left: 4px solid #204d7a;
    border-radius: 10px;
    padding: 20px 22px;
    line-height: 1.75;
}
.kt-company-box__name {
    font-weight: 700;
    color: #1e3a5f;
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.kt-company-box__address {
    color: #374151;
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.kt-company-box__address i {
    color: #dc2626;
    margin-right: 7px;
    width: 14px;
}
.kt-company-box__meta {
    color: #6b7280;
    font-size: 0.875rem;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.kt-company-box__bank {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #374151;
}
.kt-company-box__bank i {
    color: #204d7a;
    margin-right: 7px;
    width: 14px;
}

.kt-card {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-top: 4px solid #e5e9f0;
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    height: 100%;
}
.kt-card--blue   { border-top-color: #204d7a; }
.kt-card--green  { border-top-color: #4b7f36; }
.kt-card--orange { border-top-color: #d97706; }
.kt-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
}
.kt-card__icon--blue   { background: #e8f0f9; color: #204d7a; }
.kt-card__icon--green  { background: #e8f5e4; color: #4b7f36; }
.kt-card__icon--orange { background: #fff3e0; color: #d97706; }

.kt-card__title {
    font-weight: 700;
    font-size: 1rem;
    color: #1e3a5f;
    margin-bottom: 14px;
}
.kt-card__note-top {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 10px;
    line-height: 1.4;
}
.kt-card__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
    font-size: 0.92rem;
    color: #374151;
}
.kt-card__row i {
    width: 15px;
    color: #9ca3af;
    font-size: 14px;
    flex-shrink: 0;
}
.kt-card__row a {
    color: #204d7a;
    text-decoration: none;
    font-weight: 500;
}
.kt-card__row a:hover { text-decoration: underline; }
.kt-card__note {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 6px;
    padding-left: 25px;
}
.kt-card__links {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.kt-card__links a {
    color: #374151;
    font-size: 0.88rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.kt-card__links a i {
    font-size: 14px;
    color: #9ca3af;
    width: 14px;
}
.kt-card__links a:hover { color: #204d7a; text-decoration: underline; }

.kt-links {
    margin-top: 32px;
    padding: 18px 22px;
    background: #f8f9fb;
    border-radius: 10px;
    border: 1px solid #e5e9f0;
}
.kt-links__title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    margin-bottom: 12px;
}
.kt-links__list {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.kt-links__list a {
    color: #204d7a;
    font-size: 0.92rem;
    text-decoration: none;
    font-weight: 500;
}
.kt-links__list a:hover { text-decoration: underline; }
.kt-links__list i {
    margin-right: 6px;
    font-size: 14px;
    color: #9ca3af;
}

@media (max-width: 767px) {
    .kt-title { font-size: 1.6rem; }
    .kt-links__list { flex-direction: column; gap: 12px; }
}

/* ══════════════════════════════════════════
   aa-* = AddAccess.aspx  (výber prístupu)
══════════════════════════════════════════ */

.aa-alert { margin-bottom: 16px; }
.aa-alert:not(:empty) { padding: 14px 18px; background: #fff3cd; border: 1px solid #fde68a; border-radius: 8px; color: #92400e; }
.aa-alert--info:not(:empty) { background: #dbeafe; border-color: #93c5fd; color: #1e3a5f; }

.aa-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 6px;
}
.aa-subtitle {
    color: #6b7280;
    margin-bottom: 28px;
    font-size: 0.97rem;
}

/* Grid — auto-fill kariet */
.aa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
    align-items: start;
}
/* pricing-col = server-visibility wrapper, neviditeľný kontajner */
.pricing-col { display: contents; }

/* Karta */
.aa-card {
    border: 2px solid #e5e9f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.aa-card:hover {
    border-color: #a0b8d0;
    box-shadow: 0 6px 20px rgba(0,0,0,.09);
    transform: translateY(-2px);
}
.aa-card--selected {
    border-color: #204d7a;
    box-shadow: 0 0 0 3px rgba(32,77,122,.12), 0 6px 20px rgba(32,77,122,.1);
}

/* Farebný pás navrchu */
.aa-card__accent { height: 5px; width: 100%; }
.aa-card--obsah    .aa-card__accent { background: #204d7a; }
.aa-card--profi    .aa-card__accent { background: #4b7f36; }
.aa-card--obcan    .aa-card__accent { background: #1d6fa4; }
.aa-card--materska .aa-card__accent { background: #0891b2; }
.aa-card--otazka   .aa-card__accent { background: #d97706; }

.aa-card__body {
    padding: 20px 20px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.aa-card__label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #9ca3af;
    margin-bottom: 3px;
}
.aa-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 14px;
    line-height: 1.35;
}
.aa-card--profi    .aa-card__name { color: #3a6129; }
.aa-card--obcan    .aa-card__name { color: #1a5a8a; }
.aa-card--materska .aa-card__name { color: #0c6f8a; }
.aa-card--otazka   .aa-card__name { color: #b45309; }

.aa-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}
.aa-card__price {
    font-size: 1.85rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}
.aa-card__vat { font-size: 0.875rem; color: #9ca3af; }

.aa-card__validity {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.aa-card__validity i { font-size: 14px; }

.aa-card__upgrade-badge {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.8rem;
    color: #92400e;
    margin-bottom: 12px;
}
.aa-card__upgrade-badge i { margin-right: 5px; color: #d97706; }

/* Zoznam vlastností */
.aa-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    flex: 1;
}
.aa-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.87rem;
    color: #374151;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.45;
}
.aa-card__features li:last-child { border-bottom: none; }
.aa-card__features li a { color: #6b7280; font-size: 14px; margin-left: 2px; }
.aa-card__features li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.aa-feat--yes::before   { content: "\f00c"; color: #4b7f36; }
.aa-feat--no::before    { content: "\f00d"; color: #dc2626; }
.aa-feat--video::before { content: "\f144"; color: #204d7a; }

.aa-card__bonus {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #15803d;
    margin-top: auto;
}
.aa-card__bonus i { color: #16a34a; margin-right: 5px; }

/* Footer karty */
.aa-card__footer {
    padding: 12px 20px 16px;
    border-top: 1px solid #f3f4f6;
}
.aa-card__footer input[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.aa-card__select-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background: #f8fafc;
    border: 2px solid #e5e9f0;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all .15s;
    margin: 0;
    gap: 8px;
}
.aa-card--selected .aa-card__select-btn {
    background: #204d7a;
    border-color: #204d7a;
    color: #fff;
}
.aa-card--selected .aa-card__select-btn::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
}
.aa-card--profi.aa-card--selected    .aa-card__select-btn { background: #4b7f36; border-color: #4b7f36; }
.aa-card--obcan.aa-card--selected    .aa-card__select-btn { background: #1d6fa4; border-color: #1d6fa4; }
.aa-card--materska.aa-card--selected .aa-card__select-btn { background: #0891b2; border-color: #0891b2; }
.aa-card--otazka.aa-card--selected   .aa-card__select-btn { background: #d97706; border-color: #d97706; }

/* Kupón */
.aa-coupon-row { margin-bottom: 28px; }
.aa-coupon {
    background: #f8f9fb;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    padding: 20px 22px;
}
.aa-coupon__label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7280;
    margin-bottom: 12px;
}
.aa-coupon__label i { margin-right: 6px; }
.aa-coupon__row { display: flex; gap: 10px; flex-wrap: wrap; }
.aa-coupon__input { flex: 1; min-width: 180px; }
.aa-coupon__btn {
    background: #204d7a;
    color: #fff;
    border: none;
    padding: 7px 18px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
}
.aa-coupon__btn:hover { background: #1a3f63; color: #fff; }
.aa-coupon__btn-del {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    padding: 7px 16px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
}
.aa-coupon__msg { margin-top: 10px; font-size: 0.9rem; }

/* Submit tlačidlo */
.aa-submit-row { margin-bottom: 32px; }
.aa-submit-btn {
    background: #4b7f36;
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    transition: background .15s;
}
.aa-submit-btn:hover { background: #3a6129; color: #fff; }

@media (max-width: 575px) {
    .aa-grid { grid-template-columns: 1fr; }
    .aa-coupon__row { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════
   ADDACCESS.ASPX — AI prístupy (102/103/104/108): informačné karty,
   zatiaľ NEOBJEDNÁVATEĽNÉ (cena ešte nie je stanovená) - žiadny
   radio/select-btn, len popis + poznámka o testovacej prevádzke.
   ═══════════════════════════════════════════════════════════════ */

.aa-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e3a5f;
    margin: 8px 0 6px;
}
.aa-section-subtitle {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.aa-card--ai .aa-card__accent { background: #7c3aed; }
.aa-card--ai .aa-card__name { color: #5b21b6; }
/* Informacna karta sa neda vybrat/objednat - ziadny hover-lift efekt ako pri
   objednavatelnych kartach, aby nepôsobila klikatelne. */
.aa-card--ai { cursor: default; }
.aa-card--ai:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    border-color: #e5e9f0;
}

.aa-card__info-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.8rem;
    color: #5b21b6;
    margin-bottom: 12px;
}
.aa-card__info-badge i { color: #7c3aed; }

/* ═══════════════════════════════════════════════════════════════
   REGISTER.ASPX — karta Zadarmo
   ═══════════════════════════════════════════════════════════════ */

.aa-card--free .aa-card__accent { background: linear-gradient(135deg, #9ca3af, #6b7280); }
.aa-card--free { border-top: none; }
.aa-card--free .aa-card__name { color: #374151; }
.aa-card--free .aa-card__price { color: #374151; }
.aa-card--free .aa-card__select-btn { background: #6b7280; border-color: #6b7280; color: #fff; }
.aa-card--free .aa-card__select-btn:hover { background: #4b5563; border-color: #4b5563; color: #fff; }
.aa-card--free.aa-card--selected { border-color: #9ca3af; }
.aa-card--free.aa-card--selected .aa-card__select-btn { background: #4b5563; border-color: #4b5563; color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   REGISTER.ASPX — krokový sprievodca (stepwizard)
   ═══════════════════════════════════════════════════════════════ */

.reg-wizard {
    display: flex;
    justify-content: center;
    margin: 0 0 32px;
}

.reg-wizard .setup-panel {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 520px;
}

.reg-wizard .stepwizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

/* Spojovacia čiara medzi krokmi */
.reg-wizard .stepwizard-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.reg-wizard .stepwizard-step a.btn-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #9ca3af;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: background .15s, border-color .15s, color .15s;
    position: relative;
    z-index: 1;
}

.reg-wizard .stepwizard-step a.btn-primary {
    background: #204d7a;
    border-color: #204d7a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(32,77,122,.25);
}

.reg-wizard .stepwizard-step a.btn-default[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

.reg-wizard .stepwizard-step p {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin: 8px 0 0;
    text-align: center;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   REGISTER.ASPX — formuláre (kroky 2 a 3)
   ═══════════════════════════════════════════════════════════════ */

.reg-form-wrap {
    max-width: 560px;
    margin: 0 auto 40px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.reg-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.reg-input {
    border-color: #d1d5db;
    border-radius: 0 8px 8px 0 !important;
    font-size: 0.95rem;
    transition: border-color .15s, box-shadow .15s;
}
.reg-input:focus {
    border-color: #204d7a;
    box-shadow: 0 0 0 3px rgba(32,77,122,.1);
}

.reg-input-icon {
    background: #f3f6fa;
    border-color: #d1d5db;
    color: #9ca3af;
    border-radius: 8px 0 0 8px !important;
    padding: 0 12px;
}

.reg-optional {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 400;
}

.reg-field-err {
    font-size: 0.875rem;
    color: #dc2626;
    margin-top: 4px;
}

/* Firma / Osoba prepínač */
.reg-subj-toggle {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.reg-subj-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    transition: border-color .15s, background .15s;
    flex: 1;
    min-width: 200px;
}
.reg-subj-option input[type=radio] { accent-color: #204d7a; }
.reg-subj-option:has(input:checked) {
    border-color: #204d7a;
    background: #f0f6ff;
    color: #1a3e66;
}
.reg-subj-option i { color: #204d7a; font-size: 1rem; }

/* Pomocné tlačidlá nad kartami */
.reg-link-btn {
    font-size: 0.875rem;
    font-weight: 600;
    background: #f3f6fa;
    color: #204d7a;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 6px 14px;
    margin-right: 8px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: background .15s;
}
.reg-link-btn:hover { background: #e2ecf8; color: #1a3e66; }
.reg-link-btn--green { color: #3a6129; }
.reg-link-btn--green:hover { background: #e6f4e0; color: #2d4e1f; }

@media (max-width: 575px) {
    .reg-form-wrap { padding: 20px 16px; }
    .reg-subj-toggle { flex-direction: column; }
    .reg-wizard .stepwizard-step p { font-size: 0.875rem; }
}

/* ═══════════════════════════════════════════════════════════════
   REGISTER2.ASPX — ďakovná stránka po registrácii
   ═══════════════════════════════════════════════════════════════ */

.r2-wrap {
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Úspech header */
.r2-success {
    text-align: center;
    padding: 40px 20px 32px;
}
.r2-success__icon {
    font-size: 3.5rem;
    color: #4b7f36;
    margin-bottom: 16px;
    line-height: 1;
}
.r2-success__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a2e46;
    margin-bottom: 10px;
}
.r2-success__sub {
    font-size: 1rem;
    color: #6b7280;
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Karta objednávky */
.r2-order-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

.r2-order__num-wrap {
    background: linear-gradient(135deg, #1a2e46 0%, #204d7a 100%);
    padding: 20px 28px;
    color: #fff;
}
.r2-order__num-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.65);
    margin-bottom: 6px;
}
.r2-order__num {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    word-break: break-all;
}

.r2-order__section {
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f0f4fa;
}
.r2-order__section-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    margin-bottom: 14px;
}
.r2-order__section-title i { margin-right: 6px; }

.r2-order__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}
.r2-order__table td {
    padding: 7px 0;
    border-bottom: 1px solid #f3f6fa;
    vertical-align: top;
}
.r2-order__table td:first-child {
    color: #6b7280;
    width: 40%;
    padding-right: 12px;
    white-space: nowrap;
}
.r2-order__table td:last-child { color: #1a2e46; }
.r2-order__table tr:last-child td { border-bottom: none; }

.r2-order__price {
    font-size: 1.1rem;
    color: #204d7a;
}

/* Info box */
.r2-order__info-box {
    margin: 0;
    padding: 16px 28px;
    background: #fef9ec;
    border-top: 1px solid #fde68a;
    border-bottom: 1px solid #fde68a;
    font-size: 0.9rem;
    color: #92400e;
    line-height: 1.55;
}
.r2-order__info-box i { margin-right: 6px; }
.r2-order__info-box--free {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

/* Akcie */
.r2-order__actions {
    padding: 20px 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.r2-btn-invoice {
    background: #204d7a;
    color: #fff;
    border: none;
    padding: 11px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 9px;
    text-decoration: none;
    transition: background .15s;
}
.r2-btn-invoice:hover { background: #1a3e63; color: #fff; }

.r2-btn-home {
    background: #f3f6fa;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 11px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 9px;
    text-decoration: none;
    transition: background .15s;
}
.r2-btn-home:hover { background: #e5eaf2; color: #111827; }

/* ═══════════════════════════════════════════════════════════════
   FRM-CARD — spoločný štýl pre jednoduché formulárové stránky
   (Forgot, Reactivate, ...)
   ═══════════════════════════════════════════════════════════════ */

.frm-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 36px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.frm-card__hero { text-align: center; }
.frm-card__icon {
    font-size: 2.6rem;
    color: #204d7a;
    margin-bottom: 14px;
    line-height: 1;
}
.frm-card__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a2e46;
    margin-bottom: 8px;
}
.frm-card__sub {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.frm-card__links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 4px;
    border-top: 1px solid #f0f4fa;
}
.frm-card__links a {
    font-size: 0.8rem;
    color: #6b7280;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color .12s;
}
.frm-card__links a:hover { color: #204d7a; }
.frm-card__links a i { font-size: 0.875rem; }

.frm-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.55;
}
.frm-alert i { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.frm-alert a { font-weight: 600; }

.frm-alert--warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
.frm-alert--warning i { color: #d97706; }
.frm-alert--warning a { color: #b45309; }

.frm-alert--error {
    background: #fff5f5;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.frm-alert--error i { color: #dc2626; }
.frm-alert--error a { color: #b91c1c; }

.frm-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.frm-alert--success i { color: #16a34a; }

@media (max-width: 575px) {
    .frm-card { padding: 24px 18px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   POMOCNÍK MODAL — help-list
   ═══════════════════════════════════════════════════════════════ */

.help-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 4px;
}

.help-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: #1a2e46;
    border-bottom: 1px solid #f0f4fa;
    transition: background .12s;
}
.help-item:last-child { border-bottom: none; }
.help-item:hover { background: #f8fafc; color: #1a2e46; text-decoration: none; }

.help-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.help-item__icon--blue   { background: #dbeafe; color: #1d4ed8; }
.help-item__icon--green  { background: #dcfce7; color: #15803d; }
.help-item__icon--orange { background: #ffedd5; color: #c2410c; }
.help-item__icon--gray   { background: #f3f4f6; color: #6b7280; }

.help-item__text { flex: 1; min-width: 0; }
.help-item__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2e46;
    line-height: 1.3;
}
.help-item__sub {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 2px;
    line-height: 1.3;
}

.help-item__arrow {
    color: #d1d5db;
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: color .12s, transform .12s;
}
.help-item:hover .help-item__arrow {
    color: #9ca3af;
    transform: translateX(2px);
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT — banner, modal, cookies.aspx
   ═══════════════════════════════════════════════════════════════ */

/* Banner */
.ck-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #1a2e46;
    border-top: 3px solid #204d7a;
    padding: 14px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.18);
}
.ck-banner__inner {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ck-banner__ico {
    color: #f59e0b;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.ck-banner__text {
    flex: 1;
    font-size: 0.88rem;
    color: rgba(255,255,255,.87);
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ck-banner__more {
    color: #93c5fd;
    white-space: nowrap;
    font-size: 0.875rem;
}
.ck-banner__more:hover { color: #bfdbfe; }
.ck-banner__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.ck-btn-accept {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 7px;
    white-space: nowrap;
    transition: background .15s;
}
.ck-btn-accept:hover { background: #15803d; color: #fff; }
.ck-btn-decline {
    background: transparent;
    color: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.25);
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 7px;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.ck-btn-decline:hover { background: rgba(255,255,255,.1); color: #fff; }
.ck-btn-settings {
    background: transparent;
    color: rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.15);
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 7px;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.ck-btn-settings:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }

/* Footer link */
.ck-footer-settings-link { cursor: pointer; }

/* Settings modal */
.ck-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -10px -12px -10px 8px;
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
    opacity: .9;
}
.ck-modal-close:hover,
.ck-modal-close:focus { color: #fff; opacity: 1; text-decoration: none; }
#ckModal.ck-modal-fallback,
#ckModal:target {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000001;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px;
    background: rgba(15, 23, 42, .62);
    -webkit-overflow-scrolling: touch;
}
#ckModal:target { opacity: 1; }
#ckModal.ck-modal-fallback .modal-dialog,
#ckModal:target .modal-dialog {
    box-sizing: border-box;
    width: calc(100% - 24px);
    max-width: 500px;
    margin: 18px auto;
    -webkit-transform: none;
    transform: none;
}
#ckModal.ck-modal-fallback .modal-content,
#ckModal:target .modal-content {
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.ck-settings-list {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.ck-settings-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f4fa;
}
.ck-settings-row:last-child { border-bottom: none; }
.ck-settings-row__info { flex: 1; }
.ck-settings-row__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2e46;
    margin-bottom: 3px;
}
.ck-settings-row__provider {
    font-size: 0.875rem;
    font-weight: 400;
    color: #9ca3af;
    margin-left: 6px;
}
.ck-settings-row__desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Badges */
.ck-badge {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .03em;
}
.ck-badge--on  { background: #dcfce7; color: #15803d; }
.ck-badge--opt { background: #fef9c3; color: #854d0e; }

/* Toggle switch */
.ck-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.ck-toggle input { opacity: 0; width: 0; height: 0; }
.ck-toggle__slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 24px;
    transition: background .2s;
}
.ck-toggle__slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.ck-toggle input:checked + .ck-toggle__slider { background: #16a34a; }
.ck-toggle input:checked + .ck-toggle__slider::before { transform: translateX(20px); }

.ck-modal-link {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 4px;
}
.ck-modal-link:hover { color: #6b7280; }

/* ─── cookies.aspx stránka ─── */
.ck-page { max-width: 780px; margin: 0 auto 60px; }

.ck-page__hero {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
}
.ck-page__hero-icon {
    font-size: 2.8rem;
    color: #f59e0b;
    line-height: 1;
    flex-shrink: 0;
}
.ck-page__title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1a2e46;
    margin: 0 0 4px;
}
.ck-page__sub {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}
.ck-page__body { display: flex; flex-direction: column; gap: 0; }

.ck-section {
    padding: 24px 0;
    border-bottom: 1px solid #f0f4fa;
}
.ck-section:last-child { border-bottom: none; }
.ck-section__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2e46;
    margin-bottom: 12px;
}
.ck-section p { font-size: 0.93rem; color: #374151; line-height: 1.7; margin-bottom: 10px; }
.ck-section p:last-child { margin-bottom: 0; }

.ck-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.ck-table-head {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}
.ck-table-head strong { font-size: 0.9rem; color: #1a2e46; }
.ck-table-head__desc { font-size: 0.8rem; color: #6b7280; flex: 1; min-width: 200px; }
.ck-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.ck-table thead th {
    background: #f8fafc;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}
.ck-table tbody td {
    padding: 10px 14px;
    color: #374151;
    border-bottom: 1px solid #f3f6fa;
    vertical-align: top;
    line-height: 1.5;
}
.ck-table tbody tr:last-child td { border-bottom: none; }
.ck-table code {
    background: #f0f4fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #204d7a;
}
.ck-table__note {
    padding: 12px 16px;
    background: #eff6ff;
    font-size: 0.875rem;
    color: #1e40af;
    border-top: 1px solid #bfdbfe;
    margin: 0;
    line-height: 1.55;
}
.ck-table__note i { margin-right: 5px; }
.ck-table__note a { color: #1d4ed8; }

.ck-page__settings-btn {
    background: #204d7a;
    color: #fff;
    border: none;
    padding: 11px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 9px;
    transition: background .15s;
}
.ck-page__settings-btn:hover { background: #1a3e63; color: #fff; }

.ck-server-settings {
    scroll-margin-top: 90px;
}
.ck-server-settings__status {
    margin: 14px 0;
    padding: 12px 14px;
    border: 1px solid #d9e3ef;
    background: #f8fafc;
    color: #334155;
    font-size: 1rem;
}
.ck-consent-state { font-weight: 700; }
.ck-consent-state--allowed { color: #15803d; }
.ck-consent-state--denied { color: #b42318; }
.ck-server-settings__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ck-server-settings__allow,
.ck-server-settings__decline {
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}
.ck-server-settings__allow {
    border: 1px solid #15803d;
    background: #16a34a;
    color: #fff;
}
.ck-server-settings__decline {
    border: 1px solid #94a3b8;
    background: #fff;
    color: #334155;
}

.ck-browser-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}
.ck-browser-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    transition: background .12s, border-color .12s;
}
.ck-browser-list li a:hover { background: #f3f6fa; border-color: #d1d5db; }
.ck-browser-list li a i { font-size: 1rem; color: #6b7280; }

@media (max-width: 575px) {
    .ck-banner__inner { flex-direction: column; align-items: flex-start; }
    .ck-banner__actions { width: 100%; }
    .ck-btn-accept, .ck-btn-decline, .ck-btn-settings { flex: 1; text-align: center; }
    .ck-settings-row { flex-direction: column; align-items: flex-start; }
    #ckModal.ck-modal-fallback, #ckModal:target { padding: 8px; }
    #ckModal.ck-modal-fallback .modal-dialog, #ckModal:target .modal-dialog { width: 100%; margin: 8px auto; }
    #ckModal.ck-modal-fallback .modal-content, #ckModal:target .modal-content { max-height: calc(100vh - 16px); }
    #ckModal .relia-login-modal__body { padding: 20px 16px; }
    #ckModal .relia-login-modal__actions .btn { width: 100%; min-height: 44px; }
    .ck-server-settings__actions { display: block; }
    .ck-server-settings__allow,
    .ck-server-settings__decline { display: block; width: 100%; margin-bottom: 10px; }
    .ck-table { font-size: 0.8rem; }
    .ck-table thead { display: none; }
    .ck-table tbody td { display: block; padding: 6px 12px; border-bottom: none; }
    .ck-table tbody tr { border-bottom: 1px solid #f0f4fa; display: block; }
}

/* ═══════════════════════════════════════════════════════════════
   ACTIVATE.ASPX — aktivácia účtu
   ═══════════════════════════════════════════════════════════════ */

.act-wrap {
    display: flex;
    justify-content: center;
    padding: 40px 16px 64px;
}

.act-card {
    width: 100%;
    max-width: 480px;
    border-radius: 18px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 6px 32px rgba(0,0,0,.09);
    border: 1px solid transparent;
}

.act-card--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.act-card--success .act-card__icon { color: #16a34a; }

.act-card--error {
    background: #fff5f5;
    border-color: #fecaca;
}
.act-card--error .act-card__icon { color: #dc2626; }

/* NotLogon varianty */
.act-card--warning {
    background: #fffbeb;
    border-color: #fde68a;
}
.act-card--warning .act-card__icon { color: #d97706; }
.act-card--warning .act-btn-primary { background: #d97706; }
.act-card--warning .act-btn-primary:hover { background: #b45309; }

.act-card--info {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.act-card--info .act-card__icon { color: #2563eb; }
.act-card--info .act-btn-primary { background: #2563eb; }
.act-card--info .act-btn-primary:hover { background: #1d4ed8; }

.act-card--neutral {
    background: #f9fafb;
    border-color: #e5e7eb;
}
.act-card--neutral .act-card__icon { color: #6b7280; }
.act-card--neutral .act-btn-primary { background: #4b7f36; }
.act-card--neutral .act-btn-primary:hover { background: #3a6129; }

.act-card__icon {
    font-size: 3.6rem;
    line-height: 1;
    margin-bottom: 20px;
}

.act-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2e46;
    margin-bottom: 10px;
}

.act-card__text {
    font-size: 0.97rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 28px;
}

.act-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.act-btn-primary {
    background: #204d7a;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.93rem;
    border-radius: 10px;
    width: 100%;
    max-width: 320px;
    transition: background .15s;
    text-decoration: none;
}
.act-btn-primary:hover { background: #1a3e63; color: #fff; }

.act-card--success .act-btn-primary { background: #16a34a; }
.act-card--success .act-btn-primary:hover { background: #15803d; }

.act-btn-secondary {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 11px 28px;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 10px;
    width: 100%;
    max-width: 320px;
    transition: background .15s, color .15s;
    text-decoration: none;
}
.act-btn-secondary:hover { background: #f3f6fa; color: #374151; }

@media (max-width: 575px) {
    .act-card { padding: 28px 20px; }
    .act-card__icon { font-size: 2.8rem; }
    .act-card__title { font-size: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════
   WEBINAREZAZNAM.ASPX — zoznam záznamov webinárov
   ═══════════════════════════════════════════════════════════════ */

/* Prepínač tabov grid / tabuľka */
.wz-basic-title {
    margin: 0 0 18px;
    color: #1a2e46;
    font-size: 1.65rem;
    font-weight: 800;
}

.wz-basic-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 16px;
    border: 1px solid #cbd5e1;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.wz-basic-table {
    width: 100%;
    min-width: 620px;
    border: 0;
    border-collapse: collapse;
    background: #fff;
    color: #1f2937;
    font-size: 16px;
}

.wz-basic-table th,
.wz-basic-table td {
    padding: 12px;
    border: 1px solid #dbe3ec;
    text-align: left;
    vertical-align: middle;
}

.wz-basic-table th {
    background: #eef3f8;
    color: #1a2e46;
    font-weight: 700;
}

.wz-basic-table th:nth-child(2),
.wz-basic-table td:nth-child(2) {
    width: 145px;
    white-space: nowrap;
}

.wz-basic-table th:nth-child(3),
.wz-basic-table td:nth-child(3) {
    width: 145px;
}

.wz-basic-table .btn {
    white-space: nowrap;
}

.wz-inactive {
    color: #64748b;
    font-size: 14px;
}

.wz-server-error {
    margin: 14px 0;
    padding: 14px 16px;
    border: 1px solid #f3b5b5;
    background: #fff1f1;
    color: #842029;
    font-size: 16px;
}

.wz-enhanced-views {
    margin: 16px 0;
}

.wz-enhanced-views .btn + .btn {
    margin-left: 6px;
}

.wz-server-list {
    border: 1px solid #d9e3ef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.wz-server-item {
    position: relative;
    min-height: 82px;
    padding: 15px 16px 15px 58px;
    border-bottom: 1px solid #e7edf4;
}

.wz-server-item:last-child {
    border-bottom: 0;
}

.wz-server-item__icon {
    position: absolute;
    top: 17px;
    left: 18px;
    color: var(--relia-blue);
    font-size: 24px;
}

.wz-server-item__title {
    margin: 0 0 5px;
    color: var(--relia-dark);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.wz-server-item__date {
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
}

.wz-server-item__date i {
    margin-right: 4px;
}

.wz-server-item__action {
    margin-top: 10px;
}

.wz-server-item__action:empty {
    display: none;
}

.wz-server-empty {
    padding: 38px 20px;
    border: 1px solid #d9e3ef;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    text-align: center;
}

.wz-server-empty > i {
    margin-bottom: 12px;
    color: #94a3b8;
    font-size: 34px;
}

.wz-server-empty h2 {
    margin-bottom: 8px;
    color: var(--relia-dark);
    font-size: 20px;
    font-weight: 700;
}

.wz-server-empty p {
    margin: 0 auto 16px;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.55;
}

.wz-tabs {
    margin-bottom: 0;
    border-bottom: 2px solid var(--relia-border);
}

.wz-tabs .nav-link {
    color: var(--relia-muted);
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 10px 18px;
    gap: 7px;
    display: inline-flex;
    align-items: center;
    border-radius: 0;
    transition: color .15s;
}

.wz-tabs .nav-link:hover {
    color: var(--relia-dark);
    border-bottom-color: var(--relia-border);
}

.wz-tabs .nav-link.active {
    color: var(--relia-blue);
    border-bottom-color: var(--relia-blue);
    background: transparent;
}

.wz-tab-content {
    padding-top: 20px;
}

/* Search pole nad tabuľkovým pohľadom */
.wz-table-search {
    position: relative;
    max-width: 360px;
    margin-bottom: 14px;
}

.wz-table-search label {
    display: block;
    margin-bottom: 5px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.wz-table-search > i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--relia-muted);
    font-size: 14px;
    pointer-events: none;
}

.wz-table-search .form-control {
    padding: 9px 11px;
    border-radius: 7px;
    border-color: var(--relia-border);
    font-size: 16px;
}

@media (max-width: 767px) {
    .wz-basic-title { font-size: 1.4rem; }
    .wz-basic-table { font-size: 16px; }
    .wz-basic-table th,
    .wz-basic-table td { padding: 10px; }
}

.wz-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}
.wz-hero__icon {
    font-size: 2.8rem;
    color: #204d7a;
    line-height: 1;
    flex-shrink: 0;
}
.wz-hero__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2e46;
    margin: 0 0 2px;
}
.wz-hero__sub {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
}

.wz-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.wz-search-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 420px;
}
.wz-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
    pointer-events: none;
}
.wz-search {
    padding-left: 36px;
    border-radius: 9px;
    border-color: #d1d5db;
    font-size: 0.9rem;
}
.wz-search:focus {
    border-color: #204d7a;
    box-shadow: 0 0 0 3px rgba(32,77,122,.1);
}
.wz-count {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 600;
    white-space: nowrap;
}

.wz-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.wz-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f4fa;
    transition: background .12s;
}
.wz-item:last-child { border-bottom: none; }
.wz-item:hover { background: #f8fafc; }

.wz-item__play {
    font-size: 1.5rem;
    color: #204d7a;
    flex-shrink: 0;
    opacity: .75;
}

.wz-item__body {
    flex: 1;
    min-width: 0;
}
.wz-item__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2e46;
    margin-bottom: 5px;
    line-height: 1.4;
}
.wz-item__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #6b7280;
}
.wz-item__expiry i,
.wz-item__access i { margin-right: 4px; }
.wz-item__expiry { color: #6b7280; }
.wz-item__access { color: #4b7f36; font-weight: 500; }

.wz-empty {
    text-align: center;
    padding: 48px 20px;
    color: #9ca3af;
    font-size: 1rem;
}
.wz-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    opacity: .4;
}

@media (max-width: 575px) {
    .wz-server-item {
        padding: 16px 14px 16px 52px;
    }
    .wz-server-item__icon {
        top: 18px;
        left: 15px;
        font-size: 22px;
    }
    .wz-server-item__title {
        font-size: 18px;
    }
    .wz-server-item__date {
        font-size: 16px;
    }
    .wz-server-item__action .btn {
        width: 100%;
        padding: 9px 12px;
        font-size: 16px;
    }
    .wz-item { padding: 12px 14px; gap: 12px; }
    .wz-item__meta { gap: 10px; }
    .wz-hero__icon { font-size: 2rem; }
}

@media (max-width: 575px) {
    .r2-order__num-wrap,
    .r2-order__section,
    .r2-order__info-box,
    .r2-order__actions { padding-left: 18px; padding-right: 18px; }
    .r2-order__actions { flex-direction: column; }
    .r2-btn-invoice, .r2-btn-home { text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   PROFIL – prefix .rp-
   ═══════════════════════════════════════════════════════════════ */

.rp-form-wrap {
    max-width: 700px;
    margin: 32px auto 48px;
    padding: 0 16px;
}

.rp-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
    overflow: hidden;
}

.rp-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 26px 18px;
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef7 100%);
    border-bottom: 1px solid var(--relia-border);
}

.rp-card__header > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--relia-dark);
    color: #fff;
    font-size: 19px;
    flex-shrink: 0;
}

.rp-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--relia-dark);
    margin: 0;
    line-height: 1.2;
}

/* Typ subjektu – Firma / Osoba */
.rp-type-toggle {
    display: flex;
    gap: 10px;
    padding: 20px 26px 0;
}

.rp-type-opt {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    border: 2px solid var(--relia-border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--relia-muted);
    background: #f8f9fb;
    transition: border-color .15s, background .15s, color .15s;
    cursor: pointer;
    user-select: none;
}

.rp-type-opt:has(input:checked) {
    border-color: var(--relia-blue-mid);
    background: #eef5ff;
    color: var(--relia-dark);
}

.rp-type-opt input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--relia-blue);
    cursor: pointer;
    flex-shrink: 0;
}

.rp-type-opt i {
    font-size: 15px;
    color: var(--relia-blue);
}

/* Sekcie */
.rp-section {
    padding: 0 26px;
    margin-top: 20px;
}

.rp-section-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--relia-muted);
    margin-bottom: 14px;
}

.rp-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--relia-border);
}

/* Pole */
.rp-field-group {
    margin-bottom: 14px;
}

.rp-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rp-field-row--psc {
    grid-template-columns: 140px minmax(0, 1fr);
}

.rp-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--relia-dark);
    margin-bottom: 5px;
}

.rp-input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--relia-text);
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: 6px;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
    line-height: 40px;
}

.rp-input:focus {
    border-color: var(--relia-blue-mid);
    box-shadow: 0 0 0 3px rgba(66,139,202,.12);
    outline: none;
}

/* Input s ikonou */
.rp-input-icon-wrap {
    position: relative;
}

.rp-input-icon-wrap > i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--relia-muted);
    font-size: 14px;
    pointer-events: none;
    width: 16px;
    text-align: center;
}

.rp-input-icon-wrap .rp-input {
    padding-left: 36px;
}

/* Chybová správa */
.rp-field-error {
    font-size: 14px;
    color: #dc3545;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rp-field-error::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
}

/* Submit */
.rp-form-actions {
    display: flex;
    justify-content: flex-end;
    padding: 20px 26px 24px;
    border-top: 1px solid var(--relia-border);
    margin-top: 22px;
}

.rp-submit-btn {
    height: 44px;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #31933a 0%, #237c2b 100%);
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rp-submit-btn:hover,
.rp-submit-btn:focus {
    background: linear-gradient(180deg, #28a032 0%, #1d6b23 100%);
    color: #fff;
}

@media (max-width: 640px) {
    .rp-form-wrap { padding: 0 10px; }

    .rp-type-toggle {
        flex-direction: column;
        padding: 16px 16px 0;
    }

    .rp-section {
        padding: 0 16px;
    }

    .rp-card__header {
        padding: 16px 18px 14px;
    }

    .rp-field-row,
    .rp-field-row--psc {
        grid-template-columns: 1fr;
    }

    .rp-form-actions {
        padding: 16px 16px 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PROFIL – MOJE PRÍSTUPY – prefix .pa-
   ═══════════════════════════════════════════════════════════════ */

.pa-wrap {
    max-width: 860px;
    margin: 28px auto 48px;
    padding: 0 16px;
}

.pa-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
    overflow: hidden;
}

.pa-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 26px 18px;
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef7 100%);
    border-bottom: 1px solid var(--relia-border);
}

.pa-card__header > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--relia-dark);
    color: #fff;
    font-size: 19px;
    flex-shrink: 0;
}

.pa-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--relia-dark);
    margin: 0;
    line-height: 1.2;
}

/* Stavové odznaky (badge) */
.pa-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.pa-badge--active {
    background: #edf8ef;
    border: 1px solid #bde5c1;
    color: #1a6b23;
}

.pa-badge--expired {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: var(--relia-muted);
}

/* Riadok expirovaného prístupu – stlmený */
.pa-row--expired td {
    color: var(--relia-muted);
    opacity: .75;
}

/* Meno prístupu */
.pa-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--relia-dark);
}

/* Dátum v tabuľke */
.pa-date {
    font-size: 14px;
    color: var(--relia-muted);
    white-space: nowrap;
}

/* Prázdny stav – žiadne prístupy */
.pa-empty {
    text-align: center;
    padding: 44px 24px 36px;
    color: var(--relia-muted);
    border-bottom: 1px solid var(--relia-border);
}

.pa-empty i {
    font-size: 38px;
    display: block;
    margin-bottom: 12px;
    color: #d1d5db;
}

.pa-empty__text {
    font-size: 15px;
    margin: 0 0 18px;
}

/* CTA – kúpiť / predĺžiť prístup */
.pa-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 26px;
    background: var(--relia-bg-light);
    border-top: 1px solid var(--relia-border);
    flex-wrap: wrap;
}

.pa-cta__text {
    font-size: 14px;
    color: var(--relia-dark);
    margin: 0;
    font-weight: 500;
}

.pa-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #31933a 0%, #237c2b 100%);
    border-radius: 7px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}

.pa-cta__btn:hover,
.pa-cta__btn:focus {
    background: linear-gradient(180deg, #28a032 0%, #1d6b23 100%);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 640px) {
    .pa-wrap { padding: 0 10px; }
    .pa-card__header { padding: 16px 18px 14px; }
    .pa-cta { flex-direction: column; align-items: flex-start; padding: 16px; }
    .pa-cta__btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   OTÁZKA – prefix .oq-
   ═══════════════════════════════════════════════════════════════ */

.oq-wrap {
    max-width: 740px;
    margin: 28px auto 48px;
    padding: 0 16px;
}

.oq-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
    overflow: hidden;
}

.oq-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 26px 18px;
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef7 100%);
    border-bottom: 1px solid var(--relia-border);
}

.oq-card__header > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--relia-blue);
    color: #fff;
    font-size: 19px;
    flex-shrink: 0;
}

.oq-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--relia-dark);
    margin: 0;
    line-height: 1.2;
}

.oq-card__body {
    padding: 24px 26px;
}

/* Navigačný riadok – Moje otázky / História kreditu */
.oq-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--relia-border);
}

/* Počet dostupných otázok z kreditu */
.oq-credit {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #eef5ff;
    border: 1px solid #c8d9f3;
    border-left: 3px solid var(--relia-blue);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--relia-dark);
    margin-bottom: 18px;
}

/* AI otázky – info blok o existencii AI otázok (nad VIP/RegisterVIP sekciou) */
.oq-ai-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 26px;
    background: #eef5ff;
    border-bottom: 1px solid var(--relia-border);
    font-size: 14px;
    color: var(--relia-dark);
    line-height: 1.6;
}
.oq-ai-cta__icon {
    font-size: 1.3rem;
    color: var(--relia-blue);
    flex-shrink: 0;
}
.oq-ai-cta a {
    color: var(--relia-blue);
    font-weight: 600;
}

/* Popis – informačný text k službe */
.oq-info {
    font-size: 14px;
    color: var(--relia-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.oq-info strong { color: var(--relia-text); }

/* Wrapper okolo Quill editora */
.oq-editor { margin-bottom: 10px; }

/* Počítadlo znakov pod editorom */
.oq-charcount {
    margin-top: 6px;
    font-size: 14px;
    color: var(--relia-muted);
    text-align: right;
}

/* Chybová správa po odoslaní */
.oq-error {
    display: block;
    font-size: 14px;
    color: #dc3545;
    font-weight: 600;
    margin: 8px 0 4px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #fcc;
    border-radius: 5px;
}

/* Tlačidlo odoslaní otázky */
.oq-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #31933a 0%, #237c2b 100%);
    border: none;
    border-radius: 7px;
    cursor: pointer;
    margin-top: 12px;
    transition: background .15s;
}

.oq-submit-btn:hover,
.oq-submit-btn:focus {
    background: linear-gradient(180deg, #28a032 0%, #1d6b23 100%);
    color: #fff;
}

@media (max-width: 640px) {
    .oq-wrap { padding: 0 10px; }
    .oq-card__header { padding: 16px 18px 14px; }
    .oq-card__body { padding: 18px 16px; }
    .oq-submit-btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   HISTÓRIA KREDITU NA OTÁZKY – prefix .qch-
   ═══════════════════════════════════════════════════════════════ */

.qch-wrap {
    max-width: 740px;
    margin: 28px auto 48px;
    padding: 0 16px;
}

.qch-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
    overflow: hidden;
}

.qch-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 26px 18px;
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef7 100%);
    border-bottom: 1px solid var(--relia-border);
}

.qch-card__header > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--relia-blue);
    color: #fff;
    font-size: 19px;
    flex-shrink: 0;
}

.qch-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--relia-dark);
    margin: 0;
    line-height: 1.2;
}

/* Pohybový odznak – pridanie kreditu */
.qch-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.qch-badge--plus {
    background: #edf8ef;
    border: 1px solid #bde5c1;
    color: #1a6b23;
}

/* Pohybový odznak – čerpanie (položená otázka) */
.qch-badge--minus {
    background: #fff5f5;
    border: 1px solid #fcc;
    color: #b91c1c;
}

@media (max-width: 640px) {
    .qch-wrap { padding: 0 10px; }
    .qch-card__header { padding: 16px 18px 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOJE OTÁZKY – zoznam Q&A vlákien (prefix .mq-)
   ═══════════════════════════════════════════════════════════════ */

.mq-wrap {
    max-width: 860px;
    margin: 28px auto 48px;
    padding: 0 16px;
}

.mq-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
    overflow: hidden;
}

    .mq-card + .mq-card {
        margin-top: 24px;
    }

.mq-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 26px 18px;
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef7 100%);
    border-bottom: 1px solid var(--relia-border);
}

.mq-card__header > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--relia-blue);
    color: #fff;
    font-size: 19px;
    flex-shrink: 0;
}

/* Variant hlavicky pre "Moje AI otazky" - fialova namiesto modrej, odlisenie od Q&A karty */
.mq-card__header--ai {
    background: linear-gradient(180deg, #f5f0fb 0%, #ede2f9 100%);
}

    .mq-card__header--ai > i {
        background: #6f2dbd;
    }

.mq-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--relia-dark);
    margin: 0;
    line-height: 1.2;
}

.mq-card__body {
    padding: 24px 26px;
}

/* Info box so zostatkom kreditu na otázky */
.mq-credit {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #eef5ff;
    border: 1px solid #c8d9f3;
    border-left: 3px solid var(--relia-blue);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--relia-dark);
    margin-bottom: 16px;
}

/* Navigačný riadok – Položiť otázku / História kreditu */
.mq-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--relia-border);
}

/* Pätička s CTA tlačidlom */
.mq-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--relia-border);
}

/* Kurzívny placeholder pre otázku bez odpovede */
.mq-pending {
    color: var(--relia-muted);
    font-style: italic;
    font-size: 14px;
}

@media (max-width: 640px) {
    .mq-wrap { padding: 0 10px; }
    .mq-card__header { padding: 16px 18px 14px; }
    .mq-card__body { padding: 18px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   UPOZORNENIA – zoznam notifikácií (prefix .up-)
   ═══════════════════════════════════════════════════════════════ */

.up-wrap {
    max-width: 740px;
    margin: 28px auto 48px;
    padding: 0 16px;
}

.up-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
    overflow: hidden;
}

.up-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 26px 18px;
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef7 100%);
    border-bottom: 1px solid var(--relia-border);
}

.up-card__header > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--relia-dark);
    color: #fff;
    font-size: 19px;
    flex-shrink: 0;
}

.up-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--relia-dark);
    margin: 0;
    line-height: 1.2;
}

.up-card__body {
    padding: 0;
}

/* Jedno upozornenie */
.up-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 26px;
    border-bottom: 1px solid var(--relia-border);
    transition: background .12s;
}

.up-item:hover {
    background: var(--relia-bg-light);
}

.up-item__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef5ff;
    color: var(--relia-blue);
    font-size: 16px;
    margin-top: 2px;
}

.up-item__body {
    flex: 1;
    min-width: 0;
}

.up-item__text {
    font-size: 14px;
    color: var(--relia-text);
    line-height: 1.5;
    margin-bottom: 4px;
}

.up-item__date {
    font-size: 14px;
    color: var(--relia-muted);
}

/* Prázdny stav */
.up-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
    text-align: center;
    color: var(--relia-muted);
}

.up-empty > i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: .4;
}

.up-empty__text {
    font-size: 15px;
    margin: 0;
}

@media (max-width: 640px) {
    .up-wrap { padding: 0 10px; }
    .up-card__header { padding: 16px 18px 14px; }
    .up-item { padding: 14px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   ADDACCESS2.ASPX – potvrdenie objednávky prístupu (prefix .a2-)
   ═══════════════════════════════════════════════════════════════ */

.a2-wrap {
    max-width: 580px;
    margin: 0 auto 56px;
    padding: 0 16px;
}

/* Úspech sekcia */
.a2-success {
    text-align: center;
    padding: 36px 20px 28px;
}

.a2-success__icon {
    font-size: 3.8rem;
    color: #16a34a;
    line-height: 1;
    margin-bottom: 16px;
}

.a2-success__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--relia-dark);
    margin-bottom: 8px;
}

.a2-success__sub {
    font-size: 1rem;
    color: var(--relia-muted);
    margin: 0;
    line-height: 1.55;
}

/* Karta s detailmi */
.a2-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
    overflow: hidden;
}

/* Hlavička s číslom objednávky */
.a2-card__num-wrap {
    background: linear-gradient(135deg, var(--relia-dark) 0%, var(--relia-blue) 100%);
    padding: 20px 26px;
    color: #fff;
}

.a2-card__num-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255,255,255,.65);
    margin-bottom: 6px;
}

.a2-card__num {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .02em;
    word-break: break-all;
}

/* Sekcia platobných údajov */
.a2-card__section {
    padding: 22px 26px 18px;
    border-bottom: 1px solid var(--relia-border);
}

.a2-card__section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--relia-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.a2-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.a2-table td {
    padding: 7px 0;
    border-bottom: 1px solid var(--relia-bg-light);
    vertical-align: top;
}

.a2-table td:first-child {
    color: var(--relia-muted);
    width: 44%;
    padding-right: 12px;
    white-space: nowrap;
}

.a2-table td:last-child { color: var(--relia-text); }
.a2-table tr:last-child td { border-bottom: none; }

.a2-price {
    font-size: 16px;
    color: var(--relia-green);
}

/* Info box */
.a2-card__info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 26px;
    background: #fef9ec;
    border-top: 1px solid #fde68a;
    border-bottom: 1px solid #fde68a;
    font-size: 14px;
    color: #92400e;
    line-height: 1.55;
}

.a2-card__info-box > i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #d97706;
}

/* Akčné tlačidlá */
.a2-card__actions {
    display: flex;
    gap: 12px;
    padding: 20px 26px;
    flex-wrap: wrap;
}

.a2-btn-invoice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--relia-dark);
    color: #fff;
    border: none;
    padding: 11px 22px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
}
.a2-btn-invoice:hover { background: var(--relia-blue); color: #fff; text-decoration: none; }

.a2-btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--relia-bg-light);
    color: var(--relia-text);
    border: 1px solid var(--relia-border);
    padding: 11px 22px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
}
.a2-btn-home:hover { background: #e5eaf2; color: var(--relia-dark); text-decoration: none; }

@media (max-width: 575px) {
    .a2-wrap { padding: 0 10px; }
    .a2-success__title { font-size: 1.35rem; }
    .a2-card__actions { flex-direction: column; }
    .a2-btn-invoice, .a2-btn-home { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   ORDERS.ASPX – moje objednávky (prefix .or-)
   ═══════════════════════════════════════════════════════════════ */

.or-wrap {
    margin-bottom: 48px;
}

.or-card {
    background: #fff;
    border: 1px solid var(--relia-border);
    border-radius: var(--relia-radius);
    box-shadow: var(--relia-shadow);
    overflow: hidden;
}

.or-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 26px 18px;
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef7 100%);
    border-bottom: 1px solid var(--relia-border);
}

.or-card__header > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--relia-dark);
    color: #fff;
    font-size: 19px;
    flex-shrink: 0;
}

.or-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--relia-dark);
    margin: 0;
    line-height: 1.2;
}

/* Prázdny stav */
.or-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
    text-align: center;
    color: var(--relia-muted);
}

.or-empty > i {
    font-size: 3rem;
    margin-bottom: 14px;
    opacity: .35;
}

.or-empty__text {
    font-size: 15px;
    margin: 0;
}

/* Číslo objednávky */
.or-ordernr {
    font-weight: 700;
    color: var(--relia-dark);
    white-space: nowrap;
}

/* Cena */
.or-price {
    font-weight: 700;
    color: var(--relia-green);
    white-space: nowrap;
}

/* Dlhý text (školenie, knihy) – zalamovanie */
.or-cell-wrap {
    font-size: 14px;
    line-height: 1.4;
}

/* Stavový badge */
.or-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.or-badge--paid {
    background: #edf8ef;
    border: 1px solid #bde5c1;
    color: #1a6b23;
}

.or-badge--pending {
    background: #fef9ec;
    border: 1px solid #fde68a;
    color: #92400e;
}

.or-badge--cancelled {
    background: #fff5f5;
    border: 1px solid #fcc;
    color: #b91c1c;
}

/* Akčné tlačidlá v poslednom stĺpci */
.or-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.or-btn--invoice {
    background: var(--relia-bg-light);
    border: 1px solid var(--relia-border);
    color: var(--relia-dark);
}
.or-btn--invoice:hover {
    background: #dde5f0;
    color: var(--relia-dark);
    text-decoration: none;
}

.or-btn--reorder {
    background: #edf8ef;
    border: 1px solid #bde5c1;
    color: #1a6b23;
    margin-top: 4px;
    display: flex;
}
.or-btn--reorder:hover {
    background: #d6f0da;
    color: #1a6b23;
    text-decoration: none;
}

@media (max-width: 991px) {
    .or-card__header { padding: 16px 18px 14px; }
}

/* ─── Fulltext hľadanie (prefix .ft-) ──────────────────────── */

.ft-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.ft-header__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e0eaf6;
    color: var(--relia-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.ft-header__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--relia-dark);
    margin: 0 0 4px;
}

.ft-header__meta {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.ft-search-bar {
    display: flex;
    gap: 8px;
    max-width: 560px;
}

.ft-search-bar__input {
    flex: 1;
    border-radius: 8px;
}

.ft-search-bar__btn {
    border-radius: 8px;
    padding: 6px 16px;
}

.ft-empty {
    text-align: center;
    padding: 52px 24px;
    color: #64748b;
}

.ft-empty__icon {
    font-size: 2.8rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: 12px;
}

.ft-empty__text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.ft-empty__hint {
    font-size: 0.9rem;
    margin: 0;
}

.ft-results-list {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.ft-result-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid #e8eef5;
    transition: background .13s;
    background: #fff;
}

.ft-result-item:last-child { border-bottom: none; }

.ft-result-item:hover {
    background: #f0f6ff;
}

.ft-result-item__num {
    font-size: 0.875rem;
    font-weight: 700;
    color: #94a3b8;
    min-width: 22px;
    text-align: right;
    padding-top: 3px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.ft-result-item__body {
    flex: 1;
    min-width: 0;
}

.ft-result-item__title {
    display: block;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--relia-dark);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 6px;
}

.ft-result-item__title:hover {
    color: var(--relia-blue);
    text-decoration: underline;
}

.ft-result-item__tags {
    margin-bottom: 6px;
    margin-top: 0;
}

.ft-result-item__excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Predajné odporúčania vo fulltexte a AI vyhľadávaní */
.search-products {
    margin: 0 0 24px;
    padding: 20px;
    border: 1px solid #f2d19b;
    border-radius: 12px;
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 100%);
    box-shadow: 0 5px 18px rgba(180, 109, 22, .08);
}
.search-products__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}
.search-products__head h2 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: #6f3f0b;
}
.search-products__head p {
    margin: 0;
    color: #7c6752;
    font-size: .86rem;
}
.search-products__head-icon {
    color: #c77818;
    font-size: 1.25rem;
    padding-top: 3px;
}
.search-products__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.search-product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 15px;
    border: 1px solid #eadfce;
    border-radius: 10px;
    background: #fff;
}
.search-product-card__type {
    margin-bottom: 6px;
    color: #a35d0c;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .035em;
}
.search-product-card h3 {
    margin: 0 0 13px;
    font-size: .96rem;
    line-height: 1.4;
}
.search-product-card h3 a {
    color: var(--relia-dark);
    text-decoration: none;
}
.search-product-card h3 a:hover {
    color: var(--relia-blue);
    text-decoration: underline;
}
.search-product-card__action {
    margin-top: auto;
}
.search-products--ai {
    margin-top: -4px;
    margin-bottom: 24px;
}
@media (max-width: 700px) {
    .search-products {
        padding: 15px;
    }
    .search-products__grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   AI vyhľadávanie – AISearch.aspx (.ais-)
   ═══════════════════════════════════════════ */

.ais-wrap {
    max-width: 860px;
    margin: 0 auto;
}

/* Otázka */
.ais-question-card {
    background: #f0f6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}
.ais-question-card__icon {
    font-size: 1.3rem;
    color: var(--relia-blue);
    flex-shrink: 0;
    padding-top: 2px;
}
.ais-question-card__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--relia-blue);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 4px;
}
.ais-question-card__text {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--relia-dark);
    margin: 0;
    line-height: 1.45;
}

/* AI odpoveď */
.ais-answer-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
}
.ais-answer-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(90deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
}
.ais-answer-card__header-icon {
    font-size: 1.15rem;
}
.ais-answer-card__header-title {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: .03em;
    margin: 0;
}
.ais-answer-card__body {
    padding: 22px 24px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.7;
}
.ais-answer-card__body p {
    margin: 0 0 12px;
}
.ais-answer-card__body p:last-child {
    margin-bottom: 0;
}

/* Kurzor bliká */
.ais-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--relia-blue);
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: ais-blink 0.9s step-end infinite;
}
@keyframes ais-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
.ais-cursor--hidden { display: none; }

/* Zdroje / výsledky */
.ais-sources {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e8eef5;
}
.ais-source-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: background .13s;
}
.ais-source-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.ais-source-item__icon {
    font-size: 1rem;
    color: var(--relia-blue);
    flex-shrink: 0;
    padding-top: 2px;
}
.ais-source-item__body {
    flex: 1;
    min-width: 0;
}
.ais-source-item__type {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #64748b;
    margin-bottom: 2px;
}
.ais-source-item__type--law   { color: #0d6efd; }
.ais-source-item__type--book  { color: #7c3aed; }
.ais-source-item__type--qa    { color: #059669; }
.ais-source-item__title {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--relia-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 3px;
}
.ais-source-item__title:hover { color: var(--relia-blue); }
.ais-source-item__excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Ďalšia otázka */
.ais-next-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.ais-next-box__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}
.ais-next-box__row {
    display: flex;
    gap: 8px;
}
.ais-next-box__input {
    flex: 1;
    font-size: 0.93rem;
}
.ais-next-box__btn {
    white-space: nowrap;
    font-size: 0.88rem;
}
.ais-next-box__input:disabled,
.ais-next-box__btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
.ais-next-box__locked-note {
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: #b3261e;
}
.ais-next-box__locked-note a {
    font-weight: 600;
}

/* Viditeľný stav počas AI vyhľadávania */
.ai-search-loading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 12px;
    padding: 11px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a5f;
    font-size: 0.9rem;
    font-weight: 600;
}
.ai-search-loading[hidden] {
    display: none !important;
}
.ai-search-loading__spinner {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border: 3px solid rgba(37, 99, 235, 0.22);
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: ai-search-spin 0.75s linear infinite;
}
@keyframes ai-search-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .ai-search-loading__spinner {
        animation-duration: 1.5s;
    }
}

/* Odkaz na Mihála */
.ais-mihal-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #92400e;
}
.ais-mihal-cta__icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.ais-mihal-cta a {
    color: var(--relia-blue);
    font-weight: 600;
}

/* AI otázky – info blok pre používateľov s prístupom 103/104 */
.ais-otazky-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin-top: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #1e3a8a;
}
.ais-otazky-cta__icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Stav: načítava sa */
.ais-loading-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 0.9rem;
    padding: 8px 0;
}
.ais-loading-row .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
    color: var(--relia-blue);
}

/* ── AI výsledkové karty (renderované z OpenAI odpovede) ─────────── */
.ais-r {
    border-left: 3px solid #2d6a4f;
    padding: 0.7rem 1rem;
    margin-bottom: 0.9rem;
    background: #f6fdf8;
    border-radius: 0 5px 5px 0;
}
.ais-r__type {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2d6a4f;
    margin-bottom: 3px;
}
.ais-r__title {
    display: block;
    font-size: 0.94rem;
    font-weight: 600;
    color: #1a3a2a;
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.35;
}
.ais-r__title:hover { color: var(--relia-blue); text-decoration: underline; }
.ais-r__excerpt {
    font-size: 0.875rem;
    color: #52626e;
    margin: 0;
    font-style: italic;
    line-height: 1.55;
}
.ais-sources__heading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #1a3a2a;
    margin: 1.2rem 0 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #d4e8db;
}
.ais-r--law { border-left-color: #1a6b3c; background: #f2fbf6; }
.ais-r__law-name { font-size: 0.875rem; font-weight: 400; color: #2d6a4f; }

/* Stav produktu - seminare, detail produktu a odporucania pri clanku */
.product-status-action {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-status-badge,
.article-recommendation__status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.product-status-badge--soldout,
.article-recommendation__status--soldout {
    color: #b42318;
    background: #fee4e2;
    border-color: #fda29b;
}

.product-status-badge--last,
.article-recommendation__status--last {
    color: #93370d;
    background: #fef0c7;
    border-color: #fec84b;
}

.product-status-badge--available,
.article-recommendation__status--available {
    color: #067647;
    background: #dcfae6;
    border-color: #75e0a7;
}

.product-status-badge--closed,
.article-recommendation__status--closed {
    color: #475467;
    background: #f2f4f7;
    border-color: #d0d5dd;
}

/* Spolocne rozmery tabuliek /seminare a /kat/{id} */
.rk-sem-table {
    min-width: 820px;
    table-layout: auto;
}

.rk-sem-col-code {
    width: 72px;
}

.rk-sem-code {
    width: 72px;
    max-width: 72px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.rk-sem-col-price,
.rk-sem-price {
    width: 120px;
    min-width: 120px;
    white-space: nowrap;
}

.rk-sem-col-actions,
.rk-sem-actions-cell {
    width: 310px;
    min-width: 310px;
}

.rk-sem-actions,
.rk-sem-actions .product-status-action {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.rk-sem-actions .btn,
.rk-sem-actions .product-status-badge {
    flex: 0 0 auto;
    margin: 0;
}

@media (max-width: 991px) {
    .rk-sem-table-wrap {
        overflow-x: auto;
    }
}

/* /obchod pouziva rovnake stlpce a typografiu ako /seminare */
.rk-shop-table .pk-kod {
    width: 72px;
    max-width: 72px;
    color: var(--relia-muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}

.rk-shop-table .pk-cena {
    width: 120px;
    min-width: 120px;
    color: var(--relia-green);
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.rk-shop-table td.text-end {
    width: 310px;
    min-width: 310px;
    text-align: left !important;
}

.rk-shop-table .pk-btn {
    margin: 0;
    padding: 6px 12px !important;
}

.rk-shop-table .pk-vypredane {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #fda29b;
    border-radius: 999px;
    color: #b42318;
    background: #fee4e2;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

/*
 * Mobilna citatelnost
 *
 * V starsich aj novych castiach webu sa pouzivaju pevne velkosti 14-15 px
 * aj mensie hodnoty v rem. Na uzkom displeji ich jednotne zvacsime bez toho,
 * aby sme splostili typograficku hierarchiu nadpisov a dolezitych cien.
 */
@media (max-width: 767px) {
    html {
        -webkit-text-size-adjust: 115%;
        text-size-adjust: 115%;
    }

    /* Detail clanku: rovnaka citatelna typografia pre volny aj zamknuty obsah. */
    .art-title {
        font-size: 28px !important;
        line-height: 1.3;
    }

    .art-meta__author,
    .art-meta__date,
    .art-tags,
    .art-tags a {
        font-size: 16px !important;
        line-height: 1.5;
    }

    .article-body,
    .article-body--locked {
        font-size: 18px !important;
        line-height: 1.75 !important;
        color: #1e293b;
    }

    /* Starsie clanky mozu mat malu velkost ulozenu priamo v HTML. */
    .article-body :is(p, div, span, a, strong, b, em, i, u, font, ul, ol, li, blockquote),
    .article-body--locked :is(p, div, span, a, strong, b, em, i, u, font, ul, ol, li, blockquote) {
        font-size: inherit !important;
        line-height: inherit !important;
    }

    .article-body h2,
    .article-body--locked h2 {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }

    .article-body h3,
    .article-body--locked h3 {
        font-size: 21px !important;
        line-height: 1.4 !important;
    }

    .article-body h4,
    .article-body h5,
    .article-body h6,
    .article-body--locked h4,
    .article-body--locked h5,
    .article-body--locked h6 {
        font-size: 19px !important;
        line-height: 1.45 !important;
    }

    .article-body table,
    .article-body--locked table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        font-size: 17px !important;
        line-height: 1.55 !important;
        -webkit-overflow-scrolling: touch;
    }

    .article-body :is(td, th),
    .article-body--locked :is(td, th) {
        font-size: inherit !important;
        line-height: inherit !important;
    }
}

/*
 * Safari 15 a starsi na macOS: citatelnost bez zavislosti od JavaScriptu.
 * Tento blok musi zostat na konci suboru, aby mal prednost pred starsimi stylmi.
 */
html.relia-safari-legacy {
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html.relia-safari-legacy body {
    font-size: 17px;
    line-height: 1.55;
}

html.relia-safari-legacy main p,
html.relia-safari-legacy main li,
html.relia-safari-legacy main td,
html.relia-safari-legacy main th,
html.relia-safari-legacy .container p,
html.relia-safari-legacy .container li,
html.relia-safari-legacy .container td,
html.relia-safari-legacy .container th {
    font-size: 16px !important;
    line-height: 1.55;
}

html.relia-safari-legacy input,
html.relia-safari-legacy select,
html.relia-safari-legacy textarea,
html.relia-safari-legacy button,
html.relia-safari-legacy .btn {
    font-size: 16px !important;
}

html.relia-safari-legacy .modal-content,
html.relia-safari-legacy .relia-login-modal__body {
    font-size: 17px;
}

html.relia-safari-legacy .modal-content p,
html.relia-safari-legacy .modal-content li,
html.relia-safari-legacy .modal-content label,
html.relia-safari-legacy .modal-content input,
html.relia-safari-legacy .modal-content select,
html.relia-safari-legacy .modal-content textarea,
html.relia-safari-legacy .modal-content button,
html.relia-safari-legacy .modal-content a:not(.ck-modal-close) {
    font-size: 16px !important;
    line-height: 1.5;
}

html.relia-safari-legacy .modal-content .modal-title,
html.relia-safari-legacy .modal-content h4 {
    font-size: 21px !important;
    line-height: 1.35;
}

html.relia-safari-legacy .relia-login-modal__logo {
    font-size: 24px;
}

html.relia-safari-legacy .relia-login-modal__title {
    font-size: 21px;
    line-height: 1.35;
}

html.relia-safari-legacy .relia-login-modal__label,
html.relia-safari-legacy .relia-login-modal__links,
html.relia-safari-legacy .relia-login-modal__links a,
html.relia-safari-legacy .relia-login-modal__input,
html.relia-safari-legacy .relia-login-modal__btn-primary,
html.relia-safari-legacy .relia-login-modal__btn-cancel {
    font-size: 16px !important;
}

html.relia-safari-legacy .relia-login-modal__input {
    min-height: 48px;
}

html.relia-safari-legacy .ck-settings-row__name {
    font-size: 17px;
}

html.relia-safari-legacy .ck-settings-row__desc {
    font-size: 16px;
    line-height: 1.5;
}

html.relia-safari-legacy .ck-badge,
html.relia-safari-legacy .ck-modal-link {
    font-size: 15px;
}
