:root {
    --primary-red: #8b1538;
    --primary-gold: #c9a227;
    --primary-navy: #1b3b6f;
    --bg: #f7f4ef;
    --card: #ffffff;
    --text: #22313f;
    --muted: #61717f;
    --border: #e5e7eb;
    --success: #1f9d55;
    --warning: #d68b00;
    --danger: #d64541;
    --info: #2d7ff9;
    --shadow: 0 10px 30px rgba(18, 28, 45, 0.08);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(180deg, #fcfbf9, var(--bg)); color: var(--text); }
button, input, select, textarea { font: inherit; }
.container { max-width: 1560px; margin: 0 auto; padding: 24px; }
.header { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 24px; }
.header h1 { margin: 0; letter-spacing: 0.24em; font-size: 2rem; }
.header p { margin: 8px 0 0; color: var(--primary-gold); text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.2em; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.tab { border: none; background: transparent; border-radius: 999px; padding: 12px 16px; cursor: pointer; color: var(--muted); font-weight: 600; }
.tab.active, .tab:hover { background: linear-gradient(135deg, var(--primary-red), #a72e4a); color: white; }
.screen { display: none; }
.screen.active { display: block; }
.section-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-header h2, .panel-head h3 { margin: 0; }
.action-row, .filters-inline, .action-buttons, .form-actions, .action-column { display: flex; gap: 12px; flex-wrap: wrap; }
.action-column { flex-direction: column; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; margin-bottom: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.subtab-row { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; flex-wrap: wrap; }
.subtab-btn { border: 1px solid var(--border); background: #fff; color: var(--muted); border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; }
.subtab-btn:hover { border-color: rgba(139, 21, 56, 0.25); color: var(--primary-red); }
.subtab-btn.active { background: linear-gradient(135deg, var(--primary-red), #a72e4a); color: white; border-color: transparent; box-shadow: 0 8px 18px rgba(139, 21, 56, 0.18); }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.info-kv { padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, #ffffff, #faf7f2); }
.info-kv strong { display: block; margin-bottom: 6px; color: var(--primary-navy); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.info-kv span { color: var(--text); line-height: 1.6; white-space: pre-line; }
.stanpolis-note { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(201, 162, 39, 0.1); color: var(--primary-navy); }
.bank-accounts-stack { display: grid; gap: 18px; }
.bank-account-toolbar { align-items: flex-start; }
.bank-account-card { border: 1px solid rgba(27, 59, 111, 0.12); border-left: 5px solid var(--primary-gold); border-radius: 22px; padding: 22px; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); box-shadow: var(--shadow); }
.bank-account-card-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.bank-account-card-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.bank-account-title { margin: 8px 0 0; font-size: 1.4rem; color: var(--text); }
.bank-account-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary-navy); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.bank-account-company { margin-top: 10px; color: var(--muted); line-height: 1.6; max-width: 920px; }
.bank-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.bank-account-field { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid rgba(27, 59, 111, 0.1); min-height: 88px; }
.bank-account-field.wide { grid-column: 1 / -1; }
.bank-account-field strong { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.bank-account-field span { display: block; color: var(--text); font-weight: 700; line-height: 1.6; word-break: break-word; }
.bank-account-note { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.06)); color: #73510a; display: flex; gap: 12px; align-items: flex-start; line-height: 1.7; }
.bank-account-empty { border: 1px dashed rgba(27, 59, 111, 0.22); border-radius: 20px; padding: 32px 24px; background: linear-gradient(180deg, #ffffff, #fbfdff); text-align: center; color: var(--muted); }
.bank-account-empty strong { display: block; margin-bottom: 8px; color: var(--primary-navy); font-size: 1rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.stat-card strong { display: block; font-size: 1.6rem; margin-top: 10px; }
.stat-card small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
tbody tr:hover { background: rgba(201, 162, 39, 0.08); }
.tour-definition-region-row td {
    background: #f8fafc;
    border-bottom: 1px solid #dbe4f0;
    padding-top: 18px;
    padding-bottom: 10px;
}
.tour-definition-region-row:hover td {
    background: #f8fafc;
}
.tour-definition-region-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-align: left;
}
.tour-definition-region-toggle:hover .tour-definition-region-badge {
    background: #1d4ed8;
}
.tour-definition-region-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #1e3a8a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tour-definition-region-meta {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}
.tour-definition-region-icon {
    margin-left: auto;
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}
.btn { border: none; cursor: pointer; border-radius: 12px; padding: 11px 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.small { padding: 8px 10px; font-size: 0.875rem; }
.btn.primary { background: linear-gradient(135deg, var(--primary-red), #a72e4a); color: white; }
.btn.ghost { background: transparent; border: 2px solid var(--primary-red); color: var(--primary-red); }
.btn.danger { background: var(--danger); color: white; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 10px; font-size: 0.75rem; font-weight: 700; }
.badge.success { background: rgba(31, 157, 85, 0.12); color: var(--success); }
.badge.warning { background: rgba(214, 139, 0, 0.12); color: var(--warning); }
.badge.danger { background: rgba(214, 69, 65, 0.12); color: var(--danger); }
.badge.info { background: rgba(45, 127, 249, 0.12); color: var(--info); }
.timeline { display: grid; gap: 16px; }
.timeline-day { background: rgba(27, 59, 111, 0.05); border-radius: 18px; padding: 16px; }
.timeline-day h4 { margin: 0 0 12px; color: var(--primary-navy); }
.timeline-item { background: white; border-left: 4px solid var(--primary-gold); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.timeline-item.transfer { border-left-color: var(--info); }
.muted { color: var(--muted); }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; border: none; cursor: pointer; color: white; }
.icon-btn.edit { background: var(--info); }
.icon-btn.delete { background: var(--danger); }
.icon-btn.pdf { background: var(--primary-red); }
.icon-btn.pay { background: var(--success); }
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(17, 24, 39, 0.55); backdrop-filter: blur(5px); z-index: 50; padding: 24px; }
.modal.active { display: flex; }
.modal-card { background: white; border-radius: 24px; padding: 24px; width: min(720px, 100%); max-height: calc(100vh - 48px); overflow: auto; position: relative; box-shadow: var(--shadow); }
.modal-card.wide { width: min(980px, 100%); }
.modal-card.pdf-card { width: min(1120px, 100%); }
.modal-close { position: absolute; right: 18px; top: 18px; border: none; background: #f3f4f6; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 0.875rem; font-weight: 600; }
.section-field { margin-top: 10px; border-top: 2px solid var(--primary-gold); padding-top: 15px; }
.section-field h4 { margin: 0; color: var(--primary-navy); }
.section-field i { margin-right: 6px; }
input, select, textarea { width: 100%; border: 1px solid var(--border); background: #fbfbfb; border-radius: 12px; padding: 11px 12px; }
.cost-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.cost-panel { border: 1px solid var(--border); border-radius: 18px; padding: 16px; }
.cost-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.cost-items { display: grid; gap: 10px; }
.cost-item { display: grid; grid-template-columns: 1.8fr 1fr 0.8fr auto; gap: 8px; }
.summary-bar { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px; border-radius: 16px; background: var(--primary-navy); color: white; }
.sync-pill { position: fixed; right: 20px; bottom: 20px; z-index: 60; border-radius: 999px; padding: 12px 16px; color: white; background: var(--warning); box-shadow: var(--shadow); }
.management-grid, .sync-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.file-btn input { display: none; }
#pdf-root { background: white; padding: 24px; }
@media (max-width: 960px) { .form-grid, .cost-panels, .management-grid, .sync-grid { grid-template-columns: 1fr; } .cost-item { grid-template-columns: 1fr; } .bank-account-grid { grid-template-columns: 1fr; } .bank-account-field.wide { grid-column: auto; } .bank-account-card-head { flex-direction: column; } .bank-account-card-tools { justify-content: space-between; } }
@media (max-width: 640px) { .container { padding: 14px; } .header { border-radius: 18px; } .tab { width: 100%; justify-content: flex-start; } }

input[readonly], textarea[readonly], select[disabled] {
    background: #eef2f7;
    color: var(--muted);
}

.is-invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(214, 69, 65, 0.12);
}

.sync-pill {
    transition: background 0.2s ease, transform 0.2s ease;
}

.sync-pill:hover {
    transform: translateY(-1px);
}

/* Rehber ve Araç Atama Paneli Stilleri */
#guides-assignment-view table,
#vehicles-assignment-view table {
    font-size: 0.85rem;
}

#guides-assignment-view td,
#vehicles-assignment-view td {
    min-width: 120px;
    max-width: 200px;
    overflow: hidden;
}

#guides-assignment-view td > div,
#vehicles-assignment-view td > div {
    font-size: 0.8rem;
    line-height: 1.4;
}

#assignment-warnings .badge {
    padding: 8px 12px;
    margin-bottom: 5px;
    display: block;
    text-align: left;
}

#assignment-warnings .badge.danger {
    background: rgba(214, 69, 65, 0.15);
    color: var(--danger);
    border-left: 3px solid var(--danger);
}

#assignment-warnings .badge.warning {
    background: rgba(214, 139, 0, 0.15);
    color: var(--warning);
    border-left: 3px solid var(--warning);
}

#assignment-warnings .badge.info {
    background: rgba(45, 127, 249, 0.15);
    color: var(--info);
    border-left: 3px solid var(--info);
}

/* Zaman çizelgesi hücre renkleri */
#guides-timeline-table td,
#vehicles-timeline-table td {
    transition: background 0.2s ease;
}

/* Çakışma göstergesi */
.conflict-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Rehber Listesi PDF Buton Stilleri */
#guides-list-table .btn.small {
    padding: 6px 12px;
    font-size: 0.8rem;
}

#guides-list-table .btn.small i {
    margin-right: 4px;
}

/* Rehber detay açılır alanı için düzenleme */
#guides-list-table details {
    cursor: pointer;
}

#guides-list-table summary {
    font-weight: 600;
    color: var(--primary-navy);
}

#guides-list-table details[open] summary {
    margin-bottom: 10px;
}

