:root {
    --bg: #0b1220;
    --bg-elevated: #111a2f;
    --bg-highlight: #1a2845;
    --surface: #16213a;
    --surface-soft: rgba(255, 255, 255, 0.04);
    --primary: #ff4d67;
    --primary-soft: rgba(255, 77, 103, 0.15);
    --secondary: #38d4ff;
    --text: #f7f9ff;
    --muted: rgba(247, 249, 255, 0.7);
    --border: rgba(255, 255, 255, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow: 0 16px 40px rgba(3, 8, 24, 0.45);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top right, rgba(56, 212, 255, 0.15), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255, 77, 103, 0.18), transparent 40%),
        var(--bg);
    color: var(--text);
    width: 100%;
}

.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background: radial-gradient(circle at 20% 20%, rgba(56, 212, 255, 0.18), transparent 35%),
        radial-gradient(circle at 80% 80%, rgba(255, 77, 103, 0.22), transparent 38%),
        var(--bg);
}

.login-card {
    width: min(480px, 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(17, 26, 47, 0.95), rgba(26, 40, 69, 0.92));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    gap: 20px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-brand h1 {
    margin: 2px 0 0;
    font-size: 24px;
}

nav.main-nav {
    padding: 20px;
}

.login-card form {
    display: grid;
    gap: 16px;
}

.login-card label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.login-card input {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}

.login-card input::placeholder {
    color: var(--muted);
}

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    position: relative;
}

.remember input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.remember-box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(22, 33, 58, 0.95), rgba(17, 26, 47, 0.9));
    display: grid;
    place-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.35);
    transition: all 160ms ease;
}

.remember input[type="checkbox"]:focus-visible+.remember-box {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

.remember input[type="checkbox"]:checked+.remember-box {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(255, 77, 103, 0.95), rgba(56, 212, 255, 0.85));
    box-shadow: 0 6px 18px rgba(255, 77, 103, 0.35);
}

.remember input[type="checkbox"]:checked+.remember-box::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid #0b1220;
    border-bottom: 2px solid #0b1220;
    transform: rotate(-45deg);
}

.remember-label {
    line-height: 1.4;
}

.login-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3ad29f, #1dcb78);
    box-shadow: 0 0 0 6px rgba(58, 210, 159, 0.12);
}

.app-shell.hidden {
    display: none;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
}

.sidebar {
    background: var(--bg-highlight);
    padding: 24px 0 0px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: fixed;
    top: 0;
    height: 100vh;
    box-shadow: var(--shadow);
    width: 290px;
}

