/* DI-TAX WEB KORISNIK — preostale funkcije: više PIK stajanja + vožnja za drugoga */

/* Dodavanje i uređivanje više stajanja ostaje kompaktno unutar EKRANA 2A. */
.ttStopoverRow{grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center}
.ttStopDraftPikBtn,.ttStopCommitBtn{height:46px;min-width:68px;padding:0 9px;border-radius:12px;font-size:11px;font-weight:1000;white-space:nowrap;touch-action:manipulation}
.ttStopDraftPikBtn{border:1px solid rgba(250,204,21,.42);background:rgba(250,204,21,.12);color:#fde68a}
.ttStopCommitBtn{border:1px solid rgba(34,197,94,.44);background:rgba(34,197,94,.14);color:#bbf7d0}
.ttStopSeqRow{grid-template-columns:34px minmax(0,1fr) 38px 38px!important}
.ttStopSeqPik,.ttStopSeqRemove{width:36px;height:36px;border-radius:11px;font-weight:1000;line-height:1;padding:0;touch-action:manipulation}
.ttStopSeqPik{border:1px solid rgba(250,204,21,.40);background:rgba(250,204,21,.12);color:#fde68a;font-size:17px}
.ttStopSeqFieldHead{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:4px}
.ttStopSeqFieldHead .ttStopSeqLabel{margin:0!important}
.ttStopSeqMove{display:flex;gap:3px}
.ttStopSeqMove button{width:25px;height:22px;border-radius:7px;border:1px solid rgba(148,163,184,.25);background:rgba(15,23,42,.48);color:#e2e8f0;font-size:13px;font-weight:1000;line-height:1;padding:0;touch-action:manipulation}
.ttStopSeqMove button:disabled{opacity:.25}

/* Naručivanje za stvarnog putnika na drugoj lokaciji. */
.ttRideForCard{margin:8px 0;padding:10px;border:1px solid rgba(56,189,248,.30);border-radius:16px;background:linear-gradient(145deg,rgba(14,165,233,.09),rgba(15,23,42,.26))}
.ttRideForTitle{color:#e0f2fe;font-size:12px;font-weight:1000;margin-bottom:7px}
.ttRideForChoice{display:grid;grid-template-columns:1fr 1.3fr;gap:7px}
.ttRideForChoice button{min-height:42px;padding:8px;border-radius:12px;border:1px solid rgba(148,163,184,.22);background:rgba(15,23,42,.46);color:#cbd5e1;font-size:12px;font-weight:950;touch-action:manipulation}
.ttRideForChoice button.active{border-color:rgba(56,189,248,.64);background:rgba(14,165,233,.16);color:#e0f2fe;box-shadow:0 0 0 2px rgba(56,189,248,.10)}
.ttOtherPassengerBox{margin-top:8px;padding-top:8px;border-top:1px solid rgba(148,163,184,.16)}
.ttOtherPassengerBox[hidden]{display:none!important}
.ttOtherPassengerLabel{display:block;color:#fecaca;font-size:12px;font-weight:1000;margin-bottom:5px}
.ttPassengerPhoneRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.ttPassengerPhoneRow input{width:100%;height:44px;box-sizing:border-box;border-radius:12px!important;padding:8px 10px!important;font-size:16px!important;font-weight:900!important}
.ttPassengerShareBtn{min-width:105px;border:1px solid rgba(34,197,94,.45);border-radius:12px;background:rgba(34,197,94,.14);color:#bbf7d0;font-size:12px;font-weight:1000;padding:7px 9px;touch-action:manipulation}
.ttPassengerShareActions{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.ttPassengerShareActions a,.ttPassengerShareActions button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:10px;border:1px solid rgba(56,189,248,.30);background:rgba(14,165,233,.10);color:#bae6fd;text-decoration:none;font-size:11px;font-weight:950}
.ttPassengerGpsStatus{margin-top:7px;padding:7px 9px;border-radius:11px;background:rgba(15,23,42,.45);color:#cbd5e1;font-size:11px;font-weight:900;line-height:1.35}
.ttPassengerGpsStatus.active{background:rgba(20,83,45,.40);border:1px solid rgba(74,222,128,.35);color:#bbf7d0}
.ttPassengerGpsStatus.waiting{color:#fde68a}
.ttPassengerGpsStatus.unavailable{color:#fecaca}
.ttPassengerPrivacy{margin-top:6px;color:#94a3b8;font-size:10.5px;line-height:1.34}

/* Stalna oznaka službenog PIK-a ostaje čitljiva preko crvene maske. */
.leaflet-tooltip{font-family:system-ui,-apple-system,Segoe UI,sans-serif}
.ttMapOverlayBtn:disabled{opacity:.42;filter:grayscale(1);cursor:not-allowed}

@media(max-width:430px){
  .ttStopSeqRow{grid-template-columns:30px minmax(0,1fr) 34px 34px!important;gap:5px!important}
  .ttStopSeqPik,.ttStopSeqRemove{width:33px;height:35px}
  .ttStopoverRow{grid-template-columns:minmax(0,1fr) 62px!important}
  .ttStopDraftPikBtn,.ttStopCommitBtn{min-width:0;width:100%;height:40px}
  .ttStopCommitBtn{grid-column:1/-1}
  .ttRideForChoice{grid-template-columns:1fr 1.2fr}
  .ttRideForChoice button{font-size:11px}
  .ttPassengerPhoneRow{grid-template-columns:1fr}
  .ttPassengerShareBtn{width:100%}
}