/* Transfer yönetimi özel stiller - mevcut renk paletine uygun */
#transfer-management-table tr {
    border-left: 3px solid var(--info); /* Transferler için mavi vurgu */
}

#transfer-management-table tr:hover {
    background: rgba(45, 127, 249, 0.05); /* Mavi tonlu hover */
}

/* Rehber ve Araç Atama Paneli - Liste Görünümü */
#guides-assignment-view details,
#vehicles-assignment-view details {
    cursor: pointer;
}

#guides-assignment-view summary,
#vehicles-assignment-view summary {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.9rem;
}

#guides-assignment-view details[open] summary,
#vehicles-assignment-view details[open] summary {
    margin-bottom: 8px;
}

#guides-assignment-view td > div,
#vehicles-assignment-view td > div {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Kapasite aşımı uyarısı */
#vehicles-assignment-view tr[style*="background"] td {
    border-left: 3px solid var(--danger);
}

/* YATAY REHBER TABLO STILI - YENI */
.guide-task-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 12px;
}

.guide-task-table thead th {
    background: var(--primary-navy);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guide-task-table thead th:first-child {
    border-radius: 10px 0 0 0;
}

.guide-task-table thead th:last-child {
    border-radius: 0 10px 0 0;
}

.guide-task-table tbody tr {
    background: white;
    transition: background 0.15s ease;
}

.guide-task-table tbody tr:hover {
    background: rgba(201, 162, 39, 0.05);
}

.guide-task-table tbody tr.transfer-row {
    background: rgba(45, 127, 249, 0.03);
}

.guide-task-table tbody tr.transfer-row:hover {
    background: rgba(45, 127, 249, 0.08);
}

.guide-task-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.guide-task-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.guide-task-table tbody tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}

/* Saat hücresi */
.task-time {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-family: 'Segoe UI', monospace;
}

.task-time input {
    width: 80px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-navy);
    background: #fbfbfb;
    cursor: pointer;
}

.task-time input:hover {
    border-color: var(--primary-gold);
}

.task-time input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

/* Otel hücresi */
.task-hotel {
    font-weight: 600;
    color: var(--text);
}

.task-hotel i {
    color: var(--primary-gold);
    margin-right: 8px;
}

/* Misafir hücresi */
.task-guest {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-guest-name {
    font-weight: 600;
    color: var(--primary-navy);
}

.task-guest-phone,
.task-guest-nationality {
    font-size: 0.8rem;
    color: var(--muted);
}

.task-guest-phone i,
.task-guest-nationality i {
    margin-right: 4px;
    width: 14px;
}

/* Kişi sayısı */
.task-pax {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    text-align: center;
}

.task-pax i {
    color: var(--muted);
    margin-right: 6px;
    font-size: 0.9rem;
}

/* Araç */
.task-vehicle {
    text-align: center;
}

.task-vehicle-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.task-vehicle-badge.tour {
    background: rgba(201, 162, 39, 0.12);
    color: var(--primary-gold);
}

.task-vehicle-badge.transfer {
    background: rgba(45, 127, 249, 0.12);
    color: var(--info);
}

/* Acente */
.task-customer {
    text-align: right;
}

.task-customer-name {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}

.task-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.task-type-badge.op {
    background: var(--primary-gold);
    color: white;
}

.task-type-badge.tr {
    background: var(--info);
    color: white;
}

/* Boş durum */
.guide-no-tasks {
    padding: 40px;
    text-align: center;
    color: var(--muted);
    font-style: italic;
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
    margin-top: 12px;
}

/* YATAY ARAÇ TABLO STILI */
.vehicle-task-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 12px;
}

.vehicle-task-table thead th {
    background: var(--primary-red);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vehicle-task-table thead th:first-child {
    border-radius: 10px 0 0 0;
}

.vehicle-task-table thead th:last-child {
    border-radius: 0 10px 0 0;
}

.vehicle-task-table tbody tr {
    background: white;
    transition: background 0.15s ease;
}

.vehicle-task-table tbody tr:hover {
    background: rgba(139, 21, 56, 0.05);
}

.vehicle-task-table tbody tr.transfer-row {
    background: rgba(45, 127, 249, 0.03);
}

.vehicle-task-table tbody tr.transfer-row:hover {
    background: rgba(45, 127, 249, 0.08);
}

.vehicle-task-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.vehicle-task-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.vehicle-task-table tbody tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}

/* Araç plaka hucresi */
.task-plate {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-red);
    font-family: 'Segoe UI', monospace;
    letter-spacing: 1px;
}

/* Şoför hucresi */
.task-driver {
    display: flex;
    align-items: center;
    gap: 8px;
}

.task-driver i {
    color: var(--muted);
}

/* Rehber hucresi */
.task-guide {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-navy);
}

.task-guide i {
    color: var(--primary-gold);
}

/* Rota hucresi */
.task-route {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-route-from-to {
    font-weight: 600;
    color: var(--text);
}

.task-route-terminal {
    font-size: 0.8rem;
    color: var(--muted);
}

.task-route-terminal i {
    margin-right: 4px;
}

/* Kapasite gostergesi */
.task-capacity-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.task-capacity-ok {
    background: rgba(31, 157, 85, 0.12);
    color: var(--success);
}

.task-capacity-warning {
    background: rgba(214, 69, 65, 0.12);
    color: var(--danger);
}

/* Bos araç mesaji */
.vehicle-no-tasks {
    padding: 40px;
    text-align: center;
    color: var(--muted);
    font-style: italic;
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
    margin-top: 12px;
}

/* Transfer Yönetimi - Saat input stili */
#transfer-management-table .time-edit-input {
    transition: all 0.2s ease;
}

#transfer-management-table .time-edit-input:hover {
    border-color: var(--primary-gold) !important;
}

#transfer-management-table .time-edit-input:focus {
    outline: none;
    border-color: var(--primary-gold) !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

/* Rehber ata butonu */
.assign-guide-btn {
    background: linear-gradient(135deg, var(--primary-red), #a72e4a);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.assign-guide-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.25);
}

/* Operasyon Yönetimi - Saat input stili */
#operations-table .time-edit-input {
    transition: all 0.2s ease;
}

#operations-table .time-edit-input:hover {
    border-color: var(--primary-gold) !important;
}

#operations-table .time-edit-input:focus {
    outline: none;
    border-color: var(--primary-gold) !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

/* Rehber ata butonu */
#operations-table .assign-guide-btn {
    background: linear-gradient(135deg, var(--primary-red), #a72e4a);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

#operations-table .assign-guide-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.25);
}

/* Operasyon Yönetimi - Rehber değiştirme (Transfer yönetimindekiyle aynı) */
#operations-table .guide-change-trigger {
    cursor: pointer;
    transition: all 0.2s ease;
}

#operations-table .guide-change-trigger:hover {
    background: rgba(31, 157, 85, 0.08);
}

#operations-table .guide-change-trigger .fa-pencil-alt {
    transition: all 0.2s ease;
    opacity: 0.6;
}

#operations-table .guide-change-trigger:hover .fa-pencil-alt {
    opacity: 1;
    color: var(--primary-gold);
}

/* Rehber atanmamış durum - kırmızı hover */
#operations-table .guide-change-trigger[data-current-guide=""]:hover,
#operations-table .guide-change-trigger[data-current-guide=""]:hover {
    background: rgba(214, 69, 65, 0.08);
}

/* Atanmış rehber - üzerine gelince */
#operations-table .guide-assigned:hover {
    background: rgba(31, 157, 85, 0.08);
}

/* Küçük kalem ikonu - üzerine gelince belirginleş */
#operations-table .guide-assigned:hover .fa-pencil-alt {
    opacity: 1 !important;
    color: var(--primary-gold);
}

/* Rota hücresi düzeni */
#transfer-management-table td:nth-child(3) {
    min-width: 180px;
}

/* Firma borç tablosu - operasyon baglantisi */
#company-debts-table td .badge {
    margin-bottom: 4px;
}

#company-debts-table td small {
    display: inline-block;
    background: rgba(27, 59, 111, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Döviz Cevirici */
.currency-converter {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow);
}

.currency-converter .currency-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.currency-converter input {
    width: 90px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: right;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    background: #fbfbfb;
    transition: all 0.2s ease;
}

.currency-converter input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.currency-converter .currency-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 30px;
}

/* Responsive: Mobil'de tam genislik */
@media (max-width: 640px) {
    .currency-converter {
        width: 100%;
        justify-content: space-between;
    }
    
    .currency-converter input {
        width: 100%;
        min-width: 70px;
    }
    position: relative; /* indicator icin */
}

