:root {
    --brand-primary: #1b4f72;
    --brand-secondary: #154360;
    --brand-accent: #f39c12;
    --brand-background: #f4f6f9;
    --brand-text: #2c3e50;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    margin: 0;
    background-color: var(--brand-background);
    color: var(--brand-text);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

a {
    color: var(--brand-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    padding: 2rem 1.5rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
}

.branding {
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.branding span:first-child {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.branding span:last-child {
    display: block;
    font-size: 1.6rem;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 1rem;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(236, 240, 241, 0.85);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nav-section--tickets {
    position: relative;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: linear-gradient(135deg, #6fd5ee, #81ecec);
    color: #1a1a1a;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(27, 79, 114, 0.35);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    text-decoration: none;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 5px 14px rgba(27, 79, 114, 0.4);
    filter: saturate(1.05);
    outline: none;
}

.nav-cta:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.nav-cta__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    font-size: 1.35rem;
    color: var(--brand-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-cta__label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: inherit;
}

.nav-cta__label small {
    font-weight: 500;
    color: rgba(26, 26, 26, 0.8);
    letter-spacing: 0;
}

.nav-submenu {
    list-style: none;
    margin: 0;
    padding-left: 1rem;
    border-left: 2px solid rgba(236, 240, 241, 0.2);
}

.nav-submenu li {
    margin-bottom: 0.5rem;
}

.nav-links a {
    color: #ecf0f1;
    font-weight: 500;
}

.content {
    flex: 1;
    padding: 2rem 3rem;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th,
.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.table th {
    background-color: #eef2f7;
    font-weight: 600;
    color: var(--brand-text);
}

.button,
button,
input[type="submit"],
input[type="button"] {
    background-color: var(--brand-primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    transition: background 0.2s ease-in-out;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: var(--brand-secondary);
}

input[type="text"],
select {
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid #cfd4da;
    min-width: 240px;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pagination a,
.pagination span {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #d5d8dc;
    background-color: #fff;
}

.pagination .current {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
}

.alert {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.15);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.logout-form {
    margin: 0;
}

.d-none {
    display: none !important;
}

.text-muted {
    color: rgba(44, 62, 80, 0.65);
    font-size: 0.85rem;
}

.table-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.table-toolbar__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.button-secondary {
    background-color: rgba(27, 79, 114, 0.1);
    color: var(--brand-primary);
}

.button-secondary:hover {
    background-color: rgba(21, 67, 96, 0.18);
    color: var(--brand-secondary);
}

.column-panel {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
}

.column-panel__dialog {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.column-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.column-panel__options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.column-panel__option-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.column-panel__option-label input[type="checkbox"] {
    margin-top: 0.2rem;
}

.column-panel__footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.columns-hint {
    margin-left: 0.5rem;
}

.checkbox-column {
    width: 40px;
}