/* ============================================
   CSLab.cz - Custom Styles
   Bootstrap 5.3 rozšíření
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --cs-primary: #0d4f8b;
    --cs-primary-dark: #0a3d6b;
    --cs-secondary: #1b9be0;
    --cs-accent: #00a89d;
    --cs-accent-dark: #008f86;
    --cs-danger: #d9534f;
    --cs-light: #f4f8fb;
    --cs-dark: #1a1a2e;
    --cs-text: #2d3748;
    --cs-text-muted: #6b7280;
    --cs-border: #e2e8f0;
    --cs-white: #ffffff;
    --cs-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --cs-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --cs-radius: 12px;
    --cs-radius-sm: 8px;
    --cs-transition: 0.3s ease;
}

/* --- Base --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--cs-text);
    background-color: var(--cs-white);
    line-height: 1.7;
}

::selection {
    background-color: var(--cs-secondary);
    color: var(--cs-white);
}

a {
    color: var(--cs-secondary);
    text-decoration: none;
    transition: color var(--cs-transition);
}

a:hover {
    color: var(--cs-primary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--cs-primary);
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.text-accent {
    color: var(--cs-accent) !important;
}

.code-badge {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.8rem;
    background: var(--cs-accent);
    color: var(--cs-white);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.code-badge-sm {
    font-size: 0.7rem;
    padding: 2px 8px;
}

/* --- Section Spacing --- */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 50px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--cs-accent);
    border-radius: 3px;
}

.section-title p {
    color: var(--cs-text-muted);
    max-width: 600px;
    margin: 20px auto 0;
}

/* --- Navbar --- */
.navbar-cslab {
    background: var(--cs-white) !important;
    padding: 12px 0;
    transition: all var(--cs-transition);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.navbar-cslab.scrolled {
    padding: 6px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-cslab .navbar-brand {
    padding: 0;
}

.navbar-cslab .navbar-brand img {
    height: 48px;
    width: auto;
    transition: height var(--cs-transition);
}

.navbar-cslab.scrolled .navbar-brand img {
    height: 38px;
}

.navbar-cslab .nav-link {
    color: var(--cs-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color var(--cs-transition);
}

.navbar-cslab .nav-link:hover,
.navbar-cslab .nav-link.active {
    color: var(--cs-primary) !important;
}

.navbar-cslab .dropdown-menu {
    border: none;
    box-shadow: var(--cs-shadow-lg);
    border-radius: var(--cs-radius);
    padding: 10px;
}

.navbar-cslab .dropdown-item {
    border-radius: var(--cs-radius-sm);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.navbar-cslab .dropdown-item:hover {
    background: var(--cs-light);
    color: var(--cs-primary);
}

.btn-client-zone {
    background: var(--cs-primary);
    border: 2px solid var(--cs-primary);
    color: var(--cs-white) !important;
    border-radius: var(--cs-radius-sm);
    padding: 6px 20px !important;
    font-weight: 600;
    font-size: 0.9rem !important;
    transition: all var(--cs-transition);
}

.btn-client-zone:hover {
    background: var(--cs-primary-dark);
    border-color: var(--cs-primary-dark);
    color: var(--cs-white) !important;
}

/* Hamburger icon pro světlý navbar */
.navbar-cslab .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.15);
}

.navbar-cslab .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845, 55, 72, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero --- */
.hero-section {
    background: linear-gradient(135deg, var(--cs-primary) 0%, var(--cs-primary-dark) 100%);
    color: var(--cs-white);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

/* Spodní vlnka hero — modro-bílý přechod tvaru vlny */
.hero-wave-bottom {
    position: relative;
    background: linear-gradient(135deg, var(--cs-primary) 0%, var(--cs-primary-dark) 100%);
    padding: 40px 0 0;
}

.hero-wave-bottom::after {
    content: '';
    display: block;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23f4f8fb' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.hero-section h1 {
    color: var(--cs-white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--cs-white);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(4px);
}

/* --- Bubbles / Water Decorations --- */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: floatBubble 18s ease-in-out infinite;
}

.bubble:nth-child(1) { width: 80px; height: 80px; left: 5%; top: 20%; animation-delay: 0s; animation-duration: 20s; }
.bubble:nth-child(2) { width: 140px; height: 140px; right: 8%; top: 15%; animation-delay: -3s; animation-duration: 24s; }
.bubble:nth-child(3) { width: 50px; height: 50px; left: 25%; top: 60%; animation-delay: -7s; animation-duration: 16s; }
.bubble:nth-child(4) { width: 200px; height: 200px; right: -40px; top: 35%; animation-delay: -5s; animation-duration: 22s; background: rgba(0, 168, 157, 0.06); border-color: rgba(0, 168, 157, 0.08); }
.bubble:nth-child(5) { width: 35px; height: 35px; left: 60%; top: 75%; animation-delay: -10s; animation-duration: 14s; }
.bubble:nth-child(6) { width: 100px; height: 100px; left: 45%; top: 10%; animation-delay: -2s; animation-duration: 26s; }
.bubble:nth-child(7) { width: 60px; height: 60px; right: 25%; top: 65%; animation-delay: -8s; animation-duration: 18s; }
.bubble:nth-child(8) { width: 25px; height: 25px; left: 15%; top: 45%; animation-delay: -12s; animation-duration: 15s; }

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    25% { transform: translateY(-15px) scale(1.03); opacity: 0.8; }
    50% { transform: translateY(8px) scale(0.97); opacity: 0.5; }
    75% { transform: translateY(-10px) scale(1.02); opacity: 0.7; }
}

/* Molekulární/vodní tečky — decentní pozadí pro světlé sekce */
.water-pattern {
    position: relative;
}

.water-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(27, 155, 224, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 60%, rgba(0, 168, 157, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(13, 79, 139, 0.05) 0%, transparent 45%);
}

/* Plovoucí kapka — SVG dekorace pro sekce */
.deco-droplet {
    position: absolute;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.deco-droplet.left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.deco-droplet.right {
    right: -30px;
    top: 30%;
}

/* Decentní molekulární body v pozadí page-header */
.page-header .bubbles-container .bubble {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

/* Laboratorní ikona dekorace */
.lab-deco {
    position: absolute;
    color: rgba(255, 255, 255, 0.05);
    font-size: 8rem;
    pointer-events: none;
    z-index: 0;
}

.lab-deco.top-right {
    top: 15%;
    right: 5%;
    transform: rotate(15deg);
}

.lab-deco.bottom-left {
    bottom: 20%;
    left: 3%;
    transform: rotate(-10deg);
}

/* Vodní vlnková animace pro CTA banner */
.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.05) 0%, transparent 40%);
    animation: gentleWave 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gentleWave {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-20px) translateY(10px); }
}