.rate-indicator {
    color: var(--muted);
    font-size: 0.7rem;
    margin-left: 12px;
    font-style: italic;
}

/* Loading durumu */
.currency-converter.loading input {
    opacity: 0.6;
    pointer-events: none;
}

.badge i.fa-layer-group {
    margin-right: 4px;
}

#company-debts-table td {
    vertical-align: middle;
}

#company-debts-table .badge {
    font-size: 0.75rem;
}

/* ============================================================
   INLINE ARAÇ GRUBU ID STILLERI
   ============================================================ */

.vehicle-group-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--muted);
    background: rgba(97, 113, 127, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
    border: 1px dashed var(--border);
    font-family: 'Segoe UI', monospace;
    letter-spacing: 0.3px;
}

.vehicle-group-trigger:hover {
    background: rgba(97, 113, 127, 0.15);
    border-color: var(--muted);
}

.vehicle-group-trigger i.fa-layer-group {
    color: var(--muted);
    font-size: 0.7rem;
}

.vehicle-group-trigger i.fa-pencil-alt {
    font-size: 0.65rem;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.vehicle-group-trigger:hover i.fa-pencil-alt {
    opacity: 1;
    color: var(--primary-gold);
}

/* Deger varsa farkli stil - primary-navy tonlari */
.vehicle-group-trigger.has-value {
    color: var(--primary-navy);
    background: rgba(27, 59, 111, 0.08);
    border-style: solid;
    border-color: rgba(27, 59, 111, 0.2);
    font-weight: 600;
}

.vehicle-group-trigger.has-value i.fa-layer-group {
    color: var(--primary-navy);
}

.vehicle-group-trigger.has-value:hover {
    background: rgba(27, 59, 111, 0.12);
    border-color: rgba(27, 59, 111, 0.3);
}

/* Inline picker input stili */
#inline-vehicle-group-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Segoe UI', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#inline-vehicle-group-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

/* Saat hücresi düzeni - flex column */
#operations-table td:first-child,
#transfer-management-table td:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}






@media (max-width: 960px) { .info-grid { grid-template-columns: 1fr; } }


.tours-screen-header {
    align-items: flex-start;
    gap: 18px;
}

.tours-screen-note {
    margin: 6px 0 0;
    color: var(--muted);
    max-width: 760px;
}

.tours-subtabs {
    flex-wrap: wrap;
}

.tours-subtab-btn.active {
    background: var(--primary-navy);
    color: #fff;
    border-color: var(--primary-navy);
}

.tour-subscreen {
    display: none;
}

.tour-subscreen.active {
    display: block;
}

.tour-region-panels,
.package-board-list,
.itinerary-entry-list,
.selected-itinerary-list {
    display: grid;
    gap: 18px;
}

.selected-itinerary-list {
    gap: 12px;
}

.tours-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tour-region-card,
.itinerary-card,
.package-board-card,
.builder-item {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 18px;
}

.tour-region-card-head,
.itinerary-card-head,
.package-board-card-head,
.builder-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 14px;
}

.tour-region-card-head h4,
.itinerary-card-head h4,
.package-board-card-head h4,
.builder-item-head h4 {
    margin: 4px 0 0;
}

.tour-region-card textarea,
.tour-preview-surface,
.package-board-editor textarea,
.package-board-editor input,
.package-board-editor select {
    width: 100%;
}

.inline-field-block {
    margin-top: 14px;
}

.compact-grid {
    margin-bottom: 16px;
}

.builder-item-compact {
    padding: 14px 16px;
}

.itinerary-builder-grid {
    grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 0;
}

.itinerary-builder-day {
    max-width: 190px;
}

.itinerary-builder-title input,
.itinerary-builder-day input {
    width: 100%;
}

@media (max-width: 760px) {
    .itinerary-builder-grid {
        grid-template-columns: 1fr;
    }

    .itinerary-builder-day {
        max-width: none;
    }
}

.empty-state-panel,
.empty-state-card {
    border: 1px dashed var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.7);
}

.tour-preview-surface {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    min-height: 180px;
    padding: 24px;
    overflow: auto;
}

