/* SLBN 2.9.4: targeted journey planner mobile layout fixes. */
.slbn21-location-options button,
.slbn-combined-search .slbn21-location-options button {
  display:flex!important;
  flex-direction:row!important;
  justify-content:flex-start!important;
  align-items:center!important;
  text-align:left!important;
  gap:9px!important;
  width:100%!important;
  min-height:44px;
  padding:10px 14px!important;
  margin:0!important;
}
.slbn21-location-options button span {text-align:left!important;flex:0 0 auto;}
.slbn21-location-options button span:last-child {flex:1 1 auto;min-width:0;}
.slbn21-location-options {box-sizing:border-box;width:100%;}
@media(max-width:650px){
  .slbn-combined-search .slbn21-filterbar,
  .slbn21-tools .slbn21-filterbar {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    gap:6px 10px!important;
    align-items:stretch!important;
  }
  .slbn21-filterbar label {min-width:0;align-self:end;}
  .slbn21-filterbar label[for="slbn21-period"] {grid-column:1;grid-row:1;}
  .slbn21-filterbar label[for="slbn21-category"] {grid-column:2;grid-row:1;}
  .slbn21-filterbar #slbn21-period {grid-column:1;grid-row:2;}
  .slbn21-filterbar #slbn21-category {grid-column:2;grid-row:2;}
  .slbn21-filterbar select {box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;min-height:44px;}
}