/* Jemné vodní kapičky v pozadí sekcí */
.section-water-bg {
    position: relative;
    overflow: hidden;
}

.section-water-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(27, 155, 224, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.section-water-bg > .container {
    position: relative;
    z-index: 1;
}

/* --- Buttons --- */
.btn-cs-primary {
    background: var(--cs-secondary);
    color: var(--cs-white);
    border: none;
    border-radius: var(--cs-radius-sm);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--cs-transition);
}

.btn-cs-primary:hover {
    background: var(--cs-primary);
    color: var(--cs-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 79, 139, 0.3);
}

.btn-cs-outline {
    background: transparent;
    color: var(--cs-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--cs-radius-sm);
    padding: 10px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--cs-transition);
}

.btn-cs-outline:hover {
    background: var(--cs-white);
    color: var(--cs-primary);
    border-color: var(--cs-white);
}

.btn-cs-accent {
    background: var(--cs-accent);
    color: var(--cs-white);
    border: none;
    border-radius: var(--cs-radius-sm);
    padding: 12px 30px;
    font-weight: 600;
    transition: all var(--cs-transition);
}

.btn-cs-accent:hover {
    background: var(--cs-accent-dark);
    color: var(--cs-white);
    transform: translateY(-2px);
}

.btn-cs-outline-dark {
    background: transparent;
    color: var(--cs-primary);
    border: 2px solid var(--cs-primary);
    border-radius: var(--cs-radius-sm);
    padding: 10px 28px;
    font-weight: 600;
    transition: all var(--cs-transition);
}

.btn-cs-outline-dark:hover {
    background: var(--cs-primary);
    color: var(--cs-white);
}

/* --- Cards --- */
.card-cs {
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    transition: all var(--cs-transition);
    overflow: hidden;
    background: var(--cs-white);
}