.tour-preview-surface.empty-state {
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.itinerary-meta,
.package-board-meta,
.region-card-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.builder-item-controls,
.package-board-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.package-board-editor {
    display: grid;
    gap: 18px;
}

.package-board-table th,
.package-board-table td {
    vertical-align: middle;
}

.package-board-table input,
.package-board-table select {
    min-width: 88px;
}

.package-board-heading-select {
    min-width: 120px;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.package-board-stack {
    display: grid;
    gap: 6px;
    min-width: 150px;
}

.package-board-night-stack {
    min-width: 72px;
}

.inline-split-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 8px;
}

.field-hint {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.icon-btn.add {
    background: rgba(31, 157, 85, 0.12);
    color: var(--success);
}

@media (max-width: 1100px) {
    .tours-two-col {
        grid-template-columns: 1fr;
    }
}

.section-header > * {
    min-width: 0;
}

.section-header .btn,
.panel-head .btn,
.subtab-row .subtab-btn,
.tours-subtabs .tours-subtab-btn {
    flex-shrink: 0;
}

.tours-screen-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.tours-screen-header > div:first-child {
    flex: 1 1 420px;
}

.tours-subtabs {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1 1 320px;
}

@media (max-width: 900px) {
    .section-header,
    .panel-head,
    .tours-screen-header {
        align-items: stretch;
    }

    .tours-subtabs {
        justify-content: flex-start;
    }
}
.itinerary-region-group {
    padding: 0;
    overflow: hidden;
}

.itinerary-region-toggle h4 {
    margin: 4px 0 0;
}

.itinerary-region-list {
    display: grid;
    gap: 18px;
}
.tour-region-card {
    padding: 0;
    overflow: hidden;
}

.tour-region-card-toggle {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
    cursor: pointer;
    text-align: left;
    list-style: none;
}

.tour-region-card-toggle::-webkit-details-marker {
    display: none;
}

.tour-region-card-toggle:hover {
    background: rgba(15, 23, 42, 0.03);
}

.tour-region-card-toggle h4 {
    margin: 4px 0 0;
}

.tour-region-card-icon {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.tour-region-card-icon::before {
    content: "+";
}

.tour-region-card[open] .tour-region-card-icon::before {
    content: "-";
}

.tour-region-card-body {
    padding: 0 18px 18px;
    display: grid;
    gap: 14px;
}

.tour-region-actions {
    width: 100%;
    padding-top: 2px;
    justify-content: flex-end;
}

.tour-transfer-rates-table th:nth-child(n + 3):nth-child(-n + 6),
.tour-transfer-rates-table td:nth-child(n + 3):nth-child(-n + 6) {
    text-align: center;
    white-space: nowrap;
}

.tour-transfer-rates-table thead th:nth-child(2) {
    min-width: 360px;
}

.tour-transfer-code-cell {
    font-weight: 800;
    white-space: nowrap;
}

.tour-transfer-title-cell {
    min-width: 320px;
}
.daily-price-list-shell {
    display: grid;
    gap: 14px;
}

.daily-price-list-hint {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.daily-price-list {
    display: grid;
    gap: 12px;
}

.daily-price-list-meta {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.daily-price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.daily-price-card summary {
    list-style: none;
}

.daily-price-card summary::-webkit-details-marker {
    display: none;
}

.daily-price-card-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.daily-price-card-main {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.daily-price-card-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.daily-price-card-title-row strong {
    font-size: 1rem;
}

.daily-price-card-subtitle {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.daily-price-card-empty {
    color: var(--muted);
    font-style: italic;
}

.daily-price-card-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.daily-price-card-rate {
    color: var(--primary-navy);
    font-size: 1rem;
}

.daily-price-card-icon {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.daily-price-card-icon::before {
    content: "+";
}

.daily-price-card[open] .daily-price-card-icon::before {
    content: "-";
}

.daily-price-card-body {
    display: grid;
    gap: 14px;
    padding: 16px 18px 18px;
    border-top: 1px solid var(--border);
    background: rgba(248, 250, 252, 0.82);
}

.daily-price-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.daily-price-card-grid small,
.daily-price-card-notes small {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.daily-price-card-grid strong {
    display: block;
    margin-top: 6px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.daily-price-card-arrow {
    color: var(--muted);
    font-size: 0.8rem;
    margin: 0 4px;
}

.daily-price-card-notes {
    padding: 12px 14px;
    border: 1px dashed var(--border);
    border-radius: 14px;
    background: #fff;
}

.daily-price-card-notes div {
    margin-top: 8px;
    color: #1f2937;
    line-height: 1.6;
    white-space: pre-wrap;
}

.daily-price-card-actions {
    display: flex;
    justify-content: flex-end;
}

.company-group-body {
    gap: 10px;
}

.daily-price-item.compact-row {
    display: grid;
    grid-template-columns: minmax(120px, 0.9fr) minmax(220px, 1.7fr) minmax(120px, 0.9fr) minmax(220px, 1.35fr) minmax(170px, 1.2fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.daily-price-item-cell {
    min-width: 0;
}

.daily-price-item-cell small {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.daily-price-item-cell strong,
.daily-price-item-cell span {
    display: block;
    color: #1f2937;
    line-height: 1.45;
}

.daily-price-item-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.daily-price-item-inline strong,
.tour-cell strong,
.rate-cell strong,
.validity-cell strong {
    font-size: 0.96rem;
}

.tour-cell strong,
.notes-cell span,
.validity-cell strong {
    font-weight: 600;
}

.notes-cell span {
    color: var(--muted);
}

.compact-actions {
    justify-content: flex-end;
    align-self: center;
}

@media (max-width: 1180px) {
    .daily-price-item.compact-row {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }

    .compact-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

@media (max-width: 720px) {
    .daily-price-item.compact-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .compact-actions {
        justify-content: flex-start;
    }
}

.agency-doc-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.agency-doc-column {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.agency-doc-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.agency-doc-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--border);
}

.agency-doc-card-head h3,
.agency-doc-card-head h4 {
    margin: 0;
}

.agency-doc-card-body {
    padding: 16px 18px 18px;
}

.agency-doc-muted {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.agency-doc-empty {
    padding: 18px;
    border: 1px dashed var(--border);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--muted);
}

.agency-doc-stack {
    display: grid;
    gap: 12px;
}

.agency-doc-record {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    padding: 14px 16px;
    display: grid;
    gap: 10px;
}

.agency-doc-record.active {
    border-color: #0f766e;
    box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.18);
}

.agency-doc-record-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.agency-doc-record-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.9rem;
}

.agency-doc-form {
    display: grid;
    gap: 18px;
}

.agency-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.agency-doc-grid .field.full {
    grid-column: 1 / -1;
}

.agency-doc-inline-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.agency-doc-summary {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agency-doc-summary-box {
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
}

.agency-doc-summary-box small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.agency-doc-summary-box strong {
    display: block;
    margin-top: 8px;
    font-size: 1.08rem;
}

.agency-doc-preview {
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    overflow: auto;
}

.agency-doc-preview.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.agency-doc-section {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fcfdff;
}

.agency-doc-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.agency-doc-section-title {
    margin: 0;
}

.agency-doc-grid.agency-doc-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agency-doc-grid.agency-doc-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agency-doc-table input,
.agency-doc-table select,
.agency-doc-table textarea {
    width: 100%;
}

.agency-doc-table textarea {
    min-height: 54px;
    resize: vertical;
}

.agency-doc-table th,
.agency-doc-table td {
    vertical-align: top;
}

.agency-doc-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.agency-doc-badge.draft {
    background: #e0f2fe;
    color: #075985;
}

.agency-doc-badge.ready {
    background: #dcfce7;
    color: #166534;
}

.agency-doc-badge.sent {
    background: #ede9fe;
    color: #6d28d9;
}

.agency-doc-badge.cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

@media (max-width: 1180px) {
    .agency-doc-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .agency-doc-grid,
    .agency-doc-grid.agency-doc-grid-3,
    .agency-doc-grid.agency-doc-grid-4,
    .agency-doc-summary {
        grid-template-columns: 1fr;
    }
}
.quotation-screen-note {
    margin: 8px 0 0;
    max-width: 880px;
    color: var(--muted);
    line-height: 1.7;
}

#quotation-root {
    display: grid;
    gap: 24px;
}

.quotation-shell {
    display: grid;
    gap: 24px;
}

.quotation-toolbar-panel {
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.06), rgba(27, 59, 111, 0.04));
}

.quotation-toolbar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.quotation-span-2 {
    grid-column: span 2;
}

.quotation-toolbar-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 18px;
}

.quotation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 22px;
    align-items: start;
}

.quotation-main-column,
.quotation-side-column {
    display: grid;
    gap: 20px;
}

.quotation-summary-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.quotation-summary-card {
    border: 1px solid rgba(27, 59, 111, 0.12);
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: var(--shadow);
}

.quotation-summary-card span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.quotation-summary-card strong {
    display: block;
    margin-top: 10px;
    color: var(--primary-navy);
    font-size: 1.5rem;
}

.quotation-section-head {
    align-items: flex-start;
}

.quotation-section-note {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.quotation-table-wrap {
    overflow-x: auto;
}

.quotation-table {
    min-width: 100%;
}

.quotation-table th,
.quotation-table td {
    vertical-align: middle;
}

.quotation-table input,
.quotation-table textarea,
.quotation-table select {
    min-width: 110px;
}

.quotation-section-footer {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(27, 59, 111, 0.06);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.quotation-section-panel .quotation-table-wrap {
    max-height: 420px;
    overflow: auto;
}

.quotation-price-browser {
    position: static;
}

.quotation-group-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.quotation-group-tab {
    border: 1px solid rgba(27, 59, 111, 0.14);
    background: #fff;
    color: var(--text);
    border-radius: 14px;
    padding: 10px 14px;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
}

.quotation-group-tab span {
    color: var(--muted);
    font-size: 0.82rem;
}

.quotation-group-tab strong {
    color: var(--primary-navy);
}

.quotation-group-tab.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-red), #a72e4a);
    color: #fff;
    box-shadow: 0 10px 24px rgba(139, 21, 56, 0.16);
}

.quotation-group-tab.active span,
.quotation-group-tab.active strong {
    color: #fff;
}

.quotation-price-card .quotation-table-wrap {
    max-height: 520px;
    overflow: auto;
}

.quotation-company-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.quotation-company-field,
.quotation-vehicle-type-field,
.quotation-company-new-field,
.quotation-tour-supplier-field {
    min-width: 0;
}

.quotation-tour-toolbar {
    grid-template-columns: minmax(0, 320px);
    justify-content: flex-start;
}

.quotation-company-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.quotation-saved-filter {
    min-width: 220px;
}

.quotation-saved-filter select {
    min-width: 0;
    width: 100%;
}

.quotation-price-table {
    min-width: 0;
    table-layout: fixed;
}

.quotation-price-table input,
.quotation-price-table select {
    min-width: 0;
    width: 100%;
}

.quotation-price-table th,
.quotation-price-table td {
    white-space: normal;
}

.quotation-price-table .quotation-price-detail-sort {
    cursor: pointer;
    user-select: none;
}

.quotation-price-table .quotation-price-detail-sort::after {
    content: " (A-Z)";
    opacity: 0.55;
    font-size: 0.72em;
}

.quotation-price-table .quotation-price-detail-sort.is-active {
    color: #1d4f8f;
}

.quotation-price-table .quotation-price-detail-sort.is-active::after {
    opacity: 0.95;
}

.quotation-price-table th:nth-last-child(-n+2),
.quotation-price-table td:nth-last-child(-n+2) {
    white-space: nowrap;
    text-align: center;
}

.quotation-price-table .btn.small {
    padding: 6px;
    min-width: 34px;
}

.quotation-price-table .icon-btn {
    width: 34px;
    height: 34px;
}

@media (max-width: 920px) {
    .quotation-company-toolbar {
        grid-template-columns: 1fr;
    }

    .quotation-company-actions {
        justify-content: flex-start;
    }

    .quotation-saved-filter {
        width: 100%;
    }
}
.quotation-price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.quotation-price-card {
    padding-bottom: 18px;
}

.quotation-inline-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quotation-empty {
    padding: 18px 16px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed rgba(27, 59, 111, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.quotation-active-row td {
    background: rgba(201, 162, 39, 0.12);
}

.quotation-saved-meta {
    margin-top: 6px;
}

.quotation-scenario-table td,
.quotation-scenario-table th {
    text-align: center;
}

.quotation-scenario-table td:first-child,
.quotation-scenario-table th:first-child {
    text-align: left;
}

.quotation-batch-panel,
.quotation-batch-summary-panel {
    border: 1px solid rgba(27, 59, 111, 0.1);
}

.quotation-batch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.quotation-batch-current-bar,
.quotation-batch-summary-meta {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(27, 59, 111, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--primary-navy);
}

.quotation-batch-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.quotation-batch-item {
    border: 1px solid rgba(27, 59, 111, 0.12);
    border-radius: 16px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    display: grid;
    gap: 12px;
}

.quotation-batch-item.active {
    border-color: rgba(139, 21, 56, 0.28);
    box-shadow: 0 12px 30px rgba(139, 21, 56, 0.08);
}

.quotation-batch-item-main {
    display: grid;
    gap: 10px;
}

.quotation-batch-item-title {
    border: none;
    background: transparent;
    padding: 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-navy);
    cursor: pointer;
}

.quotation-batch-item-title:hover {
    color: var(--primary-red);
}

.quotation-batch-item-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--muted);
    font-size: 0.88rem;
}

.quotation-batch-item-summary strong {
    color: var(--primary-navy);
}

.quotation-batch-item-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quotation-batch-summary-table td,
.quotation-batch-summary-table th {
    text-align: center;
}

.quotation-batch-summary-table td:first-child,
.quotation-batch-summary-table th:first-child {
    text-align: left;
}

.quotation-batch-summary-table tfoot th,
.quotation-batch-summary-table tfoot td {
    font-weight: 800;
    background: #f8fafc;
}

@media (max-width: 1240px) {
    .quotation-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .quotation-toolbar-grid,
    .quotation-summary-cards {
        grid-template-columns: 1fr;
    }

    .quotation-span-2 {
        grid-column: auto;
    }

    .quotation-batch-actions,
    .quotation-batch-item-tools {
        justify-content: flex-start;
    }
}



.quotation-title-button {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: 800;
    color: var(--primary-navy);
    cursor: pointer;
    text-align: left;
}

.quotation-title-button:hover {
    color: var(--primary-red);
    text-decoration: underline;
}



.hotels-quotation-screen-note {
    margin: 8px 0 0;
    max-width: 920px;
    color: var(--muted);
    line-height: 1.7;
}

#hotels-quotation-root {
    display: grid;
    gap: 24px;
}

.hotels-quotation-shell {
    display: grid;
    gap: 24px;
}

.hotels-quotation-toolbar-panel {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(27, 59, 111, 0.05));
}

.hotels-quotation-toolbar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hotels-quotation-toolbar-notes {
    grid-column: span 3;
}

.hotels-quotation-toolbar-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hotels-quotation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.hotels-quotation-main-column {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.hotels-quotation-sheet-panel,
.hotels-quotation-service-panel,
.hotels-quotation-saved-panel,
.hotels-quotation-final-panel,
.hotels-quotation-summary-panel {
    min-width: 0;
    overflow: hidden;
}

.hotels-quotation-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 20px;
    align-items: start;
}

.hotels-quotation-section-head {
    align-items: flex-start;
}

.hotels-quotation-section-note {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.hotels-quotation-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.hotels-quotation-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1120px;
}
.hotels-quotation-hotel-table {
    min-width: 1320px;
}

.hotels-quotation-service-table {
    min-width: 100%;
    table-layout: fixed;
}

.hotels-quotation-service-table th,
.hotels-quotation-service-table td {
    white-space: normal;
}

.hotels-quotation-service-table input {
    min-width: 0;
}

.hotels-quotation-table th,
.hotels-quotation-table td {
    padding: 10px 8px;
    border: 1px solid #d8dee9;
    vertical-align: middle;
}

.hotels-quotation-table thead th {
    color: #1f2937;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 800;
}

.hotels-quotation-hotel-table .hq-city-col,
.hotels-quotation-hotel-table .hq-nights-col,
.hotels-quotation-hotel-table .hq-action-col {
    background: #f8fafc;
}

.hotels-quotation-hotel-table .hq-sgl-rate-col,
.hotels-quotation-hotel-table .hq-sgl-pp-col {
    background: #fde7d9;
}

.hotels-quotation-hotel-table .hq-dbl-rate-col,
.hotels-quotation-hotel-table .hq-dbl-pp-col {
    background: #dfe7fb;
}

.hotels-quotation-hotel-table .hq-tpl-rate-col,
.hotels-quotation-hotel-table .hq-tpl-pp-col,
.hotels-quotation-service-panel:nth-child(1) .panel-head {
    background: #dff0d0;
}

.hotels-quotation-hotel-table .hq-child-rate-col,
.hotels-quotation-hotel-table .hq-child-pp-col,
.hotels-quotation-service-panel:nth-child(2) .panel-head {
    background: #f7efc2;
}

.hotels-quotation-money-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    color: var(--primary-navy);
}

.hotels-quotation-row-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.hotels-quotation-rate-stack {
    display: grid;
    gap: 8px;
    min-width: 150px;
}

.hotels-quotation-inline-markup {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(27, 59, 111, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.hotels-quotation-inline-markup span {
    color: var(--primary-navy);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hotels-quotation-inline-markup input {
    padding-top: 8px;
    padding-bottom: 8px;
}

.hotels-quotation-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.hotels-quotation-summary-panel {
}

.hotels-quotation-summary-table {
    width: 100%;
    border-collapse: collapse;
}

.hotels-quotation-summary-table th,
.hotels-quotation-summary-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
}

.hotels-quotation-summary-table th {
    width: 68%;
    text-align: left;
    color: #111827;
    background: rgba(201, 162, 39, 0.08);
}

.hotels-quotation-summary-table td {
    color: var(--primary-navy);
    font-weight: 800;
}


.hotels-quotation-service-head {
    border-radius: 14px;
    padding: 12px 14px;
}

.hotels-quotation-service-total {
    margin-top: 14px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.hotels-quotation-saved-head {
    align-items: flex-end;
}

.hotels-quotation-saved-filter {
    min-width: 240px;
}

.hotels-quotation-saved-table td:last-child {
    min-width: 300px;
}

@media (max-width: 1240px) {
    .hotels-quotation-layout,
    .hotels-quotation-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .hotels-quotation-toolbar-grid,
    .hotels-quotation-final-grid {
        grid-template-columns: 1fr;
    }

    .hotels-quotation-toolbar-notes {
        grid-column: auto;
    }

    .hotels-quotation-saved-filter {
        width: 100%;
    }
}

/* HOTELS QUOTATION COMPACT OVERRIDE START */
.hotels-quotation-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
}

.hotels-quotation-sheet-panel .hotels-quotation-table-wrap,
.hotels-quotation-service-panel .hotels-quotation-table-wrap,
.hotels-quotation-saved-panel .hotels-quotation-table-wrap {
    overflow-x: hidden;
}

.hotels-quotation-hotel-table,
.hotels-quotation-service-table,
.hotels-quotation-saved-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.hotels-quotation-hotel-table th,
.hotels-quotation-hotel-table td,
.hotels-quotation-service-table th,
.hotels-quotation-service-table td,
.hotels-quotation-saved-table th,
.hotels-quotation-saved-table td {
    padding: 6px 4px;
}

.hotels-quotation-hotel-table thead th,
.hotels-quotation-service-table thead th,
.hotels-quotation-saved-table thead th {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
}

.hotels-quotation-hotel-table td,
.hotels-quotation-service-table td,
.hotels-quotation-saved-table td {
    font-size: 0.82rem;
}

.hotels-quotation-hotel-table input,
.hotels-quotation-hotel-table select,
.hotels-quotation-service-table input,
.hotels-quotation-service-table select,
.hotels-quotation-saved-table input,
.hotels-quotation-saved-table select {
    padding: 7px 8px;
    font-size: 0.8rem;
}

.hotels-quotation-hotel-table .hq-city-col {
    width: 14%;
}

.hotels-quotation-hotel-table .hq-nights-col {
    width: 7%;
}

.hotels-quotation-hotel-table .hq-sgl-rate-col,
.hotels-quotation-hotel-table .hq-dbl-rate-col,
.hotels-quotation-hotel-table .hq-tpl-rate-col,
.hotels-quotation-hotel-table .hq-child-rate-col {
    width: 10.5%;
}

.hotels-quotation-hotel-table .hq-sgl-pp-col,
.hotels-quotation-hotel-table .hq-dbl-pp-col,
.hotels-quotation-hotel-table .hq-tpl-pp-col,
.hotels-quotation-hotel-table .hq-child-pp-col {
    width: 8%;
}

.hotels-quotation-hotel-table .hq-action-col {
    width: 5%;
}

.hotels-quotation-service-head {
    padding: 10px 12px;
}

.hotels-quotation-service-head h3,
.hotels-quotation-saved-head h3,
.hotels-quotation-summary-panel .panel-head h3 {
    font-size: 0.95rem;
}

.hotels-quotation-service-table th:nth-child(1) {
    width: 58%;
}

.hotels-quotation-service-table th:nth-child(2),
.hotels-quotation-service-table th:nth-child(3) {
    width: 18%;
}

.hotels-quotation-service-table th:nth-child(4) {
    width: 6%;
}

.hotels-quotation-service-total {
    margin-top: 10px;
    font-size: 0.8rem;
}

.hotels-quotation-saved-head {
    gap: 10px;
}

.hotels-quotation-saved-filter {
    min-width: 180px;
}

.hotels-quotation-saved-table th:nth-child(1),
.hotels-quotation-saved-table td:nth-child(1) {
    width: 42%;
}

.hotels-quotation-saved-table th:nth-child(2),
.hotels-quotation-saved-table td:nth-child(2) {
    width: 14%;
}

.hotels-quotation-saved-table th:nth-child(3),
.hotels-quotation-saved-table td:nth-child(3) {
    width: 16%;
}

.hotels-quotation-saved-table th:nth-child(4),
.hotels-quotation-saved-table td:nth-child(4) {
    width: 28%;
}

.hotels-quotation-saved-table td:last-child {
    min-width: 0;
}

.hotels-quotation-summary-panel .panel-head {
    margin-bottom: 10px;
}

.hotels-quotation-summary-panel .muted {
    font-size: 0.78rem;
}

.hotels-quotation-summary-table th,
.hotels-quotation-summary-table td {
    padding: 10px 10px;
    font-size: 0.82rem;
}

.hotels-quotation-summary-table th {
    width: 72%;
}

.hotels-quotation-rate-stack {
    gap: 4px;
    min-width: 0;
}

.hotels-quotation-inline-markup {
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 4px;
    padding: 5px 6px;
}

.hotels-quotation-inline-markup span {
    font-size: 0.58rem;
    letter-spacing: 0.03em;
}

.hotels-quotation-inline-markup input {
    padding: 6px 6px;
}

.hotels-quotation-money-chip {
    min-height: 34px;
    padding: 4px 6px;
    font-size: 0.78rem;
}

.hotels-quotation-row-actions,
.hotels-quotation-saved-panel .quotation-inline-actions {
    gap: 4px;
}

.hotels-quotation-saved-panel .quotation-inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.hotels-quotation-hotel-table .icon-btn,
.hotels-quotation-service-table .icon-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
}

.hotels-quotation-saved-panel .btn.small {
    width: auto;
    min-width: 0;
    height: auto;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
}

.hotels-quotation-saved-panel .quotation-title-button {
    font-size: 0.86rem;
}

.hotels-quotation-saved-panel .quotation-saved-meta {
    margin-top: 4px;
    font-size: 0.74rem;
}

.hotels-quotation-hotel-table td:nth-child(1) input {
    font-weight: 700;
}

@media (max-width: 1280px) {
    .hotels-quotation-sheet-panel .hotels-quotation-table-wrap,
    .hotels-quotation-service-panel .hotels-quotation-table-wrap,
    .hotels-quotation-saved-panel .hotels-quotation-table-wrap {
        overflow-x: auto;
    }
}
/* HOTELS QUOTATION COMPACT OVERRIDE END */

/* QUOTATION COMPACT OVERRIDE START */
#quotation-root {
    font-size: 0.94rem;
}

#quotation-root .quotation-layout {
    gap: 18px;
}

#quotation-root .quotation-main-column,
#quotation-root .quotation-side-column,
#quotation-root .quotation-shell {
    gap: 18px;
}

#quotation-root .quotation-summary-cards {
    gap: 10px;
}

