/* ============================================================
   Аэропорт Ош — система бронирования билетов
   Дизайн-система проекта
   ============================================================ */

:root {
    --navy-900: #081a33;
    --navy-800: #0a2547;
    --navy-700: #0e3464;
    --brand: #1c64d9;
    --brand-dark: #134a9e;
    --sky: #38bdf8;
    --accent: #e8112d;          /* красный флага КР */
    --gold: #f2b705;            /* солнце флага КР */
    --green: #16a34a;
    --bg: #f2f6fc;
    --card: #ffffff;
    --text: #14213d;
    --muted: #64748b;
    --border: #e2e8f0;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 4px 24px rgba(8, 26, 51, .08);
    --shadow-lg: 0 16px 48px rgba(8, 26, 51, .16);
    --font-head: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --font-mono: 'Roboto Mono', 'Consolas', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, .navbar-brand, .btn { font-family: var(--font-head); }
h1, h2 { font-weight: 800; letter-spacing: -.5px; }
h3, h4, h5 { font-weight: 700; }

.text-muted { color: var(--muted) !important; }
.fw-800 { font-weight: 800; }
.mono { font-family: var(--font-mono); }

/* ---------------------------------------------------------- навбар */
.navbar-osh {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: .65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-osh .navbar-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 800;
    color: var(--navy-800);
    font-size: 1.15rem;
    line-height: 1.1;
}

.brand-logo {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--navy-800) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(28, 100, 217, .35);
}

.navbar-brand small {
    display: block;
    font-size: .62rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .14em;
    text-transform: uppercase;
}

.navbar-osh .nav-link {
    color: var(--text);
    font-weight: 600;
    font-size: .92rem;
    padding: .5rem .9rem !important;
    border-radius: 10px;
    transition: all .18s;
}

.navbar-osh .nav-link:hover { background: #eaf1fc; color: var(--brand); }
.navbar-osh .nav-link.active { background: var(--brand); color: #fff; }

.btn-staff-panel {
    background: linear-gradient(135deg, var(--gold), #e09600);
    color: var(--navy-900) !important;
    font-weight: 700;
    border-radius: 10px;
    padding: .5rem 1rem !important;
    box-shadow: 0 3px 10px rgba(242, 183, 5, .4);
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #eaf1fc;
    border-radius: 999px;
    padding: .3rem .9rem .3rem .35rem !important;
}

.user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--sky));
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.role-tag {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

/* ---------------------------------------------------------- hero */
.hero {
    position: relative;
    color: #fff;
    padding: 5.5rem 0 9rem;
    background:
        linear-gradient(110deg, rgba(8, 26, 51, .92) 0%, rgba(14, 52, 100, .78) 45%, rgba(28, 100, 217, .42) 100%),
        url('../img/hero.jpg') center 60% / cover no-repeat;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 -1px 0;
    height: 90px;
    background: linear-gradient(to top, var(--bg), transparent);
}

.hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hero .lead { color: #dbe7ff; max-width: 560px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    color: #ffe8a3;
    font-weight: 600;
    font-size: .85rem;
    border-radius: 999px;
    padding: .45rem 1.1rem;
}

/* поисковая карта, перекрывающая hero */
.search-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.75rem;
    margin-top: -5.5rem;
    position: relative;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, .6);
}

.search-card label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: .35rem;
}

/* ---------------------------------------------------------- карточки */
.card-osh {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}

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

.section-title {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.6rem;
}

.section-title .icon {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eaf1fc, #d7e6fb);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* карточка рейса — стиль авиабилета */
.flight-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    position: relative;
}

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

.flight-card .fc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .85rem 1.25rem;
    border-bottom: 1px dashed var(--border);
    background: linear-gradient(to right, #f8fafd, #fff);
}

.airline-mark {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
    font-size: .9rem;
}

.airline-logo {
    width: 34px; height: 34px;
    border-radius: 10px;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    flex: none;
}

.fc-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
}

.fc-point { text-align: center; min-width: 86px; }

.fc-point .code {
    font-family: var(--font-mono);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1;
}