.sidebar .brand,
.sidebar .sidebar-footer {
    padding: 0 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand .logo {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 24px;
    background: linear-gradient(135deg, rgba(255, 77, 103, 0.4), rgba(56, 212, 255, 0.35));
    backdrop-filter: blur(12px);
}

.brand h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.brand p {
    margin: 4px 0 0;
    color: var(--muted);
    font-weight: 500;
}

.main-nav h2 {
    margin: 0 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.main-nav li button {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav li.active button,
.main-nav li button:hover {
    background: var(--primary-soft);
    transform: translateX(2px);
}

.sidebar-footer {
    margin-top: auto;
    padding: 18px;
    background: var(--surface-soft);
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    /* display: grid; */
    /* gap: 8px; */
    font-size: 14px;
    color: var(--muted);
}

.sync-button {
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary), #ff8a9e);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.sync-button:hover {
    filter: brightness(1.05);
}

main {
    padding: 32px 40px;
    width: calc(100% - 290px);
    position: relative;
    left: 290px;
    top: 0px;
}

.app-header {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* .card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
} */

.pagination {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 24px;
    vertical-align: middle;
    align-items: center;
}

.pagination button {
    background: var(--surface);
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.app-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(56, 212, 255, 0.3), transparent 55%);
    pointer-events: none;
}

.header-content {
    max-width: 60ch;
    position: relative;
    z-index: 1;
}

.header-content h1 {
    margin: 0 0 12px;
    font-size: 32px;
}

.header-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.header-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

button.primary,
button.ghost {
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.primary {
    background: linear-gradient(135deg, var(--primary), #ff8a9e);
    color: #fff;
    box-shadow: 0 12px 30px rgba(255, 77, 103, 0.25);
}

button.ghost {
    background: transparent;
    color: var(--muted);
    border-color: var(--border);
}

button.primary:hover,
button.ghost:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(3, 8, 24, 0.35);
}

button.small {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 999px;
}

.section {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.section.active {
    display: flex;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.section-header h2 {
    margin: 0 0 6px;
}

.section-header p {
    margin: 0;
    color: var(--muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: grid;
    gap: 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-soft);
    margin-top: 30px;
}

.card-no-bg {
    display: grid;
    gap: 18px;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.card.highlight {
    background: linear-gradient(135deg, rgba(255, 77, 103, 0.08), rgba(56, 212, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge {
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.smaller_badge {
    font-size: 10px;
    padding: 2px 10px!important;
}

.film-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.film-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: var(--surface-soft);
    border-radius: var(--radius-md);
}

.film-meta {
    color: var(--muted);
    font-size: 13px;
}

.schedule {
    display: grid;
    gap: 14px;
}

.schedule-item {
    background: var(--surface-soft);
    padding: 16px;
    border-radius: var(--radius-md);
    display: grid;
    gap: 6px;
}

.schedule-item strong {
    font-size: 15px;
}

.schedule-item span {
    color: var(--muted);
    font-size: 13px;
}

.list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.list li {
    display: grid;
    gap: 4px;
}

.list .muted {
    font-size: 13px;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.chart {
    min-height: 220px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
}

.chart .bar {
    height: var(--value);
    background: linear-gradient(180deg, rgba(56, 212, 255, 0.75), rgba(56, 212, 255, 0.15));
    border-radius: 12px 12px 6px 6px;
    position: relative;
    overflow: hidden;
}

.chart .bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--muted);
}

.chart .bar.secondary {
    background: linear-gradient(180deg, rgba(255, 77, 103, 0.75), rgba(255, 77, 103, 0.15));
}

.legend {
    display: flex;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    align-items: center;
}

.legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    margin-right: 6px;
}

.legend .dot.primary {
    background: var(--secondary);
}

.legend .dot.secondary {
    background: var(--primary);
}

.news {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.news li {
    display: grid;
    gap: 6px;
}

.news time {
    font-size: 13px;
    color: var(--muted);
}

.table-wrapper {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-soft);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

thead th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

tbody td {
    font-size: 15px;
}

.status {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status.playing {
    background: rgba(56, 212, 255, 0.18);
    color: var(--secondary);
}

.status.upcoming {
    background: rgba(255, 77, 103, 0.16);
    color: var(--primary);
}

.status.archived {
    background: rgba(255, 255, 255, 0.12);
    color: var(--muted);
}

.form {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: grid;
    gap: 24px;
    border: 1px solid var(--surface-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px 24px;
}

label {
    display: grid;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}

input,
select,
textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text);
    font-size: 15px;
}

textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 12px;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--surface-soft);
}

.timeline-item time {
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.timeline-item .details {
    display: grid;
    gap: 6px;
}

.timeline-item .details strong {
    font-size: 16px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--surface-soft);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
}

.cards-grid#halls .card {
    min-height: 180px;
}

.card .title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.capacity {
    font-size: 32px;
    font-weight: 700;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.staff-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid var(--surface-soft);
    display: grid;
    gap: 12px;
}

.staff-card .role {
    color: var(--muted);
    font-size: 13px;
}

.staff-card .shift {
    font-size: 13px;
    color: var(--secondary);
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.report .value {
    font-size: 38px;
    font-weight: 700;
}

.hidden {
    display: none !important;
}

@media (max-width: 720px) {
    .login-card {
        padding: 28px;
    }

    .login-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .login-actions button {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .app-shell {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .sidebar {
        position: static;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }

    .header-actions {
        flex-direction: row;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.main_container {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
}

.movies_table>table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* .movie_title {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
} */

.movies_table>table tbody tr:hover {
    background-color: var(--bg-highlight);
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff8a9e);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 77, 103, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 77, 103, 0.35);
}

.btn-success {
    background: linear-gradient(135deg, #3ad29f, #1dcb78);
    color: #0b1220;
    box-shadow: 0 4px 12px rgba(58, 210, 159, 0.25);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(58, 210, 159, 0.35);
}

.btn-outline {
    background: transparent;
    border-color: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base), border var(--transition-base);
    transition: .2s;
    font-size: 16px;
    color: #aaa;
}

.outline_no_bg {
    background: transparent;
    border-color: transparent;
    border: 1px solid #7a7a7a;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 500;
    transition: background var(--transition-base), color var(--transition-base), border var(--transition-base);
    transition: .2s;
    color: #aaa;
}

.badge .outline {
    background: transparent;
    border-color: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base), border var(--transition-base);
    transition: .2s;
    font-size: 16px;
    color: #aaa;
}

.badge.success {
    background: linear-gradient(135deg, #3ad29fb0, #1dcb78c4);
    color: #0b1220;
    box-shadow: 0 4px 12px rgba(58, 210, 159, 0.25);
}

.badge.info {
    background: linear-gradient(135deg, #38d4ffb0, #1d9fcbc4);
    color: #0b1220;
    box-shadow: 0 4px 12px rgba(56, 212, 255, 0.25);
}

.badge.danger {
    background: linear-gradient(135deg, #ffb347b0, #ffcc33c4);
    color: #0b1220;
    box-shadow: 0 4px 12px rgba(255, 179, 71, 0.25);
}

.btn-outline:hover {
    color: rgb(255 255 255);
    background: linear-gradient(135deg, rgba(255, 65, 92, 0.28), rgba(0, 212, 255, 0.28));
    transform: translate(0px, -2px);
    box-shadow: 0 5px 20px 0px rgb(255 65 92 / 15%);
}

span.badge.badge_fit {
    padding: 4px 10px;
    width: fit-content;
}

/*  */

.movies_table table {
    width: 100%;
    table-layout: auto;
}

/* 1. stÄºpec â€“ nÃ¡zov filmu: nech zoberie vÅ¡etko voÄ¾nÃ© miesto */
.movies_table th:first-child,
.movies_table td:first-child {
    width: 100%;
}

/* 2. stÄºpec â€“ Podrobnosti: len podÄ¾a obsahu (fit-content Å¡tÃ½l) */
.movies_table th:nth-child(2),
.movies_table td:nth-child(2) {
    white-space: nowrap;
    width: 1%;
    /* voliteÄ¾ne: */
    text-align: left;
    /* alebo center/right podÄ¾a chuti */
}

/* 3. stÄºpec â€“ tlaÄidlÃ¡: Äo najmenÅ¡Ã­, doprava */
.movies_table th:nth-child(3),
.movies_table td:nth-child(3) {
    white-space: nowrap;
    width: 1%;
    text-align: right;
}

.user-profile {
    display: flex;
    gap: 20px;
    padding: 10px 0px;
    align-items: center;
}

.profile>img {
    width: 48px;
    height: auto;
    border-radius: 50%;
}

.info {
    display: block;
}

span.full_name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.sidebar-footer {
    padding: 8px 16px 12px 16px !important;
}

span.company {
    font-size: 13px;
}

.logout>button {
    background: linear-gradient(135deg, var(--primary), #ff8a9e);
    color: #fff;
    box-shadow: 0 12px 30px rgba(255, 77, 103, 0.25);
    border-radius: 50%;
    width: 32px;
    height: 32;
    border: none;
    cursor: pointer;
    text-align: center;
    padding-left: 8px;
}

/* bootstrap */
/* === GRID SYSTEM === */

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

[class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    box-sizing: border-box;
}

.col-1 {
    width: 8.33%;
}

.col-2 {
    width: 16.66%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33%;
}

.col-5 {
    width: 41.66%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.33%;
}

.col-8 {
    width: 66.66%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.33%;
}

.col-11 {
    width: 91.66%;
}

.col-12 {
    width: 100%;
}

/* RESPONSIVE BREAKPOINTS */

/* sm â‰¥ 576px */
@media (min-width: 576px) {
    .col-sm-1 {
        width: 8.33%;
    }

    .col-sm-2 {
        width: 16.66%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-4 {
        width: 33.33%;
    }

    .col-sm-5 {
        width: 41.66%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-7 {
        width: 58.33%;
    }

    .col-sm-8 {
        width: 66.66%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-10 {
        width: 83.33%;
    }

    .col-sm-11 {
        width: 91.66%;
    }

    .col-sm-12 {
        width: 100%;
    }
}

/* md â‰¥ 768px */
@media (min-width: 768px) {
    .col-md-* {}

    .col-md-1 {
        width: 8.33%;
    }

    .col-md-2 {
        width: 16.66%;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-4 {
        width: 33.33%;
    }

    .col-md-5 {
        width: 41.66%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-7 {
        width: 58.33%;
    }

    .col-md-8 {
        width: 66.66%;
    }

    .col-md-9 {
        width: 75%;
    }

    .col-md-10 {
        width: 83.33%;
    }

    .col-md-11 {
        width: 91.66%;
    }

    .col-md-12 {
        width: 100%;
    }
}

/* lg â‰¥ 992px */
@media (min-width: 992px) {
    .col-lg-1 {
        width: 8.33%;
    }

    .col-lg-2 {
        width: 16.66%;
    }

    .col-lg-3 {
        width: 25%;
    }

    .col-lg-4 {
        width: 33.33%;
    }

    .col-lg-5 {
        width: 41.66%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-7 {
        width: 58.33%;
    }

    .col-lg-8 {
        width: 66.66%;
    }

    .col-lg-9 {
        width: 75%;
    }

    .col-lg-10 {
        width: 83.33%;
    }

    .col-lg-11 {
        width: 91.66%;
    }

    .col-lg-12 {
        width: 100%;
    }
}

/* === SPACING === */

.m-0 {
    margin: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.m-1 {
    margin: .25rem !important;
}

.mt-1 {
    margin-top: .25rem !important;
}

.mb-1 {
    margin-bottom: .25rem !important;
}

.m-2 {
    margin: .5rem !important;
}

.mt-2 {
    margin-top: .5rem !important;
}

.mb-2 {
    margin-bottom: .5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}


/* Padding */
.p-1 {
    padding: .25rem !important;
}

.p-2 {
    padding: .5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.text-center {
    text-align: center !important;
}

.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 500 !important;
}


input.form-control {
    width: 100%;
}

select.form-select {
    width: 100%;
}

textarea.form-control {
    width: 100%;
}

.border-0 {
    border: none !important;
}

h4.card-title {
    margin-top: 0px;
}

/* Prefarbenie ikoniek pre všetky dátumové a časové inputy */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.stat-card {
    position: relative;
    padding: 18px 18px 2px 18px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)) border-box,
        var(--card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow);
    overflow: hidden;
    isolation: isolate;
    border-radius: 22px;
}

.stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    background: #1e4f6d;
    color: #fff;
}

.stat-trend {
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trend-up {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

.trend-down {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

h3 {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.stat-value {
    margin: -4px 0px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-label {
    margin: 4px 0 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

canvas {
    width: 100%;
    height: 70px;
    display: block;
    border-radius: 12px;
    margin-top: -17px;
}

.glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 45%);
    z-index: -1;
    opacity: 0.7;
    filter: blur(10px);
}

.accent-blue .glow {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 45%);
}

.accent-green .glow {
    background: radial-gradient(circle, rgba(74, 222, 128, 0.12), transparent 45%);
}

.accent-orange .glow {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 45%);
}

.accent-red .glow {
    background: radial-gradient(circle, rgba(248, 113, 113, 0.12), transparent 45%);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #2196F3;
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

.toggle-label {
    font-weight: 500;
    color: #c5c5c5ff;
}