#quotation-root .quotation-summary-card {
    padding: 14px 15px;
}

#quotation-root .quotation-summary-card span {
    font-size: 0.74rem;
}

#quotation-root .quotation-summary-card strong {
    margin-top: 8px;
    font-size: 1.22rem;
}

#quotation-root .quotation-section-panel .quotation-table-wrap,
#quotation-root .quotation-price-card .quotation-table-wrap,
#quotation-root #quotation-scenario-panel .quotation-table-wrap {
    overflow-x: hidden;
}

#quotation-root .quotation-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

#quotation-root .quotation-table th,
#quotation-root .quotation-table td {
    padding: 7px 6px;
}

#quotation-root .quotation-table thead th {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
}

#quotation-root .quotation-table td {
    font-size: 0.82rem;
}

#quotation-root .quotation-table input,
#quotation-root .quotation-table textarea,
#quotation-root .quotation-table select {
    min-width: 0;
    padding: 7px 8px;
    font-size: 0.8rem;
}

#quotation-root .quotation-section-panel .quotation-table th:nth-child(1) {
    width: 44%;
}

#quotation-root .quotation-section-panel .quotation-table th:nth-child(2) {
    width: 18%;
}

#quotation-root .quotation-section-panel .quotation-table th:nth-child(3) {
    width: 12%;
}

