/* WIMB Bus Timetable v3 */
.wimb-bt-wrap{
    max-width:1100px;
    margin:24px auto;
    padding:0 16px;
    font-family:Arial, Helvetica, sans-serif;
    color:#123;
}
.wimb-bt-hero,
.wimb-bt-card,
.wimb-bt-result-card{
    background:#fff;
    border:1px solid #d9f0ec;
    border-radius:20px;
    box-shadow:0 12px 30px rgba(0,150,136,.08);
}
.wimb-bt-hero{padding:20px;margin-bottom:20px}
.wimb-bt-hero-top{display:flex;align-items:center;gap:16px}
.wimb-bt-logo{
    width:86px;height:86px;object-fit:contain;border-radius:20px;background:#fff;padding:8px;
    box-shadow:0 10px 24px rgba(0,150,136,.14)
}
.wimb-bt-headings h2{margin:0 0 6px;font-size:34px;line-height:1.1;color:#007f72;font-weight:800}
.wimb-bt-headings p{margin:0;display:inline-block;background:#009688;color:#fff;padding:8px 16px;border-radius:999px;font-size:15px}
.wimb-bt-card{padding:20px;margin-bottom:20px}
.wimb-bt-list-toolbar{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.wimb-bt-list-search label,
.wimb-bt-field label{
    display:block;font-size:14px;font-weight:700;color:#006c61;margin-bottom:8px
}
.wimb-bt-list-search input,
.wimb-bt-field input{
    width:100%;min-height:52px;border-radius:14px;font-size:15px;box-sizing:border-box;
    border:1px solid #bfe8e2;background:#f9fffe;padding:0 14px
}
.wimb-bt-list-search input:focus,
.wimb-bt-field input:focus{
    outline:none;border-color:#009688;box-shadow:0 0 0 3px rgba(0,150,136,.12)
}
.wimb-bt-listbox{
    margin-top:10px;
    border:1px solid #bfe8e2;
    background:#f9fffe;
    border-radius:14px;
    min-height:220px;
    max-height:220px;
    overflow:auto;
    padding:8px;
}
.wimb-bt-listbox.disabled{
    opacity:.55;
    pointer-events:none;
}
.wimb-bt-list-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    border-radius:10px;
    cursor:pointer;
    transition:.15s ease;
    font-size:14px;
}
.wimb-bt-list-item:hover{background:#e9fbf8}
.wimb-bt-list-item.active{
    background:#009688;
    color:#fff;
    font-weight:700;
}
.wimb-bt-empty{
    padding:12px;
    color:#607d80;
    font-size:14px;
}
.wimb-bt-bottom-bar{
    display:grid;
    grid-template-columns:1fr 240px;
    gap:16px;
    align-items:end;
    margin-top:18px;
}
.wimb-bt-action-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
}
.wimb-bt-icon-btn{
    width:48px;
    height:48px;
    border:none;
    border-radius:14px;
    background:#e9fbf8;
    color:#006c61;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.2s ease;
    box-shadow:0 10px 18px rgba(0,150,136,.10);
    font-size:22px;
    text-decoration:none;
}
.wimb-bt-icon-btn:hover{
    background:#009688;
    color:#fff;
    transform:translateY(-1px);
}
.wimb-bt-main-search-wrap button,
#wimb-bt-submit-btn,
.wimb-bt-call-btn,
.wimb-bt-confirm-actions button{
    width:100%;
    min-height:52px;
    border:none;
    border-radius:14px;
    background:#009688;
    color:#fff;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
    box-shadow:0 12px 22px rgba(0,150,136,.18);
}
.wimb-bt-main-search-wrap button:hover,
#wimb-bt-submit-btn:hover,
.wimb-bt-call-btn:hover,
.wimb-bt-confirm-actions button:hover{background:#007f72;transform:translateY(-1px)}
.wimb-bt-main-search-wrap button:disabled,
#wimb-bt-submit-btn:disabled{opacity:.65;cursor:not-allowed;transform:none}
.wimb-bt-selected-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:14px;
    padding:12px 14px;
    background:#f7fffd;
    border:1px solid #dcf2ef;
    border-radius:14px;
    font-size:14px;
}
.wimb-bt-message{
    display:none;margin-top:14px;padding:12px 14px;border-radius:12px;font-size:14px
}
.wimb-bt-message.show{display:block}
.wimb-bt-message.info{background:#e9fbf8;color:#006c61}
.wimb-bt-message.error{background:#fff0ef;color:#b42318}
.wimb-bt-results{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-bottom:20px
}
.wimb-bt-result-card{padding:18px;transition:.2s ease}
.wimb-bt-result-card:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(0,150,136,.12)}
.wimb-bt-route{font-size:19px;font-weight:800;color:#007f72;margin:0 0 10px}
.wimb-bt-kv{margin:8px 0;font-size:14px}
.wimb-bt-kv strong{color:#005b52}
.wimb-bt-detail-btn{
    margin-top:14px;width:100%;min-height:46px;border:none;border-radius:14px;background:#009688;color:#fff;font-weight:700;cursor:pointer
}
.wimb-bt-detail-btn:hover{background:#007f72}
.wimb-bt-submit-card h3{margin-top:0;color:#007f72}
.wimb-bt-small-text{margin:0 0 14px;color:#607d80}
.wimb-bt-submit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.wimb-bt-submit-actions{margin-top:16px}
.wimb-bt-modal{position:fixed;inset:0;display:none;z-index:99999}
.wimb-bt-modal.active{display:block}
.wimb-bt-modal-backdrop{position:absolute;inset:0;background:rgba(6,28,30,.55)}
.wimb-bt-modal-dialog{
    position:relative;max-width:760px;margin:40px auto;background:#fff;border-radius:24px;padding:24px;
    box-shadow:0 24px 60px rgba(0,0,0,.22);z-index:2;max-height:calc(100vh - 80px);overflow:auto
}
.wimb-bt-small-modal{max-width:420px}
.wimb-bt-close{
    position:absolute;top:12px;right:12px;width:42px;height:42px;border:none;border-radius:50%;
    background:#eef8f6;color:#005b52;font-size:28px;cursor:pointer
}
.wimb-bt-detail-title{margin:0 0 16px;padding-right:48px;font-size:26px;color:#007f72}
.wimb-bt-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wimb-bt-detail-item{background:#f7fffd;border:1px solid #dcf2ef;border-radius:16px;padding:14px}
.wimb-bt-detail-item span{display:block;color:#006c61;font-size:13px;font-weight:700;margin-bottom:6px}
.wimb-bt-detail-item strong{color:#17343a;word-break:break-word}
.wimb-bt-call-wrap{margin-top:16px}
.wimb-bt-confirm-actions{display:flex;gap:10px;margin-top:16px}
.wimb-bt-confirm-actions .secondary{
    background:#eef8f6;color:#005b52;box-shadow:none
}

@media (max-width:767px){
    .wimb-bt-wrap{padding:0 10px}
    .wimb-bt-headings h2{font-size:26px}
    .wimb-bt-headings p{font-size:13px}
    .wimb-bt-hero-top{align-items:flex-start}
    .wimb-bt-list-toolbar,
    .wimb-bt-bottom-bar,
    .wimb-bt-selected-row,
    .wimb-bt-submit-grid,
    .wimb-bt-detail-grid{
        grid-template-columns:1fr;
    }
    .wimb-bt-card,.wimb-bt-hero,.wimb-bt-result-card{padding:16px}
    .wimb-bt-listbox{min-height:180px;max-height:180px}
    .wimb-bt-modal-dialog{margin:14px;max-height:calc(100vh - 28px)}
    .wimb-bt-confirm-actions{flex-direction:column}
}
