/* =====================================================
   TIMETABLE PAGE
===================================================== */
.tt-sec{padding:60px 0 80px;background:#fff;font-family:'Figtree',sans-serif}

/* Route selector tabs */
.tt-route-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:36px}
.tt-rtab{font-family:'Figtree',sans-serif;font-size:13px;font-weight:600;padding:10px 22px;border-radius:6px;border:1.5px solid #dde0e8;background:#fff;color:#0D0E48;cursor:pointer;transition:all .25s}
.tt-rtab:hover{border-color:#0D0E48}
.tt-rtab.active{background:#0D0E48;border-color:#0D0E48;color:#fff}

/* Route panels */
.tt-route{display:none}
.tt-route.active{display:block}

/* Header row */
.tt-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px;flex-wrap:wrap}
.tt-route-title h2{font-family:'Nexa Demo',sans-serif;font-size:clamp(1.3rem,2.2vw,1.75rem);font-weight:700;color:#0D0E48;line-height:1.25;letter-spacing:-.02em}
.tt-route-title h2 span{color:#CD202C}
.tt-route-title p{font-size:12.5px;color:#6b7280;margin-top:4px;font-family:'Figtree',sans-serif}

/* Day tabs */
.tt-day-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tt-tab{font-family:'Figtree',sans-serif;font-size:13px;font-weight:600;padding:9px 20px;border-radius:6px;border:1.5px solid #dde0e8;background:#fff;color:#0D0E48;cursor:pointer;transition:all .25s}
.tt-tab:hover{border-color:#0D0E48}
.tt-tab.active{background:#CD202C;border-color:#CD202C;color:#fff}

/* Day panels */
.tt-day{display:none}
.tt-day.active{display:block}

/* Direction toggle */
.tt-direction-toggle{display:flex;gap:0;margin:20px 0 16px;border-radius:8px;overflow:hidden;border:1.5px solid #dde0e8;width:fit-content;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.tt-dir-btn{font-family:'Figtree',sans-serif;font-size:13px;font-weight:600;padding:11px 28px;border:none;background:#fff;color:#0D0E48;cursor:pointer;transition:all .25s;display:flex;align-items:center;gap:8px;white-space:nowrap}
.tt-dir-btn:first-child{border-right:1.5px solid #dde0e8}
.tt-dir-btn.active{background:#0D0E48;color:#fff}
.tt-dir-btn.inbound.active{background:#CD202C;border-color:#CD202C}
.tt-dir-btn i{font-size:11px;opacity:.8}

/* Direction panels */
.tt-dir-panel{display:none}
.tt-dir-panel.active{display:block}

/* Direction labels — used as toggle button text source, hidden after JS runs */
.tt-direction-label{font-family:'Nexa Demo',sans-serif;font-size:12px;font-weight:700;color:#fff;background:#0D0E48;padding:8px 16px;border-radius:6px 6px 0 0;display:inline-block;margin-bottom:0;letter-spacing:.3px;text-transform:uppercase}
.tt-direction-label.tt-inbound{background:#CD202C}

/* Note */
.tt-note{font-family:'Figtree',sans-serif;font-size:13.5px;color:#6b7280;background:#f5f6fa;border-radius:8px;padding:20px 24px;line-height:1.75;margin-top:16px}

/* Table wrapper */
.tt-table-wrap{border-radius:10px;overflow:hidden;border:1px solid #e8eaf0;margin-bottom:8px;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.tt-table-wrap{overflow-x:auto}

/* Table */
.tt-table{width:100%;border-collapse:collapse;font-size:13px;min-width:600px}
.tt-table thead tr{background:linear-gradient(90deg,#0D0E48 0%,#1a1b6e 100%)}
.tt-table thead th{color:#fff;font-family:'Nexa Demo',sans-serif;font-weight:700;font-size:12px;padding:14px 16px;text-align:left;white-space:nowrap;letter-spacing:.3px}
.tt-table thead th:first-child{min-width:240px;border-right:1px solid rgba(255,255,255,.15)}
.tt-table thead th:not(:first-child){text-align:center;min-width:64px}

.tt-table tbody tr{border-bottom:1px solid #f0f2f5;transition:background .15s}
.tt-table tbody tr:last-child{border-bottom:none}
.tt-table tbody tr:hover{background:#eef1fb}
.tt-table tbody tr:nth-child(even){background:#f8f9fc}
.tt-table tbody tr:nth-child(even):hover{background:#eef1fb}
.tt-table tbody td{padding:10px 16px;color:#555;line-height:1.3;white-space:nowrap;font-size:13px}
.tt-table tbody td:first-child{color:#0D0E48;font-weight:600;white-space:normal;border-right:1px solid #eaecf2;background:#fff}
.tt-table tbody tr:nth-child(even) td:first-child{background:#f8f9fc}
.tt-table tbody tr:hover td:first-child{background:#eef1fb}
.tt-table tbody td:not(:first-child){text-align:center;color:#444;font-family:'Figtree',sans-serif}
.tt-table tbody td:not(:first-child):not(:empty){font-variant-numeric:tabular-nums}

/* Dash/no service styling */
.tt-table tbody td:not(:first-child){color:#444}
.tt-table td[data-val="–"],.tt-table td[data-val="-"]{color:#ccc!important}

/* =====================================================
   RESPONSIVE
===================================================== */
@media(max-width:768px){
  .tt-header{flex-direction:column;gap:16px}
  .tt-sec{padding:40px 0 60px}
  .tt-route-tabs{gap:8px}
  .tt-rtab{font-size:12px;padding:8px 14px}
}

/* ===== PRINT & DOWNLOAD ACTIONS ===== */
.tt-header-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.tt-actions{display:flex;gap:8px;align-items:center}
.tt-action-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;font-size:16px;transition:all .3s;text-decoration:none;border:2px solid;cursor:pointer}
.tt-action-btn i{font-size:16px}
.tt-print-btn{background:#fff;color:#0D0E48;border-color:#e0e2ea}
.tt-print-btn:hover{background:#0D0E48;color:#fff;border-color:#0D0E48;transform:translateY(-2px);box-shadow:0 4px 12px rgba(13,14,72,.2)}
.tt-download-btn{background:#CD202C;color:#fff;border-color:#CD202C}
.tt-download-btn:hover{background:#b01c26;border-color:#b01c26;transform:translateY(-2px);box-shadow:0 4px 12px rgba(205,32,44,.3)}

/* Mobile responsive */
@media(max-width:768px){
  .tt-header-actions{flex-direction:column;align-items:stretch;gap:12px}
  .tt-day-tabs{width:100%;justify-content:center}
  .tt-actions{justify-content:center;width:100%;flex-wrap:wrap}
  .tt-action-btn{width:44px;height:44px;font-size:18px}
}

@media(max-width:520px){
  .tt-action-btn{width:42px;height:42px;font-size:17px}
}

/* ===== COMPLAINT CTA SECTION ===== */
.tt-complaint-cta{padding:80px 0;background:#f8f9fb}
.tt-complaint-card{background:linear-gradient(135deg,#0D0E48 0%,#1a1b5e 100%);border-radius:16px;padding:48px 56px;display:flex;align-items:center;justify-content:space-between;gap:40px;box-shadow:0 12px 40px rgba(13,14,72,.15);position:relative;overflow:hidden}
.tt-complaint-card::before{content:'';position:absolute;top:-50%;right:-10%;width:400px;height:400px;background:radial-gradient(circle,rgba(205,32,44,.15) 0%,transparent 70%);border-radius:50%;pointer-events:none}
.tt-complaint-content{display:flex;align-items:center;gap:28px;flex:1}
.tt-complaint-icon{width:72px;height:72px;background:rgba(205,32,44,.15);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:2px solid rgba(205,32,44,.3)}
.tt-complaint-icon i{font-size:32px;color:#CD202C}
.tt-complaint-text h3{font-family:'Nexa Demo',sans-serif;font-size:26px;font-weight:700;color:#fff;margin-bottom:10px;line-height:1.3}
.tt-complaint-text p{font-family:'Figtree',sans-serif;font-size:15px;font-weight:400;color:rgba(255,255,255,.8);line-height:1.6;margin:0;max-width:600px}
.tt-complaint-action{flex-shrink:0}
.tt-complaint-cta-btn{display:inline-flex;align-items:center;gap:12px;background:#CD202C;color:#fff;padding:16px 32px;border-radius:10px;font-family:'Figtree',sans-serif;font-size:16px;font-weight:700;text-decoration:none;transition:all .3s;box-shadow:0 6px 20px rgba(205,32,44,.4);border:2px solid #CD202C}
.tt-complaint-cta-btn:hover{background:#b01c26;border-color:#b01c26;transform:translateY(-3px);box-shadow:0 10px 30px rgba(205,32,44,.5)}
.tt-complaint-cta-btn i{font-size:14px;transition:transform .3s}
.tt-complaint-cta-btn:hover i{transform:translateX(4px)}

/* Mobile responsive */
@media(max-width:768px){
  .tt-complaint-cta{padding:60px 0}
  .tt-complaint-card{flex-direction:column;padding:40px 32px;gap:32px;text-align:center}
  .tt-complaint-content{flex-direction:column;text-align:center}
  .tt-complaint-icon{width:64px;height:64px}
  .tt-complaint-icon i{font-size:28px}
  .tt-complaint-text h3{font-size:22px}
  .tt-complaint-text p{font-size:14px;max-width:100%}
  .tt-complaint-action{width:100%}
  .tt-complaint-cta-btn{width:100%;justify-content:center;padding:16px 28px;font-size:15px}
}

@media(max-width:520px){
  .tt-complaint-cta{padding:50px 0}
  .tt-complaint-card{padding:32px 24px;gap:24px}
  .tt-complaint-icon{width:56px;height:56px}
  .tt-complaint-icon i{font-size:24px}
  .tt-complaint-text h3{font-size:20px}
  .tt-complaint-text p{font-size:13px}
  .tt-complaint-cta-btn{padding:14px 24px;font-size:14px}
}