#quotation-root .quotation-section-panel .quotation-table th:nth-child(4) {
    width: 16%;
}

#quotation-root .quotation-section-panel .quotation-table th:nth-child(5) {
    width: 10%;
}

#quotation-root .quotation-price-card .quotation-table th,
#quotation-root .quotation-price-card .quotation-table td {
    white-space: normal;
}

#quotation-root .quotation-price-table th:nth-child(1),
#quotation-root .quotation-price-table td:nth-child(1) {
    width: 18%;
}

#quotation-root .quotation-price-table th:nth-child(2),
#quotation-root .quotation-price-table td:nth-child(2) {
    width: 28%;
}

#quotation-root .quotation-price-table th:nth-child(3),
#quotation-root .quotation-price-table td:nth-child(3) {
    width: 30%;
}

#quotation-root .quotation-price-table th:nth-child(4),
#quotation-root .quotation-price-table td:nth-child(4) {
    width: 14%;
}

#quotation-root .quotation-price-table th:nth-child(5),
#quotation-root .quotation-price-table td:nth-child(5),
#quotation-root .quotation-price-table th:nth-child(6),
#quotation-root .quotation-price-table td:nth-child(6) {
    width: 5%;
}

#quotation-root .quotation-price-table--vehicle-all th:nth-child(1),
#quotation-root .quotation-price-table--vehicle-all td:nth-child(1) {
    width: 16%;
}

#quotation-root .quotation-price-table--vehicle-all th:nth-child(2),
#quotation-root .quotation-price-table--vehicle-all td:nth-child(2) {
    width: 20%;
}

#quotation-root .quotation-price-table--vehicle-all th:nth-child(3),
#quotation-root .quotation-price-table--vehicle-all td:nth-child(3) {
    width: 18%;
}

#quotation-root .quotation-price-table--vehicle-all th:nth-child(4),
#quotation-root .quotation-price-table--vehicle-all td:nth-child(4) {
    width: 30%;
}

#quotation-root .quotation-price-table--vehicle-all th:nth-child(5),
#quotation-root .quotation-price-table--vehicle-all td:nth-child(5),
#quotation-root .quotation-price-table--vehicle-all th:nth-child(6),
#quotation-root .quotation-price-table--vehicle-all td:nth-child(6) {
    width: 8%;
}

#quotation-root .quotation-price-table--vehicle-all td:nth-child(2) input,
#quotation-root .quotation-price-table--vehicle-all td:nth-child(3) input {
    font-size: 0.78rem;
    padding: 6px 7px;
}

#quotation-root .quotation-scenario-table th,
#quotation-root .quotation-scenario-table td {
    padding: 8px 6px;
}

#quotation-root .quotation-scenario-table th:first-child,
#quotation-root .quotation-scenario-table td:first-child {
    width: 24%;
}

#quotation-root .quotation-scenario-table .quotation-currency-row-try td {
    background: #fff6e5;
}

#quotation-root .quotation-scenario-table .quotation-currency-row-usd td {
    background: #edf6ff;
}

#quotation-root .quotation-scenario-table .quotation-currency-row-eur td {
    background: #eefaf1;
}

#quotation-root .quotation-scenario-table .quotation-currency-row td:first-child {
    font-weight: 700;
}
#quotation-root .quotation-company-toolbar {
    gap: 10px;
}

#quotation-root .quotation-group-tabs {
    gap: 8px;
    margin-bottom: 12px;
}

#quotation-root .quotation-group-tab {
    min-width: 120px;
    padding: 8px 10px;
    font-size: 0.82rem;
}

#quotation-root .quotation-group-tab span {
    font-size: 0.72rem;
}

#quotation-root .quotation-section-footer {
    margin-top: 12px;
    padding: 10px 12px;
}

#quotation-root .quotation-inline-actions {
    gap: 6px;
}

#quotation-root .quotation-price-table .btn.small,
#quotation-root .quotation-price-table .icon-btn,
#quotation-root .quotation-table .icon-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 5px;
    border-radius: 8px;
}

#quotation-root .quotation-table .btn.small {
    padding: 6px 8px;
    min-width: 28px;
    font-size: 0.76rem;
}

#quotation-root .quotation-empty {
    padding: 14px 12px;
}

@media (max-width: 1280px) {
    #quotation-root .quotation-section-panel .quotation-table-wrap,
    #quotation-root .quotation-price-card .quotation-table-wrap,
    #quotation-root #quotation-scenario-panel .quotation-table-wrap {
        overflow-x: auto;
    }
}
/* QUOTATION COMPACT OVERRIDE END */




/* MAIN TABS TABLE COMPACT OVERRIDE START
   Kotasyon ve Hotels Quotation kapsam disidir. */
.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table {
    min-width: 720px;
}

.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table th,
.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table td {
    padding: 8px 8px;
}

.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table th {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
}

.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table td {
    font-size: 0.84rem;
    line-height: 1.35;
}

.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table input,
.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table select,
.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table textarea {
    padding: 7px 8px;
    font-size: 0.82rem;
}

.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table .btn.small,
.screen:not(#screen-quotation):not(#screen-hotels-quotation) .table-wrap > table .icon-btn {
    min-height: 30px;
}
/* MAIN TABS TABLE COMPACT OVERRIDE END */
/* MANAGEMENT TABLE COMPACT OVERRIDE START */
#screen-management .management-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

#screen-management .panel {
    min-width: 0;
}

#screen-management .table-wrap {
    overflow-x: hidden;
}

#screen-management .table-wrap > table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

#screen-management .table-wrap > table th,
#screen-management .table-wrap > table td {
    padding: 7px 6px;
}

#screen-management .table-wrap > table thead th {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
}

#screen-management .table-wrap > table td {
    font-size: 0.82rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#screen-management .action-buttons {
    gap: 3px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

#screen-management .table-wrap > table .btn.small,
#screen-management .table-wrap > table .icon-btn {
    width: 26px;
    height: 26px;
    min-width: 26px;
    padding: 4px;
    border-radius: 8px;
}

#screen-management .table-wrap > table .btn.small {
    font-size: 0.74rem;
}

#screen-management .management-email-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

#screen-management .management-email-link:hover {
    text-decoration: underline;
}

#screen-management .management-filter-select {
    min-width: 190px;
    max-width: 260px;
}

#screen-management #hotels-table td:nth-child(1),
#screen-management #guides-table td:nth-child(1),
#screen-management #vehicles-table td:nth-child(1) {
    font-weight: 700;
}

#screen-management #hotels-table th:nth-child(1),
#screen-management #hotels-table td:nth-child(1) {
    width: 24%;
}

#screen-management #hotels-table th:nth-child(2),
#screen-management #hotels-table td:nth-child(2) {
    width: 13%;
}

