/* TransTrade Fleet */
.ttfleet,.ttfleet-form-wrap{font-family:Poppins,Arial,sans-serif;color:#07142f}
.ttfleet-form-wrap{max-width:780px;margin:0 auto;padding:22px;border:1px solid #dfe7f1;border-radius:14px;background:#fff}
.ttfleet-form-head{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #edf1f5}
.ttfleet-form-head>span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#eef5ff;color:#0870f8}
.ttfleet-form-head h3{margin:0;font-size:16px}.ttfleet-form-head p{margin:3px 0 0;color:#748197;font-size:9px}
.ttfleet-form{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:17px}
.ttfleet-form label{display:block}.ttfleet-form label.wide,.ttfleet-info.wide{grid-column:1/-1}
.ttfleet-form label>span{display:block;margin-bottom:6px;font-size:8.8px;font-weight:600}
.ttfleet-form input,.ttfleet-form select{width:100%;height:42px;box-sizing:border-box;padding:0 10px;border:1px solid #ccd9e8;border-radius:7px;background:#fff;font:400 10px Poppins,Arial,sans-serif}
.ttfleet-form small{display:block;margin-top:4px;color:#8290a2;font-size:7.5px}
.ttfleet-info{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #d8e5f4;border-radius:8px;background:#f7fbff;color:#42607f}
.ttfleet-info>i{color:#0870f8}.ttfleet-info strong,.ttfleet-info span{display:block}.ttfleet-info strong{font-size:9.5px}.ttfleet-info span{margin-top:2px;font-size:8px}
.ttfleet-submit{grid-column:1/-1;height:45px;border:0;border-radius:7px;background:#0870f8;color:#fff;font:600 10px Poppins,Arial,sans-serif;cursor:pointer}
.ttfleet{max-width:1000px;margin:0 auto}.ttfleet-head span{color:#0870f8;font-size:8px;font-weight:600}.ttfleet-head h2{margin:3px 0 14px;font-size:22px}
.ttfleet-grid{display:grid;gap:10px}.ttfleet-card{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid #dfe7f1;border-radius:10px;background:#fff}
.ttfleet-card-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eef5ff;color:#0870f8}
.ttfleet-card h3{margin:0;font-size:11px}.ttfleet-card p{margin:3px 0;color:#738096;font-size:8px}.ttfleet-stats{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.ttfleet-stats span{padding:5px 7px;border:1px solid #e3e9f0;border-radius:6px;background:#fafcff;color:#596a81;font-size:7.5px}.ttfleet-stats b{color:#152944}
.ttfleet-delete{width:32px;height:32px;border:1px solid #e4e9ef;border-radius:6px;background:#fff;color:#b65353;cursor:pointer}
.ttfleet-empty{text-align:center;padding:28px;border:1px dashed #ccd9e8;border-radius:10px;color:#718097}.ttfleet-empty i,.ttfleet-empty strong,.ttfleet-empty span{display:block}.ttfleet-empty i{font-size:24px;color:#0870f8}.ttfleet-empty strong{margin-top:8px;font-size:11px}.ttfleet-empty span{margin-top:3px;font-size:8px}
@media(max-width:620px){.ttfleet-form{grid-template-columns:1fr}.ttfleet-form label.wide,.ttfleet-info.wide,.ttfleet-submit{grid-column:auto}.ttfleet-card{grid-template-columns:44px 1fr}.ttfleet-card form{grid-column:2}.ttfleet-stats{display:grid;grid-template-columns:1fr 1fr}}


/* =========================================================
   1.0.2 — wirtualna strona /dodaj-wolny-transport/
   ========================================================= */
.ttfleet-page{
  background:#f8fbff;
  min-height:620px;
}
.ttfleet-pagehero{
  padding:42px 0 22px;
}
.ttfleet-pagehero__inner,
.ttfleet-pagecontent__inner{
  width:calc(100% - 40px);
  max-width:1200px;
  margin:0 auto;
}
.ttfleet-pagehero__kicker{
  display:flex;
  align-items:center;
  gap:8px;
  color:#0870f8;
  font-family:Poppins,Arial,sans-serif;
  font-size:9px;
  font-weight:600;
}
.ttfleet-pagehero h1{
  margin:8px 0 7px;
  color:#07142f;
  font-family:Poppins,Arial,sans-serif;
  font-size:32px;
  line-height:1.12;
  letter-spacing:-1px;
}
.ttfleet-pagehero p{
  max-width:680px;
  margin:0;
  color:#66758d;
  font-family:Poppins,Arial,sans-serif;
  font-size:10px;
  line-height:1.7;
}
.ttfleet-pagecontent{
  padding:10px 0 55px;
}
.ttfleet-page-separator{
  height:24px;
}
.ttfleet-access{
  max-width:760px;
  margin:0 auto;
  display:grid;
  grid-template-columns:58px 1fr;
  gap:15px;
  align-items:start;
  padding:24px;
  border:1px solid #dfe7f1;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 25px rgba(24,51,86,.045);
  font-family:Poppins,Arial,sans-serif;
}
.ttfleet-access>span{
  width:54px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#eef5ff;
  color:#0870f8;
  font-size:20px;
}
.ttfleet-access h2{
  margin:2px 0 6px;
  color:#07142f;
  font-size:17px;
}
.ttfleet-access p{
  margin:0;
  color:#68768e;
  font-size:9.5px;
  line-height:1.65;
}
.ttfleet-access__buttons{
  display:flex;
  gap:9px;
  margin-top:14px;
}
.ttfleet-access__buttons a{
  min-height:38px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #b9cee8;
  border-radius:6px;
  color:#1762be;
  text-decoration:none!important;
  font-size:9px;
}
.ttfleet-access__buttons a.primary{
  border-color:#0870f8;
  background:#0870f8;
  color:#fff;
}

@media(max-width:620px){
  .ttfleet-pagehero__inner,
  .ttfleet-pagecontent__inner{
    width:calc(100% - 28px);
  }
  .ttfleet-pagehero{
    padding-top:28px;
  }
  .ttfleet-pagehero h1{
    font-size:27px;
  }
  .ttfleet-access{
    grid-template-columns:1fr;
    padding:19px;
  }
  .ttfleet-access__buttons{
    flex-direction:column;
  }
}


/* 1.0.4 — informacja o moderacji nowego pojazdu */
.ttfleet-moderation-notice{
    max-width:900px;
    margin:0 auto 16px;
    display:flex;
    align-items:flex-start;
    gap:13px;
    padding:15px 17px;
    border:1px solid #b9d6ff;
    border-radius:10px;
    background:#eef6ff;
    color:#153c69;
    box-sizing:border-box;
}
.ttfleet-moderation-notice>span{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#dbeaff;
    color:#0870f8;
    font-size:15px;
}
.ttfleet-moderation-notice strong{
    display:block;
    margin:1px 0 4px;
    font-size:13px;
    line-height:1.35;
}
.ttfleet-moderation-notice p{
    margin:0;
    font-size:11px;
    line-height:1.55;
}
.ttfleet-moderation-notice.is-success{
    border-color:#bfe1c5;
    background:#f1fbf3;
    color:#287a37;
}
.ttfleet-moderation-notice.is-success>span{
    background:#e3f6e7;
    color:#31a348;
}


/* =========================================================
   1.0.5 — zdjęcia wolnego pojazdu
   ========================================================= */
.ttfleet-photos{
    margin-top:4px;
    padding:16px;
    border:1px solid #dce6f1;
    border-radius:10px;
    background:#fbfdff;
}
.ttfleet-photos__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:12px;
}
.ttfleet-photos__head strong,
.ttfleet-photos__head span{
    display:block;
}
.ttfleet-photos__head strong{
    color:#10213c;
    font-size:13px;
}
.ttfleet-photos__head span{
    margin-top:3px;
    color:#7c899b;
    font-size:10px;
}
.ttfleet-photos__counter{
    flex:0 0 auto;
    margin:0!important;
    padding:5px 8px;
    border-radius:6px;
    background:#eef5ff;
    color:#0870f8!important;
    font-size:9px!important;
    font-weight:600;
}
.ttfleet-photo-drop{
    min-height:130px;
    display:flex!important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:18px;
    border:1.5px dashed #aac9eb;
    border-radius:10px;
    background:#fff;
    cursor:pointer;
    text-align:center;
    transition:.2s ease;
}
.ttfleet-photo-drop:hover{
    border-color:#0870f8;
    background:#f6faff;
}
.ttfleet-photo-drop i{
    color:#0870f8;
    font-size:25px;
}
.ttfleet-photo-drop strong{
    color:#10213c;
    font-size:12px;
}
.ttfleet-photo-drop span{
    color:#7d899a;
    font-size:9px;
}
.ttfleet-photo-drop em{
    margin-top:5px;
    padding:7px 12px;
    border-radius:6px;
    background:#0870f8;
    color:#fff;
    font-size:9px;
    font-style:normal;
    font-weight:600;
}
.ttfleet-photo-drop input{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
}
.ttfleet-existing-gallery,
.ttfleet-photo-preview{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px;
    margin-bottom:10px;
}
.ttfleet-photo-preview{
    margin:10px 0 0;
}
.ttfleet-existing-gallery span,
.ttfleet-photo-preview span{
    aspect-ratio:4/3;
    display:block;
    overflow:hidden;
    border:1px solid #dce6f1;
    border-radius:8px;
    background:#eef3f8;
}
.ttfleet-existing-gallery img,
.ttfleet-photo-preview img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}
@media(max-width:760px){
    .ttfleet-existing-gallery,
    .ttfleet-photo-preview{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .ttfleet-photos__head{
        flex-direction:column;
    }
}


/* 1.0.7 — trasa wolnego transportu */
.ttfleet-route{
    display:grid;
    grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);
    gap:10px;
    align-items:end;
}
.ttfleet-route label{
    margin:0!important;
}
.ttfleet-route__arrow{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:1px;
    border-radius:50%;
    background:#eef5ff;
    color:#0870f8;
}
@media(max-width:700px){
    .ttfleet-route{
        grid-template-columns:1fr;
    }
    .ttfleet-route__arrow{
        transform:rotate(90deg);
        margin:0 auto;
    }
}


/* 1.0.8 — edycja wolnego transportu z listy */
.ttfleet-card-actions{
    display:flex;
    align-items:center;
    gap:7px;
    margin-left:auto;
}
.ttfleet-card-actions form{margin:0!important}
.ttfleet-edit{
    min-height:36px;
    padding:0 10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    border:1px solid #cddcec;
    border-radius:8px;
    background:#fff;
    color:#0870f8!important;
    font-size:9px;
    font-weight:600;
    text-decoration:none!important;
}
.ttfleet-edit:hover{
    background:#f4f8ff;
    border-color:#9fc4ef;
}
@media(max-width:650px){
    .ttfleet-card-actions{
        width:100%;
        margin-left:0;
    }
    .ttfleet-edit{flex:1}
}