.fc-point .city { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.fc-point .time { font-size: 1.05rem; font-weight: 700; margin-top: .35rem; }

.fc-path {
    flex: 1;
    position: relative;
    height: 26px;
}

.fc-path::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    border-top: 2px dashed #c3d3ec;
}

.fc-path i {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    color: var(--brand);
    background: var(--card);
    padding: 0 .5rem;
    font-size: 1.05rem;
}

.fc-path .duration {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    font-size: .72rem;
    color: var(--muted);
    white-space: nowrap;
}

.fc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .9rem 1.25rem;
    background: #f8fafd;
    border-top: 1px dashed var(--border);
}

.price-tag { font-weight: 800; font-size: 1.15rem; color: var(--brand-dark); }
.price-tag small { font-weight: 600; color: var(--muted); font-size: .72rem; }

/* ------------------------------------------------- статусы рейсов */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .74rem;
    font-weight: 700;
    border-radius: 999px;
    padding: .3rem .8rem;
    white-space: nowrap;
}

.st-scheduled { background: #e8f0fe; color: #1a56b8; }
.st-checkin   { background: #e6f7f1; color: #0b7a52; }
.st-boarding  { background: #fff4d6; color: #946400; animation: pulse 1.6s infinite; }
.st-departed  { background: #ece9fe; color: #5b3fc4; }
.st-arrived   { background: #e9eef5; color: #51607a; }
.st-cancelled { background: #fde7ea; color: #b3132c; }
.st-delayed   { background: #ffe9d6; color: #b35309; }

.st-pending   { background: #fff4d6; color: #946400; }
.st-confirmed { background: #e6f7f1; color: #0b7a52; }
.st-completed { background: #e8f0fe; color: #1a56b8; }

@keyframes pulse { 50% { opacity: .55; } }

/* ----------------------------------------------- карточки направлений */
.dest-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .25s;
}

.dest-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow-lg); color: #fff; }

.dest-card .watermark {
    position: absolute;
    top: -14px; right: 6px;
    font-family: var(--font-mono);
    font-size: 5rem;
    font-weight: 700;
    opacity: .16;
    letter-spacing: -3px;
}

.dest-card .plane-deco {
    position: absolute;
    top: 1.1rem; left: 1.3rem;
    font-size: 1.3rem;
    opacity: .85;
    transform: rotate(-45deg);
}

.dest-card h5 { font-size: 1.35rem; font-weight: 800; margin: 0; }
.dest-card .country { font-size: .8rem; opacity: .82; }

.dest-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .7rem;
    font-size: .82rem;
    font-weight: 600;
}

.dest-card .meta .badge-count {
    background: rgba(255, 255, 255, .22);
    border-radius: 999px;
    padding: .25rem .7rem;
    backdrop-filter: blur(4px);
}

/* ----------------------------------------------------- статистика */
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.stat-card .icon {
    width: 52px; height: 52px;
    flex: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.stat-card .value { font-size: 1.55rem; font-weight: 800; line-height: 1.1; font-family: var(--font-head); }
.stat-card .label { font-size: .8rem; color: var(--muted); font-weight: 600; }

.ic-blue   { background: linear-gradient(135deg, #1c64d9, #38bdf8); }
.ic-green  { background: linear-gradient(135deg, #16a34a, #4ade80); }
.ic-gold   { background: linear-gradient(135deg, #f2b705, #f59e0b); }
.ic-red    { background: linear-gradient(135deg, #e8112d, #f87171); }
.ic-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.ic-navy   { background: linear-gradient(135deg, #0a2547, #0e3464); }

/* ---------------------------------------------------------- кнопки */
.btn-brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    padding: .7rem 1.6rem;
    box-shadow: 0 6px 18px rgba(28, 100, 217, .35);
    transition: all .2s;
}

.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28, 100, 217, .45); }

.btn-outline-brand {
    border: 2px solid var(--brand);
    color: var(--brand);
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: .55rem 1.4rem;
    background: transparent;
    transition: all .2s;
}

.btn-outline-brand:hover { background: var(--brand); color: #fff; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #e09600);
    color: var(--navy-900);
    font-weight: 800;
    border: none;
    border-radius: var(--radius-sm);
    padding: .7rem 1.6rem;
    box-shadow: 0 6px 18px rgba(242, 183, 5, .4);
}

.btn-gold:hover { color: var(--navy-900); transform: translateY(-2px); }

/* ---------------------------------------------------------- формы */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: .65rem .9rem;
    font-size: .95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem rgba(28, 100, 217, .12);
}

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

/* ------------------------------------------------------ страница входа */
.auth-wrap {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: stretch;
}

.auth-side {
    position: relative;
    background:
        linear-gradient(160deg, rgba(8, 26, 51, .88), rgba(28, 100, 217, .55)),
        url('../img/window.jpg') center / cover no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
}

.auth-side.register-side {
    background:
        linear-gradient(160deg, rgba(8, 26, 51, .88), rgba(232, 17, 45, .35)),
        url('../img/travel.jpg') center / cover no-repeat;
}

.demo-role-card {
    display: flex;
    align-items: center;
    gap: .9rem;
    width: 100%;
    text-align: left;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .8rem 1rem;
    transition: all .18s;
    cursor: pointer;
}

.demo-role-card:hover {
    border-color: var(--brand);
    background: #f3f8ff;
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.demo-role-card .icon {
    width: 46px; height: 46px;
    flex: none;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.demo-role-card .title { font-weight: 800; font-size: .95rem; font-family: var(--font-head); }
.demo-role-card .desc { font-size: .76rem; color: var(--muted); }
.demo-role-card .creds {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--muted);
    text-align: right;
    flex: none;
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 600;
    margin: 1.4rem 0;
}

.divider-text::before, .divider-text::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--border);
}

/* ---------------------------------------------------------- табло */
.board-page {
    background: #0a1322;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.board-title {
    color: #ffd34d;
    font-family: var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.board-clock {
    font-family: var(--font-mono);
    color: #7ee3a3;
    font-size: 1.4rem;
    font-weight: 700;
}

.board-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }

.board-table th {
    color: #6b7f9e;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    padding: .4rem .9rem;
}

.board-table td {
    background: #101d33;
    color: #e8eefc;
    font-family: var(--font-mono);
    font-size: .92rem;
    padding: .7rem .9rem;
    vertical-align: middle;
}

.board-table tr td:first-child { border-radius: 10px 0 0 10px; }
.board-table tr td:last-child { border-radius: 0 10px 10px 0; }
.board-table tbody tr:hover td { background: #16263f; }

.board-time { color: #ffd34d; font-weight: 700; font-size: 1.05rem; }

.bs {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.bs-scheduled { background: #14263f; color: #7fa8e8; }
.bs-checkin   { background: #0c2e22; color: #4ade80; }
.bs-boarding  { background: #332a07; color: #ffd34d; animation: pulse 1.4s infinite; }
.bs-departed  { background: #1d1838; color: #b3a3f5; }
.bs-arrived   { background: #16263f; color: #93a8c7; }
.bs-cancelled { background: #391016; color: #ff8095; }
.bs-delayed   { background: #38230d; color: #ffb35c; }

/* ------------------------------------------------------ электронный билет */
.eticket {
    max-width: 760px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--card);
}

.eticket-head {
    background: linear-gradient(120deg, var(--navy-800), var(--brand));
    color: #fff;
    padding: 1.4rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.eticket-head .bn { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; }

.eticket-body { padding: 1.8rem; }

.eticket-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.4rem;
    border-bottom: 2px dashed var(--border);
    position: relative;
}

.eticket-route::before, .eticket-route::after {
    content: '';
    position: absolute;
    bottom: -14px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg);
}

.eticket-route::before { left: -32px; }
.eticket-route::after { right: -32px; }

.eticket .code-lg {
    font-family: var(--font-mono);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1;
}

.eticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.1rem;
    padding-top: 1.4rem;
}

.eticket-grid .label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.eticket-grid .value { font-weight: 700; font-size: .98rem; margin-top: .15rem; }

.barcode {
    height: 54px;
    background: repeating-linear-gradient(
        90deg,
        var(--navy-900) 0 2px, transparent 2px 5px,
        var(--navy-900) 5px 8px, transparent 8px 10px,
        var(--navy-900) 10px 11px, transparent 11px 15px,
        var(--navy-900) 15px 19px, transparent 19px 21px
    );
    border-radius: 4px;
}

/* ------------------------------------------------------ staff-панель */
.staff-nav {
    background: var(--navy-900);
    border-radius: var(--radius);
    padding: .6rem;
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow);
}

.staff-nav a {
    color: #b9c8e4;
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    border-radius: 10px;
    padding: .55rem 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all .18s;
}

.staff-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.staff-nav a.active { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(28, 100, 217, .4); }

.table-osh { --bs-table-bg: transparent; }

.table-osh thead th {
    background: #f1f5fb;
    color: var(--muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    border: none;
    padding: .8rem 1rem;
    white-space: nowrap;
}

.table-osh tbody td {
    padding: .85rem 1rem;
    vertical-align: middle;
    border-color: var(--border);
    font-size: .92rem;
}

.table-osh tbody tr:hover { background: #f8fafd; }

.progress-load { height: 7px; border-radius: 99px; background: #e6edf7; min-width: 90px; }
.progress-load .progress-bar { border-radius: 99px; }

/* ---------------------------------------------------------- оплата */
.pay-card-visual {
    background: linear-gradient(120deg, var(--navy-800) 0%, var(--brand) 70%, var(--sky) 120%);
    border-radius: var(--radius);
    color: #fff;
    padding: 1.6rem;
    font-family: var(--font-mono);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    min-height: 190px;
}

.pay-card-visual::after {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    top: -90px; right: -60px;
}

.pay-chip {
    width: 44px; height: 32px;
    border-radius: 7px;
    background: linear-gradient(135deg, #ffd34d, #f2a705);
}

/* ---------------------------------------------------------- футер */
.footer {
    background: var(--navy-900);
    color: #b9c8e4;
    padding: 3rem 0 1.5rem;
    margin-top: 4.5rem;
}

.footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer a { color: #b9c8e4; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 2rem;
    padding-top: 1.25rem;
    font-size: .85rem;
    color: #6b7f9e;
}

/* ---------------------------------------------------------- баннер CTA */
.cta-banner {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(8, 26, 51, .9) 20%, rgba(8, 26, 51, .45)),
        url('../img/terminal.jpg') center 70% / cover no-repeat;
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-lg);
}

/* about page */
.about-hero {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(8, 26, 51, .88) 10%, rgba(28, 100, 217, .45)),
        url('../img/runway.jpg') center / cover no-repeat;
    padding: 4rem 3rem;
}

.timeline-item {
    border-left: 3px solid var(--brand);
    padding: 0 0 1.5rem 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px; top: 2px;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px #dbe7fb;
}

/* ---------------------------------------------------------- пагинация */
.pagination .page-link {
    border-radius: 10px !important;
    margin: 0 3px;
    border: 1.5px solid var(--border);
    color: var(--text);
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background: var(--brand);
    border-color: var(--brand);
}

/* ---------------------------------------------------------- сообщения */
.alert { border-radius: var(--radius-sm); border: none; box-shadow: var(--shadow); }

/* ---------------------------------------------------------- анимации */
.fade-up { animation: fadeUp .55s ease both; }
.fade-up-1 { animation-delay: .07s; }
.fade-up-2 { animation-delay: .14s; }
.fade-up-3 { animation-delay: .21s; }
.fade-up-4 { animation-delay: .28s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- печать билета */
@media print {
    .navbar-osh, .footer, .no-print, .alert { display: none !important; }
    body { background: #fff; }
    main { padding: 0 !important; }
    .eticket { box-shadow: none; border: 1px solid #ccc; max-width: 100%; }
}

/* ---------------------------------------------------------- адаптив */
@media (max-width: 991px) {
    .auth-side { display: none !important; }
    .hero { padding: 3.5rem 0 8rem; }
}

@media (max-width: 575px) {
    .fc-route { flex-direction: column; }
    .fc-path { width: 100%; }
    .eticket .code-lg { font-size: 1.9rem; }
    .search-card { padding: 1.25rem; }
    .cta-banner, .about-hero { padding: 2.2rem 1.5rem; }
}