#screen-management #hotels-table th:nth-child(3),
#screen-management #hotels-table td:nth-child(3) {
    width: 16%;
}

#screen-management #hotels-table th:nth-child(4),
#screen-management #hotels-table td:nth-child(4) {
    width: 27%;
}

#screen-management #hotels-table th:nth-child(5),
#screen-management #hotels-table td:nth-child(5) {
    width: 20%;
}

#screen-management #room-types-table th:nth-child(1),
#screen-management #room-types-table td:nth-child(1) {
    width: 48%;
}

#screen-management #room-types-table th:nth-child(2),
#screen-management #room-types-table td:nth-child(2) {
    width: 24%;
}

#screen-management #room-types-table th:nth-child(3),
#screen-management #room-types-table td:nth-child(3) {
    width: 28%;
}

#screen-management #guides-table th:nth-child(1),
#screen-management #guides-table td:nth-child(1) {
    width: 24%;
}

#screen-management #guides-table th:nth-child(2),
#screen-management #guides-table td:nth-child(2) {
    width: 18%;
}

#screen-management #guides-table th:nth-child(3),
#screen-management #guides-table td:nth-child(3) {
    width: 26%;
}

#screen-management #guides-table th:nth-child(4),
#screen-management #guides-table td:nth-child(4) {
    width: 12%;
}

#screen-management #guides-table th:nth-child(5),
#screen-management #guides-table td:nth-child(5) {
    width: 20%;
}

#screen-management #vehicles-table th:nth-child(1),
#screen-management #vehicles-table td:nth-child(1) {
    width: 15%;
}

#screen-management #vehicles-table th:nth-child(2),
#screen-management #vehicles-table td:nth-child(2) {
    width: 15%;
}

#screen-management #vehicles-table th:nth-child(3),
#screen-management #vehicles-table td:nth-child(3) {
    width: 18%;
}

#screen-management #vehicles-table th:nth-child(4),
#screen-management #vehicles-table td:nth-child(4) {
    width: 10%;
}

#screen-management #vehicles-table th:nth-child(5),
#screen-management #vehicles-table td:nth-child(5) {
    width: 12%;
}

#screen-management #vehicles-table th:nth-child(6),
#screen-management #vehicles-table td:nth-child(6) {
    width: 30%;
}

#screen-management .panel-head {
    margin-bottom: 12px;
}

@media (max-width: 1280px) {
    #screen-management .table-wrap {
        overflow-x: auto;
    }
}
/* MANAGEMENT TABLE COMPACT OVERRIDE END */
/* AGENCY DOCS COMPACT OVERRIDE START */
#customers-agency-invoice-panel .agency-doc-shell,
#customers-agency-voucher-panel .agency-doc-shell {
    gap: 14px;
    font-size: 0.94rem;
}

#customers-agency-invoice-panel .agency-doc-column,
#customers-agency-voucher-panel .agency-doc-column {
    gap: 14px;
}

#customers-agency-invoice-panel .agency-doc-card,
#customers-agency-voucher-panel .agency-doc-card {
    border-radius: 16px;
}

#customers-agency-invoice-panel .agency-doc-card-head,
#customers-agency-voucher-panel .agency-doc-card-head {
    gap: 10px;
    padding: 12px 14px 10px;
}

#customers-agency-invoice-panel .agency-doc-card-head h3,
#customers-agency-invoice-panel .agency-doc-card-head h4,
#customers-agency-voucher-panel .agency-doc-card-head h3,
#customers-agency-voucher-panel .agency-doc-card-head h4 {
    font-size: 1rem;
}

#customers-agency-invoice-panel .agency-doc-card-body,
#customers-agency-voucher-panel .agency-doc-card-body {
    padding: 12px 14px 14px;
}

#customers-agency-invoice-panel .agency-doc-muted,
#customers-agency-voucher-panel .agency-doc-muted {
    font-size: 0.82rem;
    line-height: 1.45;
}

#customers-agency-invoice-panel .agency-doc-record,
#customers-agency-voucher-panel .agency-doc-record {
    padding: 10px 12px;
    gap: 8px;
    border-radius: 14px;
}

#customers-agency-invoice-panel .agency-doc-record-meta,
#customers-agency-voucher-panel .agency-doc-record-meta {
    gap: 10px;
    font-size: 0.82rem;
}

#customers-agency-invoice-panel .agency-doc-form,
#customers-agency-voucher-panel .agency-doc-form {
    gap: 14px;
}

#customers-agency-invoice-panel .agency-doc-grid,
#customers-agency-voucher-panel .agency-doc-grid {
    gap: 10px 12px;
}

#customers-agency-invoice-panel .agency-doc-inline-actions,
#customers-agency-voucher-panel .agency-doc-inline-actions {
    gap: 8px;
}

#customers-agency-invoice-panel .agency-doc-summary,
#customers-agency-voucher-panel .agency-doc-summary {
    gap: 8px;
}

#customers-agency-invoice-panel .agency-doc-summary-box,
#customers-agency-voucher-panel .agency-doc-summary-box {
    padding: 10px 12px;
    border-radius: 12px;
}

#customers-agency-invoice-panel .agency-doc-summary-box small,
#customers-agency-voucher-panel .agency-doc-summary-box small {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
}

#customers-agency-invoice-panel .agency-doc-summary-box strong,
#customers-agency-voucher-panel .agency-doc-summary-box strong {
    margin-top: 6px;
    font-size: 0.96rem;
}

#customers-agency-invoice-panel .agency-doc-preview,
#customers-agency-voucher-panel .agency-doc-preview {
    min-height: 140px;
    padding: 12px;
    border-radius: 14px;
}

#customers-agency-invoice-panel .agency-doc-section,
#customers-agency-voucher-panel .agency-doc-section {
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
}

#customers-agency-invoice-panel .agency-doc-section-head,
#customers-agency-voucher-panel .agency-doc-section-head {
    gap: 10px;
}

#customers-agency-invoice-panel .agency-doc-badge,
#customers-agency-voucher-panel .agency-doc-badge {
    padding: 5px 8px;
    font-size: 0.7rem;
}

#customers-agency-invoice-panel .agency-doc-table,
#customers-agency-voucher-panel .agency-doc-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

#customers-agency-invoice-panel .table-wrap,
#customers-agency-voucher-panel .table-wrap {
    overflow-x: hidden;
}

#customers-agency-invoice-panel .agency-doc-table th,
#customers-agency-invoice-panel .agency-doc-table td,
#customers-agency-voucher-panel .agency-doc-table th,
#customers-agency-voucher-panel .agency-doc-table td {
    padding: 7px 6px;
}

#customers-agency-invoice-panel .agency-doc-table thead th,
#customers-agency-voucher-panel .agency-doc-table thead th {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
}

#customers-agency-invoice-panel .agency-doc-table td,
#customers-agency-voucher-panel .agency-doc-table td {
    font-size: 0.82rem;
}

#customers-agency-invoice-panel .agency-doc-table input,
#customers-agency-invoice-panel .agency-doc-table select,
#customers-agency-invoice-panel .agency-doc-table textarea,
#customers-agency-voucher-panel .agency-doc-table input,
#customers-agency-voucher-panel .agency-doc-table select,
#customers-agency-voucher-panel .agency-doc-table textarea {
    min-width: 0;
    padding: 7px 8px;
    font-size: 0.8rem;
}

#customers-agency-invoice-panel .agency-doc-table textarea,
#customers-agency-voucher-panel .agency-doc-table textarea {
    min-height: 48px;
}

#customers-agency-invoice-panel .icon-btn,
#customers-agency-voucher-panel .icon-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 5px;
    border-radius: 8px;
}

#customers-agency-invoice-panel .btn,
#customers-agency-voucher-panel .btn {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.82rem;
}

#customers-agency-invoice-panel .agency-doc-grid.agency-doc-grid-4,
#customers-agency-voucher-panel .agency-doc-grid.agency-doc-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#customers-agency-invoice-panel .agency-doc-table th:last-child,
#customers-agency-invoice-panel .agency-doc-table td:last-child,
#customers-agency-voucher-panel .agency-doc-table th:last-child,
#customers-agency-voucher-panel .agency-doc-table td:last-child {
    width: 40px;
}

#customers-agency-invoice-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(1) { width: 14%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(2) { width: 17%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(3) { width: 16%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(4) { width: 15%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(5) { width: 16%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(6) { width: 16%; }

#customers-agency-invoice-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(1) { width: 12%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(2) { width: 16%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(3) { width: 18%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(4) { width: 24%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(5) { width: 8%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(6) { width: 12%; }
#customers-agency-invoice-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(7) { width: 10%; }

#customers-agency-voucher-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(1) { width: 14%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(2) { width: 17%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(3) { width: 16%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(4) { width: 15%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(5) { width: 16%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(2) .agency-doc-table th:nth-child(6) { width: 16%; }

#customers-agency-voucher-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(1) { width: 18%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(2) { width: 22%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(3) { width: 30%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(3) .agency-doc-table th:nth-child(4) { width: 22%; }

#customers-agency-voucher-panel .agency-doc-section:nth-of-type(4) .agency-doc-table th:nth-child(1) { width: 16%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(4) .agency-doc-table th:nth-child(2) { width: 24%; }
#customers-agency-voucher-panel .agency-doc-section:nth-of-type(4) .agency-doc-table th:nth-child(3) { width: 50%; }

