/* [TFH-901:TFH_SETUP_MASTERS:CSS-START] */
.tfh-setup-index-screen,.tfh-setup-entry-screen,.tfh-driver-entry-screen{height:100dvh;display:flex;flex-direction:column;background:linear-gradient(135deg,#edf3f8,#f9fbfd)}
.tfh-setup-index-body,.tfh-setup-entry-body,.tfh-driver-entry-body{flex:1;min-height:0;overflow:auto;padding:16px 20px}
.tfh-shiny-action{display:flex;align-items:center;gap:12px;padding:10px 17px;border:1px solid rgba(255,255,255,.5);border-radius:14px;color:#fff;background:linear-gradient(145deg,#d2a04a,#875511);box-shadow:inset 0 1px rgba(255,255,255,.4),0 10px 24px rgba(118,73,8,.25);cursor:pointer}.tfh-shiny-action>span{font-size:1.8rem}.tfh-shiny-action small,.tfh-shiny-action strong{display:block;text-align:left}
.tfh-setup-filter-card{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(260px,1.2fr) minmax(160px,.5fr) auto;gap:10px;align-items:end;padding:13px;border:1px solid var(--tfh-line);border-radius:15px;background:#fff;box-shadow:0 10px 28px rgba(17,49,84,.08)}.tfh-setup-filter-card.driver{grid-template-columns:1fr .55fr .55fr auto}.tfh-setup-filter-card.vehicle{grid-template-columns:.55fr 1fr auto}.tfh-setup-filter-card label{display:grid;gap:5px}.tfh-setup-filter-card label>span,.tfh-setup-form-card label>span,.tfh-driver-fields label>span,.tfh-vehicle-form-card label>span{font-size:.68rem;font-weight:850;letter-spacing:.07em;color:#526579}.tfh-setup-filter-card input,.tfh-setup-filter-card select,.tfh-setup-form-card input,.tfh-setup-form-card textarea,.tfh-driver-fields input,.tfh-driver-fields select,.tfh-driver-fields textarea,.tfh-vehicle-form-card input,.tfh-vehicle-form-card select,.tfh-vehicle-form-card textarea{width:100%;min-height:41px;padding:9px 10px;border:1px solid #c4d0db;border-radius:9px;background:#fff}
.tfh-setup-grid-wrap{height:calc(100% - 105px);min-height:350px;margin-top:12px;overflow:auto;border:1px solid #bdc9d4;border-radius:15px;background:#fff}.tfh-setup-table{width:100%;border-collapse:collapse;font-size:.81rem}.tfh-setup-table th,.tfh-setup-table td{padding:8px;border-bottom:1px solid #e1e7ed;text-align:left;vertical-align:top}.tfh-setup-table th{position:sticky;top:0;z-index:2;color:#fff;background:linear-gradient(#5d6974,#343c44);border:1px solid #111}.tfh-setup-table tbody tr{cursor:pointer}.tfh-setup-table tbody tr:hover{background:#eef5fa}.tfh-setup-table tr.is-selected{background:#dcecff;box-shadow:inset 4px 0 #1d5f9f}.tfh-setup-table td strong,.tfh-setup-table td small{display:block}.tfh-setup-table td small{color:#6d7f90}
.tfh-setup-footer{flex:0 0 auto;min-height:70px;display:flex;align-items:center;gap:14px;padding:10px 20px;color:#fff;background:linear-gradient(#1a3f65,#09233f);box-shadow:0 -8px 25px rgba(0,0,0,.15)}.tfh-setup-footer>div{display:grid}.tfh-setup-footer>span{margin-right:auto;color:#cad7e2;font-size:.72rem}
.tfh-setup-form-card,.tfh-vehicle-form-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:1px solid #bdc9d4;border-radius:17px;background:#fff;box-shadow:0 12px 32px rgba(17,49,84,.09)}.tfh-setup-form-card .is-wide,.tfh-vehicle-form-card .is-wide{grid-column:1/-1}.tfh-status-toggle{grid-column:1/-1;display:flex!important;align-items:center;gap:12px;padding:12px;border:1px solid #d1dae2;border-radius:12px;background:#f4f7f9}.tfh-status-toggle input{display:none}.tfh-status-toggle>span{width:48px;height:25px;position:relative;border-radius:99px;background:#aab6c0}.tfh-status-toggle>span:after{content:"";position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#fff}.tfh-status-toggle input:checked+span{background:#ad7a25}.tfh-status-toggle input:checked+span:after{transform:translateX(23px)}.tfh-status-toggle strong,.tfh-status-toggle small{display:block}.tfh-status-toggle small{color:#67798b}.tfh-status-toggle.compact{grid-column:auto}
.tfh-driver-entry-body{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.65fr);gap:14px}.tfh-driver-profile-card{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;padding:16px;border:1px solid #bdc9d4;border-radius:17px;background:#fff}.tfh-driver-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tfh-driver-fields label{display:grid;gap:5px}.tfh-driver-fields .is-wide{grid-column:1/-1}.tfh-driver-doc-card{min-height:0;display:grid;grid-template-rows:auto 1fr;overflow:hidden;border:1px solid #bdc9d4;border-radius:17px;background:#fff}.tfh-driver-doc-card>header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;color:#fff;background:linear-gradient(#6f879b,#334d63)}.tfh-driver-doc-card h2{margin:2px 0;font-size:1rem}.tfh-driver-doc-card header span{font-size:.62rem;letter-spacing:.13em}.tfh-driver-doc-list{min-height:300px;overflow:auto;padding:9px}.tfh-driver-doc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border-bottom:1px solid #e2e8ed}.tfh-driver-doc-row strong,.tfh-driver-doc-row small{display:block}.tfh-driver-doc-row small{color:#6c7e8e}.tfh-driver-doc-row button{border:1px solid #c7d2dc;border-radius:8px;padding:6px 9px;color:#8d1710;background:#fff;cursor:pointer}.tfh-empty-note{padding:25px;text-align:center;color:#718292}
@media(max-width:1050px){.tfh-driver-entry-body{grid-template-columns:1fr}.tfh-driver-doc-card{min-height:420px}.tfh-setup-filter-card,.tfh-setup-filter-card.driver,.tfh-setup-filter-card.vehicle{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.tfh-setup-filter-card,.tfh-setup-filter-card.driver,.tfh-setup-filter-card.vehicle,.tfh-setup-form-card,.tfh-vehicle-form-card,.tfh-driver-profile-card,.tfh-driver-fields{grid-template-columns:1fr}.tfh-setup-form-card .is-wide,.tfh-vehicle-form-card .is-wide,.tfh-driver-fields .is-wide,.tfh-status-toggle{grid-column:auto}.tfh-setup-footer{flex-wrap:wrap}.tfh-setup-footer>span{width:100%;order:9}}
/* [TFH-901:TFH_SETUP_MASTERS:CSS-END] */