.card-cs:hover {
    transform: translateY(-4px);
    box-shadow: var(--cs-shadow-lg);
}

.card-cs .card-body {
    padding: 28px;
}

.card-cs .card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--cs-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    background: var(--cs-light);
    color: var(--cs-primary);
}

/* Tile cards (programy, kurzy, oblasti, regionální pracoviště, aktuality) */
.card-cs.card-tile .card-body :is(h3, h4, h5, h6) {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--cs-primary);
}

.card-cs.card-tile .card-body p {
    color: var(--cs-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Tile s accent barvou nadpisu (např. konference) */
.card-cs.card-tile.card-feature .card-body :is(h3, h4) {
    color: var(--cs-accent);
}

/* Tile s linkem "Více informací" / "Číst více" v card-body */
.card-cs.card-tile .card-body a {
    text-decoration: none;
    font-weight: 600;
}

/* Mini event card v Education Teaser */
.card-cs.card-mini .card-body h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Ikony nadcházejících školení v homepage education teaseru */
.skoleni-icon-webinar,
.skoleni-icon-other {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
}

.skoleni-icon-webinar {
    background: #dbeafe;
    color: #1e40af;
}

.skoleni-icon-other {
    background: #fef3c7;
    color: #92400e;
}

/* Datové cardy (dashboard, zkouska-detail) - uniformní spacing */
.card-cs .card-body h5 {
    margin-bottom: 1rem;
}

.card-cs .card-body h6 {
    margin-bottom: 0.5rem;
}

/* Welcome banner v dashboardu */
.card-cs.card-welcome .card-body h4 {
    margin-bottom: 0.25rem;
}

.card-cs.card-welcome .card-body p {
    color: var(--cs-text-muted);
    margin-bottom: 0;
}

/* Program card - barevný levý okraj */
.card-program {
    border-left: 4px solid var(--cs-secondary);
}

.card-program.cat-pitna { border-left-color: #1b9be0; }
.card-program.cat-uzitkova { border-left-color: #00a89d; }
.card-program.cat-odpadni { border-left-color: #e67e22; }
.card-program.cat-ostatni { border-left-color: #8e44ad; }

/* --- Stats Bar --- */
.stats-bar {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 10;
    border-radius: var(--cs-radius);
    padding: 25px 30px;
}

.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-item .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cs-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--cs-accent) 0%, var(--cs-accent-dark) 100%);
    color: var(--cs-white);
    padding: 60px 0;
    text-align: center;
}

.cta-banner h3 {
    color: var(--cs-white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.cta-banner .btn {
    background: var(--cs-white);
    color: var(--cs-accent);
    font-weight: 700;
    padding: 12px 35px;
    border-radius: var(--cs-radius-sm);
    border: none;
    transition: all var(--cs-transition);
}

.cta-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, var(--cs-primary) 0%, var(--cs-primary-dark) 100%);
    color: var(--cs-white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23ffffff' d='M0,25 C360,50 720,0 1080,25 C1260,37 1380,31 1440,25 L1440,50 L0,50 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.page-header h1 {
    color: var(--cs-white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    max-width: 600px;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 10px;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
    color: var(--cs-white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* --- Footer --- */
.footer {
    background: var(--cs-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 0;
}

.footer h5 {
    color: var(--cs-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--cs-transition);
}

.footer a:hover {
    color: var(--cs-accent);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-brand {
    margin-bottom: 15px;
    display: block;
}

.footer-brand img {
    height: 50px;
    width: auto;
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer .membership-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin: 3px 3px 3px 0;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Filter Pills --- */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-pills .filter-btn {
    background: var(--cs-white);
    color: var(--cs-text);
    border: 2px solid var(--cs-border);
    border-radius: 30px;
    padding: 8px 22px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--cs-transition);
}

.filter-pills .filter-btn:hover,
.filter-pills .filter-btn.active {
    background: var(--cs-primary);
    color: var(--cs-white);
    border-color: var(--cs-primary);
}

/* --- Tables --- */
.table-cs thead th {
    --bs-table-bg: var(--cs-primary);
    --bs-table-color: var(--cs-white);
    background-color: var(--cs-primary) !important;
    color: var(--cs-white) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 16px;
    border: none;
}

.table-cs tbody td {
    padding: 12px 16px;
    font-size: 0.9rem;
    vertical-align: middle;
}

/* --- Status Badges --- */
.badge-status {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-prihlaseno { background: #dbeafe; color: #1e40af; }
.badge-probihajici { background: #fef3c7; color: #92400e; }
.badge-dokonceno { background: #d1fae5; color: #065f46; }
.badge-cekajici { background: #fde8e8; color: #991b1b; }

/* --- Auth Pages --- */
.auth-page {
    min-height: 100vh;
    background: var(--cs-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--cs-white);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow-lg);
    padding: 40px;
    width: 100%;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo a img {
    height: 60px;
    width: auto;
}

/* --- Multi-step Form --- */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
    gap: 0;
}

.step-indicator .step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cs-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.step-indicator .step .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cs-border);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all var(--cs-transition);
}

.step-indicator .step.active .step-number {
    background: var(--cs-secondary);
    color: var(--cs-white);
    border-color: var(--cs-secondary);
}

.step-indicator .step.completed .step-number {
    background: var(--cs-accent);
    color: var(--cs-white);
    border-color: var(--cs-accent);
}

.step-indicator .step-line {
    width: 60px;
    height: 2px;
    background: var(--cs-border);
    margin: 0 12px;
    align-self: center;
    transition: background var(--cs-transition);
}

.step-indicator .step-line.completed {
    background: var(--cs-accent);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* --- Dashboard --- */
.dashboard-sidebar {
    background: var(--cs-white);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 10px;
    position: sticky;
    top: 90px;
}

.dashboard-sidebar .list-group-item {
    border: none;
    border-radius: var(--cs-radius-sm);
    padding: 12px 18px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--cs-text);
    transition: all var(--cs-transition);
}

.dashboard-sidebar .list-group-item:hover {
    background: var(--cs-light);
    color: var(--cs-primary);
}

.dashboard-sidebar .list-group-item.active {
    background: var(--cs-primary);
    color: var(--cs-white);
}

.dashboard-sidebar .list-group-item i {
    width: 24px;
    margin-right: 8px;
}

.dashboard-navbar {
    background: var(--cs-white) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.dashboard-navbar .navbar-brand img {
    height: 40px;
    width: auto;
}

.metric-card {
    background: var(--cs-white);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 24px;
    text-align: center;
    border-top: 3px solid var(--cs-secondary);
}

.metric-card .metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cs-primary);
}

.metric-card .metric-label {
    font-size: 0.85rem;
    color: var(--cs-text-muted);
    font-weight: 500;
}

.metric-card.accent { border-top-color: var(--cs-accent); }
.metric-card.warning { border-top-color: #f59e0b; }
.metric-card.success { border-top-color: #10b981; }

/* --- Timeline --- */
.timeline-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--cs-border);
}

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

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.timeline-icon.bg-info { background: #dbeafe; color: #1e40af; }
.timeline-icon.bg-success { background: #d1fae5; color: #065f46; }
.timeline-icon.bg-warning { background: #fef3c7; color: #92400e; }

.timeline-content .timeline-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.timeline-content .timeline-date {
    font-size: 0.8rem;
    color: var(--cs-text-muted);
}

/* --- Contact Form Card --- */
.contact-card {
    background: var(--cs-light);
    border-radius: var(--cs-radius);
    padding: 24px;
    border: 1px solid var(--cs-border);
}

.contact-card i {
    color: var(--cs-secondary);
    font-size: 1.2rem;
}

/* --- Wave Divider --- */
.wave-divider {
    position: relative;
    height: 50px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
}

/* --- Obsahové sekce - parent-based selektory pro tagy bez tříd --- */

/* Intro lead pod page header */
.intro-section p {
    font-size: 1.15rem;
    color: var(--cs-text);
    font-weight: 400;
    line-height: 1.7;
}

/* About sekce - O nás */
.about-section p {
    color: var(--cs-text-muted);
}

/* Feature box s ikonou (Akreditace, ISO 17043, Odborníci) */
.feature-box p {
    color: var(--cs-text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.feature-box h4 {
    margin-top: 0.5rem;
}

/* Education teaser sekce na úvodu */
.education-teaser p {
    color: var(--cs-text-muted);
}

/* Kontakt - contact-card */
.contact-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--cs-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Sekce formuláře/kontaktních údajů - margin pod nadpisy */
.contact-section h3 {
    margin-bottom: 1.5rem;
}

/* Auth pages (přihlášení, registrace) */
.auth-logo p {
    color: var(--cs-text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.auth-card h4 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-card h5 {
    margin-bottom: 1.5rem;
}

.auth-divider p {
    color: var(--cs-text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.auth-back a {
    color: var(--cs-text-muted);
    font-size: 0.875rem;
}

.auth-back a:hover {
    color: var(--cs-primary);
}

.form-row-small a {
    font-size: 0.875rem;
}

/* Řádek v card-body s nadpisem a odkazem "Zobrazit vše" */
.card-header-row h5 {
    margin-bottom: 0;
}

.card-header-row a {
    font-size: 0.875rem;
}

/* Footer */
.footer p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Zkouska-detail - test info header card */
.test-info-header h3 {
    margin-bottom: 0.5rem;
}

/* Back link na detail/přehled */
.back-link a {
    text-decoration: none;
    display: inline-block;
    color: var(--cs-secondary);
}

.back-link a:hover {
    color: var(--cs-primary);
}

/* Seznam odkazů na stažení dokumentů */
.download-list a {
    text-decoration: none;
}

/* Tab content cards (zkouska-detail) */
.tab-content .card-body h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tab-content .card-body :is(h5, h6):first-child {
    margin-top: 0;
}

.tab-content .card-body p {
    margin-bottom: 1rem;
}

.protocol-hint p {
    color: var(--cs-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Empty state (např. v results tabu) */
.empty-state h5 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--cs-text-muted);
    margin-bottom: 0;
}

/* Sekce s textem vlevo a obrázkem vpravo (Education Teaser, About) */
.section-padding .col-lg-5 > h2,
.section-padding .col-lg-6 > h2 {
    margin-top: 1rem;
}

.section-padding-sm .col-lg-5 > h2 {
    margin-top: 1rem;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 90px 0 80px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-decoration,
    .hero-decoration-2 {
        display: none;
    }

    .section-padding {
        padding: 50px 0;
    }

    .page-header {
        padding: 70px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .stat-item {
        padding: 10px;
    }

    .stat-item .stat-number {
        font-size: 1.4rem;
    }

    .auth-card {
        padding: 25px;
    }

    .step-indicator .step span:not(.step-number) {
        display: none;
    }

    .step-indicator .step-line {
        width: 30px;
    }

    .dashboard-sidebar {
        position: static;
    }

    .cta-banner h3 {
        font-size: 1.4rem;
    }
}

/* ============================================
   Zkoušení způsobilosti – přepínač roků
   ============================================ */

.years-tabs-sticky {
    position: sticky;
    top: 50px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    padding: 10px 14px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--cs-border);
    border-radius: 0;
}

.years-tabs-sticky .nav-pills {
    flex-wrap: nowrap;
    gap: 4px;
    margin: 0;
    align-items: center;
}

.years-tabs-sticky .nav-item {
    flex: 0 0 auto;
}

.years-tabs-sticky .nav-link {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cs-text-muted);
    border-radius: var(--cs-radius-sm);
    padding: 6px 14px;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid transparent;
    background: transparent;
    transition: var(--cs-transition);
}

.years-tabs-sticky .nav-link:hover {
    color: var(--cs-primary);
    background: var(--cs-light);
}

.years-tabs-sticky .nav-link.active,
.years-tabs-sticky .nav-link.show {
    color: var(--cs-primary);
    background: transparent;
    border-color: transparent;
    box-shadow: inset 0 -2px 0 var(--cs-primary);
    border-radius: 0;
}

.years-tabs-sticky .nav-link .badge {
    background: var(--cs-border) !important;
    color: var(--cs-text-muted);
    font-weight: 500;
    font-size: 0.72rem;
    padding: 3px 8px;
}

.years-tabs-sticky .nav-link.active .badge,
.years-tabs-sticky .nav-link.show .badge {
    background: var(--cs-primary) !important;
    color: #fff;
}

.years-tabs-sticky .dropdown-toggle::after {
    margin-left: 4px;
    vertical-align: middle;
    opacity: 0.6;
}

.years-tabs-sticky .dropdown-menu {
    border-radius: var(--cs-radius);
    border: 1px solid var(--cs-border);
    box-shadow: var(--cs-shadow-lg);
    padding: 4px;
    margin-top: 8px;
    min-width: 0;
    background: #fff;
}

.years-tabs-sticky .dropdown-item {
    border-radius: var(--cs-radius-sm);
    padding: 6px 10px;
    font-weight: 500;
    color: var(--cs-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.years-tabs-sticky .dropdown-item:hover,
.years-tabs-sticky .dropdown-item:focus {
    background: var(--cs-light);
    color: var(--cs-primary);
}

.years-tabs-sticky .dropdown-item.active {
    background: rgba(13, 79, 139, 0.08);
    color: var(--cs-primary);
}

.years-tabs-sticky .dropdown-item .badge {
    background: var(--cs-border) !important;
    color: var(--cs-text-muted);
    font-weight: 500;
    font-size: 0.72rem;
    padding: 3px 8px;
}

.years-tabs-sticky .dropdown-item.active .badge {
    background: var(--cs-primary) !important;
    color: #fff;
}

/* Mobilní zobrazení: počet zkoušek pod rok – víc let vedle sebe */
@media (max-width: 575.98px) {
    .years-tabs-sticky {
        padding: 8px 8px;
    }

    .years-tabs-sticky .nav-pills {
        gap: 2px;
    }

    .years-tabs-sticky .nav-link {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 4px 8px;
        font-size: 0.85rem;
    }

    .years-tabs-sticky .nav-link .badge {
        font-size: 0.65rem;
        padding: 3px 5px 1px;
        margin-left: 0 !important;
    }
}

/* --- Programs section background override --- */
.programs-section {
    background: var(--cs-light);
    padding-top: 30px;
}

/* --- Page header container nad bubbles overlay --- */
.page-header .container {
    position: relative;
    z-index: 1;
}

/* --- News timeline (Aktuality) --- */
.news-timeline-wrap {
    position: relative;
}

.news-timeline-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(0.125rem);
    width: 0.25rem;
    background: linear-gradient(180deg, var(--cs-primary) 0%, var(--cs-secondary) 100%);
    border-radius: 3px;
    opacity: 0.15;
    transform: translateX(-50%);
    pointer-events: none;
}

@media (min-width: 40rem) {
    .news-timeline-wrap::before {
        left: 50%;
    }
}

.news-timeline-year {
    margin: 2.5rem 0 1.5rem;
    color: var(--cs-primary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 8px 18px;
    background: linear-gradient(90deg, rgba(13, 79, 139, 0.08), transparent);
    border-left: 4px solid var(--cs-primary);
    border-radius: 0 var(--cs-radius) var(--cs-radius) 0;
}

.news-timeline-year:first-child {
    margin-top: 0;
}

.news-timeline {
    position: relative;
    display: grid;
    grid-template-columns: 0.25rem 1fr;
    column-gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-timeline > li {
    position: relative;
    grid-column: 2;
    margin-inline: 1.5rem;
}

.news-timeline > li:not(:last-child) {
    margin-bottom: 2.25rem;
}

.news-timeline > li::before {
    content: '';
    position: absolute;
    top: 24px;
    width: 14px;
    height: 14px;
    background: var(--cs-accent);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0, 168, 157, 0.2);
    z-index: 3;
}

.news-timeline > li::after {
    content: '';
    position: absolute;
    top: 24px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid var(--cs-border);
    border-bottom: 1px solid var(--cs-border);
    transform: rotate(45deg);
    z-index: 2;
}

.news-timeline > li .nt-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 22px 24px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.news-timeline > li .nt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.news-timeline .nt-ribbon {
    width: 64px;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px 18px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    background: var(--cs-accent);
    color: #fff;
    text-align: center;
    float: right;
    margin-left: 16px;
    margin-bottom: 8px;
}

.news-timeline .nt-ribbon.is-skoleni { background: var(--cs-primary); }
.news-timeline .nt-ribbon.is-akce { background: var(--cs-accent); }

.news-timeline .nt-ribbon .day {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.news-timeline .nt-ribbon .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
    margin-top: 2px;
}

.news-timeline .nt-badge {
    display: inline-block;
    font-size: clamp(0.55rem, 2.2vw, 0.7rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    max-width: calc(100% - 80px);
    white-space: normal;
    line-height: 1.3;
    word-break: break-word;
}

.news-timeline .nt-badge.is-skoleni {
    background: rgba(13, 79, 139, 0.12);
    color: var(--cs-primary);
}

.news-timeline .nt-badge.is-akce {
    background: rgba(0, 168, 157, 0.14);
    color: var(--cs-accent-dark);
}

.news-timeline .nt-title {
    margin: 4px 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cs-text);
    line-height: 1.35;
}

.news-timeline .code-badge {
    font-size: clamp(0.6rem, 2.2vw, 0.8rem);
    letter-spacing: 0.3px;
    padding: 3px 10px;
    max-width: calc(100% - 80px);
    white-space: normal;
    word-break: break-all;
    line-height: 1.3;
}

@media (max-width: 575.98px) {
    .news-timeline .code-badge {
        padding-top: 6px;
    }
}

.news-timeline .nt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-bottom: 12px;
    color: var(--cs-text-muted);
    font-size: 0.88rem;
}

.news-timeline .nt-meta i {
    color: var(--cs-secondary);
    margin-right: 4px;
}

.news-timeline .nt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    clear: both;
}

.news-timeline .nt-status {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
}

.news-timeline .nt-status.is-future { background: #fef3c7; color: #92400e; }
.news-timeline .nt-status.is-open   { background: rgba(0, 168, 157, 0.16); color: var(--cs-accent-dark); }
.news-timeline .nt-status.is-past   { background: #e5e7eb; color: #475569; }

.news-timeline > li::before {
    left: calc(-1.5rem - 2rem - 0.125rem);
    transform: translateX(-50%);
}

.news-timeline > li::after {
    left: -7px;
}

@media (min-width: 40rem) {
    .news-timeline {
        grid-template-columns: 1fr 0.25rem 1fr;
    }

    .news-timeline > li:nth-child(odd) {
        grid-column: 1;
    }

    .news-timeline > li:nth-child(odd)::before {
        left: auto;
        right: calc(-1.5rem - 2rem - 0.125rem);
        transform: translateX(50%);
    }

    .news-timeline > li:nth-child(odd)::after {
        left: auto;
        right: -7px;
        border-left: 0;
        border-bottom: 0;
        border-top: 1px solid var(--cs-border);
        border-right: 1px solid var(--cs-border);
    }

    .news-timeline > li:nth-child(even) {
        grid-column: 3;
        transform: translateY(50%);
    }
}


/* ============================================
   Admin module – sdílené styly
   Sjednocené pro Labor / Akce / Školení
   ============================================ */

/* --- Layout --- */
.admin-bg {
    background: var(--cs-light);
    font-size: 0.85rem;
}

.admin-navbar .nav-link {
    color: var(--cs-text);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--cs-radius-sm);
    transition: all var(--cs-transition);
}
.admin-navbar .nav-link:hover {
    background: var(--cs-light);
    color: var(--cs-primary);
}
.admin-navbar .nav-link.active {
    background: var(--cs-primary);
    color: var(--cs-white);
}
.admin-navbar .nav-link i {
    margin-right: 0.35rem;
}
.admin-navbar .navbar-toggler-icon {
    filter: invert(0.5);
}
.admin-navbar .navbar-badge {
    background: var(--cs-light);
    color: var(--cs-secondary);
    font-weight: 600;
}
.admin-navbar .user-avatar {
    width: 32px;
    height: 32px;
    background: var(--cs-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
}

/* --- Detail header (Labor / Akce / Skoleni detail) --- */
.admin-detail-back {
    color: var(--cs-secondary);
    font-weight: 600;
    text-decoration: none;
}
.admin-detail-back:hover { color: var(--cs-primary); }

.admin-detail-title {
    color: var(--cs-primary);
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.admin-detail-subtitle {
    color: var(--cs-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Lazy-load placeholder pro AJAX-naplňované záložky (Akce detail). */
.tab-lazy-placeholder {
    min-height: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.tab-lazy-placeholder .spinner-border {
    width: 2rem;
    height: 2rem;
    color: var(--cs-primary);
}

/* --- Detail content – sdílené utility --- */
.text-preline { white-space: pre-line; }

.dl-detail { font-size: 0.85rem; }

.table-detail { font-size: 0.85rem; }
.table-detail-xs { font-size: 0.8rem; }

/* Read-only poznámkový panel (form-control look) */
.detail-poznamka {
    white-space: pre-line;
    min-height: 5rem;
}
.detail-poznamka-sm { min-height: 4rem; }
.detail-poznamka-lg { min-height: 8rem; }

/* Toast container nad obsahem (správa souborů) */
.toast-z-1080 { z-index: 1080; }

/* Dropzone ikona */
.upload-icon { color: var(--cs-secondary); }

/* --- Fieldset panely (Akce Popis / Skoleni Popis) ---
   Jednotný vzhled napříč detail stránkami. Modifikátor `.detail-fieldset--block`
   přidává bílé pozadí + plnou výšku pro Skoleni-Popis (sloupcové kartičky vedle sebe);
   bez modifikátoru jde o „inline" variantu (tematické skupiny pod sebou v Akce-Popis). */
.detail-fieldset {
    border: 1px solid var(--cs-border);
    border-radius: .5rem;
    padding: .75rem 1rem 1rem;
    margin-bottom: 1rem;
    background: transparent;
}
.detail-fieldset > legend {
    float: none;
    width: auto;
    padding: 0 .4rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cs-primary);
    margin-bottom: .5rem;
}
.detail-fieldset dl { margin-bottom: 0; }
.detail-fieldset dt { font-weight: 500; color: var(--cs-text-muted); }
.detail-fieldset dd { margin-bottom: .25rem; }

/* Modifikátor pro Skoleni Popis – sloupcové kartičky na bílém pozadí v plné výšce. */
.detail-fieldset--block {
    background: #fff;
    height: 100%;
    margin-bottom: 0;
}

/* --- Účastníci tabulka (Skoleni detail) --- */
.ucastnici-table {
    table-layout: fixed;
    width: 100%;
    min-width: 1080px;
    font-size: 0.85rem;
}
.ucastnici-table th,
.ucastnici-table td {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}
.ucastnici-table .col-num { width: 48px; }
.ucastnici-table .col-name { width: 220px; }
.ucastnici-table .col-funkce { width: 180px; }
.ucastnici-table .col-tel { width: 140px; }
.ucastnici-table .col-mobil { width: 140px; }
.ucastnici-table .col-email { width: 260px; }
.ucastnici-table .col-id { width: 90px; }

/* --- Vysledky tabulka (Labor detail – akce-vysledky tab) --- */
.table-vysledky {
    table-layout: fixed;
    width: 100%;
    min-width: 40rem;
    font-size: 0.85rem;
}
.table-vysledky .col-jednotka { width: 5rem; }
.table-vysledky .col-hodnota { width: 7rem; }
.table-vysledky .col-prumer { width: 7rem; }
.table-vysledky .col-zskore { width: 6rem; }
.table-vysledky .col-tolerance { width: 7rem; }

/* --- Mini účastníci (Labor detail – skoleni tab) --- */
.table-ucastnici-mini {
    table-layout: fixed;
    width: 100%;
    min-width: 26rem;
    font-size: 0.85rem;
}
.table-ucastnici-mini .col-funkce { width: 9rem; }
.table-ucastnici-mini .col-objednano { width: 8rem; }

/* --- Panel se skupinou (laboratoře/akce/školení v záložkách) --- */
.detail-group-panel {
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    overflow: hidden;
}
.detail-group-panel-header {
    background: var(--cs-light);
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--cs-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.detail-group-panel-body {
    padding: 1rem;
}

/* ============================================================
   Front: Vztažné hodnoty – flex „tabulkový" výpis akcí
   ============================================================ */
.vh-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cs-border, #e5e7eb);
    border-radius: 0.5rem;
    background: #fff;
    overflow: hidden;
}
.vh-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--cs-border, #e5e7eb);
}
.vh-row:last-child {
    border-bottom: 0;
}
.vh-row:hover {
    background: var(--cs-light, #f8fafc);
}
.vh-cell-name {
    flex: 1 1 auto;
    min-width: 0;
}
.vh-cell-action {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
}
.vh-akce-code {
    color: var(--cs-primary);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}
.vh-akce-material {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}
@media (max-width: 575.98px) {
    .vh-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .vh-cell-action {
        text-align: left;
        width: 100%;
    }
}