@media (max-width: 1280px) {
    #customers-agency-invoice-panel .table-wrap,
    #customers-agency-voucher-panel .table-wrap {
        overflow-x: auto;
    }
}

@media (max-width: 900px) {
    #customers-agency-invoice-panel .agency-doc-grid.agency-doc-grid-4,
    #customers-agency-voucher-panel .agency-doc-grid.agency-doc-grid-4,
    #customers-agency-invoice-panel .agency-doc-summary,
    #customers-agency-voucher-panel .agency-doc-summary {
        grid-template-columns: 1fr 1fr;
    }
}
/* AGENCY DOCS COMPACT OVERRIDE END */
/* STANPOLIS PANELS COMPACT OVERRIDE START */
#customers-stanpolis-panel .info-grid {
    gap: 10px 12px;
}

#customers-stanpolis-panel .info-kv {
    padding: 12px 14px;
    border-radius: 14px;
}

#customers-stanpolis-panel .info-kv strong {
    margin-bottom: 5px;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

#customers-stanpolis-panel .info-kv span {
    font-size: 0.84rem;
    line-height: 1.45;
}

#customers-stanpolis-panel .stanpolis-note {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.45;
}

#customers-bank-accounts-panel .bank-accounts-stack {
    gap: 12px;
}

#customers-bank-accounts-panel .bank-account-card {
    padding: 16px;
    border-radius: 18px;
    border-left-width: 4px;
}

#customers-bank-accounts-panel .bank-account-card-head {
    gap: 12px;
    margin-bottom: 12px;
}

#customers-bank-accounts-panel .bank-account-card-tools {
    gap: 8px;
}

#customers-bank-accounts-panel .bank-account-title {
    margin-top: 6px;
    font-size: 1.05rem;
}

#customers-bank-accounts-panel .bank-account-eyebrow {
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

#customers-bank-accounts-panel .bank-account-company {
    margin-top: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
}

#customers-bank-accounts-panel .bank-account-grid {
    gap: 10px 12px;
}

#customers-bank-accounts-panel .bank-account-field {
    padding: 10px 12px;
    border-radius: 14px;
    min-height: 72px;
}

#customers-bank-accounts-panel .bank-account-field strong {
    margin-bottom: 6px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
}

#customers-bank-accounts-panel .bank-account-field span {
    font-size: 0.84rem;
    line-height: 1.45;
}

#customers-bank-accounts-panel .bank-account-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.82rem;
    line-height: 1.45;
}

#customers-bank-accounts-panel .bank-account-empty {
    padding: 22px 18px;
    border-radius: 16px;
    font-size: 0.84rem;
}

#customers-bank-accounts-panel .icon-btn,
#customers-bank-accounts-panel .btn.small {
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 5px;
    border-radius: 8px;
}

@media (max-width: 1180px) {
    #customers-bank-accounts-panel .bank-account-grid,
    #customers-stanpolis-panel .info-grid {
        grid-template-columns: 1fr;
    }
}
/* STANPOLIS PANELS COMPACT OVERRIDE END */
/* OPERATIONS BULK COMPACT OVERRIDE START */
#operations-bulk-toolbar.operations-bulk-toolbar {
    margin: 10px 0 14px !important;
    padding: 14px 14px 12px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(27, 59, 111, 0.14) !important;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%) !important;
    box-shadow: 0 8px 20px rgba(18, 28, 45, 0.06) !important;
}

#operations-bulk-toolbar .operations-bulk-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(27, 59, 111, 0.06);
    color: var(--primary-navy);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

#operations-bulk-toolbar .operations-bulk-hint {
    margin-top: 8px;
    font-size: 0.78rem;
    line-height: 1.4;
    max-width: 920px;
}

#operations-bulk-toolbar .operations-bulk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 10px;
    margin-top: 12px;
    align-items: end;
}

#operations-bulk-toolbar .operations-bulk-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

#operations-bulk-toolbar .operations-bulk-field label {
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7088;
}

#operations-bulk-toolbar .operations-bulk-field input,
#operations-bulk-toolbar .operations-bulk-field select {
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(27, 59, 111, 0.12);
    font-size: 0.84rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

#operations-bulk-toolbar .operations-bulk-field input:focus,
#operations-bulk-toolbar .operations-bulk-field select:focus {
    outline: none;
    border-color: rgba(139, 21, 56, 0.35);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.08);
}

#operations-bulk-toolbar .operations-bulk-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed rgba(27, 59, 111, 0.12);
}

#operations-bulk-toolbar .operations-bulk-actions .btn {
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    box-shadow: none;
}

#operations-bulk-toolbar .operations-bulk-actions .btn.ghost {
    border-width: 1px;
    background: rgba(255,255,255,0.88);
}

#operations-bulk-toolbar .operations-bulk-actions .btn.primary {
    background: linear-gradient(135deg, #173765, #265394);
}

#operations-table td:first-child,
#operations-table th:first-child {
    text-align: center;
    width: 38px;
}

#operations-table input[type="checkbox"],
#operations-select-all {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-red);
}

@media (max-width: 980px) {
    #operations-bulk-toolbar .operations-bulk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #operations-bulk-toolbar.operations-bulk-toolbar {
        padding: 12px 12px 10px !important;
    }

    #operations-bulk-toolbar .operations-bulk-grid {
        grid-template-columns: 1fr;
    }

    #operations-bulk-toolbar .operations-bulk-actions {
        justify-content: stretch;
    }

    #operations-bulk-toolbar .operations-bulk-actions .btn {
        flex: 1 1 100%;
    }
}
/* OPERATIONS BULK COMPACT OVERRIDE END */

/* TRANSFER BULK COMPACT OVERRIDE START */
:is(#operations-bulk-toolbar, #transfer-bulk-toolbar).operations-bulk-toolbar {
    margin: 10px 0 14px !important;
    padding: 14px 14px 12px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(27, 59, 111, 0.14) !important;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%) !important;
    box-shadow: 0 8px 20px rgba(18, 28, 45, 0.06) !important;
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(27, 59, 111, 0.06);
    color: var(--primary-navy);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-hint {
    margin-top: 8px;
    font-size: 0.78rem;
    line-height: 1.4;
    max-width: 920px;
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 10px;
    margin-top: 12px;
    align-items: end;
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-field label {
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7088;
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-field input,
:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-field select {
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(27, 59, 111, 0.12);
    font-size: 0.84rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-field input:focus,
:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-field select:focus {
    outline: none;
    border-color: rgba(139, 21, 56, 0.35);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.08);
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed rgba(27, 59, 111, 0.12);
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-actions .btn {
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    box-shadow: none;
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-actions .btn.ghost {
    border-width: 1px;
    background: rgba(255,255,255,0.88);
}

:is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-actions .btn.primary {
    background: linear-gradient(135deg, #173765, #265394);
}

#transfer-management-table td:first-child,
#transfer-management-table th:first-child {
    text-align: center;
    width: 38px;
}

#transfer-management-table input[type="checkbox"],
#transfer-select-all {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-red);
}

@media (max-width: 980px) {
    :is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    :is(#operations-bulk-toolbar, #transfer-bulk-toolbar).operations-bulk-toolbar {
        padding: 12px 12px 10px !important;
    }

    :is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-grid {
        grid-template-columns: 1fr;
    }

    :is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-actions {
        justify-content: stretch;
    }

    :is(#operations-bulk-toolbar, #transfer-bulk-toolbar) .operations-bulk-actions .btn {
        flex: 1 1 100%;
    }
}
/* TRANSFER BULK COMPACT OVERRIDE END */

.quotation-section-panel .quotation-table {
    min-width: 720px;
}

.quotation-tour-table {
    min-width: 860px;
}

.quotation-section-panel .quotation-table th:last-child,
.quotation-section-panel .quotation-table td:last-child {
    width: 72px;
    min-width: 72px;
    text-align: center;
    white-space: nowrap;
}

.quotation-section-panel .quotation-table .icon-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
}
.dashboard-reservations-panel .dashboard-reservations-head { align-items: flex-start; gap: 16px; }
.dashboard-reservation-summary { margin-top: 6px; }
.dashboard-reservations-wrap { margin-top: 8px; }
.dashboard-reservations-table { min-width: 980px; }
.dashboard-reservation-row.past { opacity: 0.72; }
.dashboard-reservation-row.current { background: rgba(31, 157, 85, 0.06); }
.dashboard-reservation-row td:first-child { border-left: 4px solid transparent; }
.dashboard-reservation-row.upcoming td:first-child { border-left-color: var(--primary-gold); }
.dashboard-reservation-row.current td:first-child { border-left-color: var(--success); }
.dashboard-reservation-row.past td:first-child { border-left-color: var(--muted); }
.dashboard-reservations-empty { color: var(--muted); padding: 22px; text-align: center; }
@media (max-width: 780px) {
    .dashboard-reservations-panel .dashboard-reservations-head { align-items: stretch; }
    .dashboard-reservations-panel .filters-inline { width: 100%; }
    .dashboard-reservations-panel .filters-inline input,
    .dashboard-reservations-panel .filters-inline select,
    .dashboard-reservations-panel .filters-inline button { width: 100%; }
}
