body,h1,h2,h3,h4,h5,h6,input[type=text],input,button,optgroup,select,textarea[type=password],input[type=email],textarea,select,input[type=button],input[type=submit],button,body .pac-container{font-family:'isans',sans-serif!important;letter-spacing:normal!important;text-transform:none}

body,button,select,span,[name="table"],[name="phone-number"],[id="order-price"],[name="ordering-type"],select,textarea{text-align:inherit;-moz-font-feature-settings:"ss02";-webkit-font-feature-settings:"ss02";font-feature-settings:"ss02"}
fonten,.fonten{direction:ltr!important;-moz-font-feature-settings:normal;-webkit-font-feature-settings:normal;font-feature-settings:normal}
.ltr, input[type="password"],[name="username"],[name="admin_username"],[type="tel"],[type="number"],[name="mobile"],[name="plate_1"],[name="plate_3"],[name="plate_city"]{direction:ltr;text-align:left}
::-webkit-input-placeholder{direction:rtl;text-align:right}
::-moz-placeholder{direction:rtl;text-align:right}
:-ms-input-placeholder{direction:rtl;text-align:right}
:-moz-placeholder{direction:rtl;text-align:right}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#fff;color:#111;-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent}
.heroup{background:linear-gradient(rgb(220 53 69 / 12%),transparent);padding:82px 20px 0;width:100%;max-width:815px;margin:0 auto}
.page{width:100%;max-width:815px;margin:0 auto;padding:35px 43px 95px}
.title{margin:0;text-align:center;font-size:24px;line-height:1.55;font-weight:700;margin-bottom:5px}
.driver{padding-bottom:22px;margin-bottom:22px;border-bottom:6px solid #ededed}
.top-row{display:flex;flex-direction:row;align-items:flex-start;gap:22px;direction:ltr}
.photo{flex:0 0 207px;width:112px;height:112px;display:block;object-fit:cover;border-radius:15px;background:#b7b7b7}
.details{flex:1;min-width:0;direction:rtl;text-align:right;font-size:17px;line-height:1.7}
.detail-row{display:grid;grid-template-columns:26px 1fr;align-items:center;column-gap:6px;min-height:36px;white-space:nowrap}
.detail-label{white-space:nowrap;text-align:right;display:flex;align-items:center;justify-content:flex-start}
.detail-value{min-width:0;white-space:nowrap;text-align:right}
.vehicle-row{width:100%;display:flex;align-items:center;justify-content:space-between;direction:rtl;margin-top:5px;padding:0 2px}
.car-name{flex:1;text-align:right;font-size:16px;white-space:nowrap;display:flex;align-items:center}
.plate{flex:0 0 308px;flex-basis:160px;width:160px;height:36px;display:flex;align-items:stretch;overflow:hidden;direction:ltr;border:1px solid #222;border-radius:7px;line-height:1}
.plate-blue{width:14px;flex-basis:14px;flex:0 0 14px;background:#234c9e;border-right:1px solid #222}
.plate-main{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;font-size:20px;white-space:nowrap;font-weight:600;height:36px}
.plate-city{width:38px;flex-basis:38px;flex:0 0 38px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid #222;direction:rtl;font-size:8px;line-height:1.05;font-weight:600}
.plate-city strong{margin-top:3px;font-size:18px;margin-bottom:-4px}
.buttons{display:flex;direction:rtl;gap:28px;margin-top:28px;align-items:flex-end;width:100%}
.btn{flex:1 1 0;min-width:0;height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px;color:#fff;text-decoration:none;font-size:18px;font-weight:500;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent;transform:scale(1);transition:transform .16s ease,filter .16s ease}
.btn:hover{filter:brightness(1.03)}
.btn:active{transform:scale(.965);filter:brightness(.96)}
.btn-sms{border:1px solid #1877f2;color:#1877f2;background:rgb(24 119 242 / 3%)}
.btn-call{border:1px solid #ed1748;color:#ed1748;background:rgb(237 23 72 / 3%)}
.rating{display:flex;align-items:center;gap:7px;margin:2px 0 8px}
.stars{display:inline-flex;gap:1px;line-height:1;font-size:22px;color:#f5c400}
.rating-star{appearance:none;background:transparent;border:0;padding:0;font:inherit;font-size:28px;line-height:1;color:#d7d7d7;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .12s ease,color .12s ease}
.rating-star.active{color:#f5c400}
.rating-star:hover{transform:scale(1.08)}
.rating-star:active{transform:scale(.92)}
.rating-star:disabled{cursor:default}
.score{font-size:16px}
.rating-count{font-size:14px;color:#777;direction:rtl;white-space:nowrap}
.admin-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.admin-bar-add{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.admin-bar .small{font-size:14px;color:#666}
.admin-actions{display:flex;gap:8px;justify-content:space-between}
.mini{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:11px;border:0;text-decoration:none;font-weight:500;font-family:inherit;cursor:pointer;gap:5px}
.mini.blue{background:#1877f2;color:#fff}
.mini.red{background:#ed1748;color:#fff}
.mini.gray{background:#eee;color:#222}
.mini.green{background:#159447;color:#fff}
.form-card{background:#fff;border:1px solid #ddd;border-radius:18px;padding:20px;margin-bottom:22px;box-shadow:0 3px 14px rgba(0,0,0,.04)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
.field label{font-size:14px;font-weight:600;padding:0 5px}
.field input,.field select{width:100%;height:46px;border:1px solid #ccc;border-radius:10px;padding:0 12px;font-family:inherit;font-size:16px;background:#fff}
.field input[type=file]{padding:9px}
.help{font-size:12px;color:#777}
.image-upload-row{display:flex;align-items:center;gap:8px}
.image-upload-row input[type=file]{flex:1;min-width:0}
.inline-delete-image{display:inline-flex;flex:0 0 auto}
.preview{width:95px;height:95px;object-fit:cover;border-radius:14px;background:#b7b7b7;margin-top:6px}
.check{display:flex;align-items:center;gap:8px;min-height:46px}
.check input{width:20px;height:20px}
.form-actions{display:flex;gap:10px;margin-top:18px}
.form-actions .mini{min-height:48px;padding:0 20px}
.login-wrap{min-height:75vh;display:flex;align-items:center;justify-content:center;padding:20px;flex-direction:column}
.login-card{width:min(420px,100%);padding:18px;margin-bottom:10px}
.login-card h1{text-align:center;margin:0 0 25px;font-size:32px}
.login-card .field{margin-bottom:14px}
.alert{padding:12px 14px;border-radius:10px;margin-bottom:16px;font-size:14px}
.alert.err{background:#fff0f2;color:#a40020}
.alert.ok{background:#effaf3;color:#176b35;font-weight:600}
.install-pwa{position:fixed;z-index:50;left:50%;bottom:72px;transform:translateX(-50%);background:#111;color:#fff;border:0;border-radius:999px;padding:6px 7px 6px 15px;font:700 15px Tahoma,Arial;box-shadow:0 6px 22px rgba(0,0,0,.22);cursor:pointer;width:max-content;display:none}
.install-icon{height:30px;width:30px;border-radius:50px}
.install-pwa.show{display:block}
.empty{text-align:center;color:#777;padding:35px 0}
@media(max-width:700px){.page{padding:30px 24px 90px}.buttons{gap:20px;margin-top:23px}}
@media(max-width:520px){.page{padding:16px 16px 20px}.buttons{gap:10px;margin-top:12px}.form-grid{grid-template-columns:1fr}.admin-bar{align-items:flex-start;flex-direction:column}.mini{min-height:40px}}
/* ===== صفحه اصلی جدید ===== */
body{overflow-x:hidden;max-width:600px;margin:auto}
.home-topbar{position:fixed;z-index:100;top:0;left:0;right:0;height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 600px)/2 + 10px));background:rgba(255,255,255,.98);border-bottom:1px solid #eee;box-shadow:0 2px 20px 9px rgb(0 0 0 / 5%);font-size:25px}
.home-topbar a{display:flex;text-decoration:none;color:#333;white-space:nowrap;transition:opacity .15s ease,transform .15s ease;align-items:center;justify-content:center;padding:0 8px;font-size:15px}
.home-topbar a:active{transform:scale(.97);opacity:.75}
.home-page{width:100%;max-width:815px;margin:0 auto;padding:0 17px 10px}
.home-hero{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:14px;min-height:124px}
.hero-text{padding:12px 0;font-size:15px;line-height:26px}
.hero-brand{flex:1 1 52%;display:flex;flex-direction:column;align-items:flex-start;direction:rtl}
.brand-div{display:flex;align-items:baseline;gap:8px;margin-bottom:10px}
.brand-logo{height:32px;display:block;width:auto;max-width:100%}
.brand-icon{height:38px}
.hero-title{font-size:30px;font-weight:700;line-height:1.25;padding-bottom:6px}
.hero-car-wrap{flex:0 1 50%;display:flex;justify-content:flex-end;align-items:center}
.hero-car{height:122px;width:auto;display:block}
.travel-status{display:flex;justify-content:flex-start;gap:10px;margin-top:2px;font-size:20px;font-weight:700;line-height:26px}
.travel-status img{width:32px;height:32px;object-fit:contain;filter:brightness(0) saturate(100%)}
.travel-status.ready{color:#2fb34a}
.travel-status.ready img{filter:brightness(0) saturate(100%) invert(55%) sepia(57%) saturate(638%) hue-rotate(78deg) brightness(91%) contrast(91%)}
.travel-status.traveling{color:#ed1748}
.travel-status.traveling img{filter:brightness(0) saturate(100%) invert(21%) sepia(98%) saturate(4050%) hue-rotate(337deg) brightness(95%) contrast(89%)}
/* ===== پنل سفیر ===== */
.safir-panel{min-height:90vh;padding:26px 20px 50px;background:#fff}
.safir-panel-top{width:min(760px,100%);margin:0 auto;display:flex;justify-content:space-between;direction:ltr}
.safir-profile{width:min(560px,100%);margin:10px auto 0;text-align:center;display:flex;align-items:center;flex-direction:column;direction:rtl}
.safir-logo{width:150px;height:auto;margin:20px auto 30px}
.safir-avatar-wrap{position:relative;width:260px;height:260px}
.safir-avatar{width:260px;height:260px;object-fit:cover;border-radius:25px;background:#b7b7b7;display:block}
.safir-avatar-wrap .honor-star{top:-20px;left:50%;transform:translateX(-50%)}
.safir-label{font-size:25px;margin-top:30px}
.safir-profile h1{font-size:24px;line-height:1.35;margin:14px 0}
.safir-rating{display:flex;align-items:center;justify-content:center;gap:8px}
.safir-rating .score{font-size:22px}
.static-stars{cursor:default;pointer-events:none}
.static-stars span{font-size:31px;color:#d7d7d7;line-height:1}
.static-stars span.active{color:#f5c400}
.safir-alert{width:min(480px,100%);margin:20px auto 0}
.status-form{width:min(730px,100%);margin:32px auto 0}
.status-toggle{position:relative;width:100%;height:108px;border:0;border-radius:15px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#fff;font-family:inherit;font-size:30px;font-weight:700;cursor:pointer;overflow:hidden;transition:background .28s ease,transform .12s ease,box-shadow .28s ease;-webkit-tap-highlight-color:transparent}
.status-toggle.is-ready{background:#35b84b;box-shadow:0 5px 0 rgba(0,0,0,.05)}
.status-toggle.is-traveling{background:#ed1748;box-shadow:0 5px 0 rgba(0,0,0,.05)}
.status-toggle:active{transform:scale(.985)}
.status-text{flex:1;white-space:nowrap}
.status-track{position:relative;flex:0 0 105px;height:66px;border:4px solid rgba(255,255,255,.92);border-radius:999px;background:rgba(255,255,255,.18);display:block;direction:ltr}
.status-thumb{position:absolute;top:50%;right:2px;width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;transform:translateY(-50%);transition:left .34s cubic-bezier(.2,.8,.2,1)}
.status-thumb img{width:43px;height:43px;object-fit:contain;filter:brightness(0) invert(1)}
.status-toggle.is-traveling .status-thumb{left:calc(100% - 95px)}
.status-help{text-align:center;color:#777;font-size:14px;margin-top:12px}
.login-logo{display:block;height:44px;width:auto;max-width:80%;margin:0 auto 25px}
.login-subtitle{text-align:center;font-size:20px;margin-bottom:22px}
.login-submit{width:100%;height:50px;margin-top:6px;font-size:17px}
@media(max-width:700px){.home-topbar{height:58px;padding:0 20px;font-size:21px}.travel-status img{width:27px;height:27px}.safir-avatar-wrap{width:230px;height:230px}.safir-avatar{width:230px;height:230px}.status-toggle{height:94px;font-size:25px;padding:0 18px}.status-track{flex-basis:180px;height:58px}.status-thumb{width:48px;height:48px}.status-thumb img{width:38px;height:38px}.status-toggle.is-traveling .status-thumb{left:calc(100% - 54px)}}
@media(max-width:520px){.home-topbar{height:52px;padding:0 13px;font-size:17px}.travel-status img{width:23px;height:23px}.home-page .details{font-size:17px}.safir-panel{padding:18px 14px 35px}.safir-panel-top .mini{min-height:38px;padding:0 12px}.safir-avatar-wrap{width:180px;height:180px}.safir-avatar{width:180px;height:180px;border-radius:22px}.safir-avatar-wrap .honor-star{top:-13px;width:37px;height:37px;border-width:3px;font-size:21px}.safir-label{font-size:18px;margin-top:15px}.safir-rating .score{font-size:18px}.static-stars span{font-size:30px}.status-form{margin-top:22px}.status-toggle{height:80px;font-size:20px;padding:0 12px;gap:7px}.status-track{flex-basis:86px;height:44px;border-width:3px}.status-thumb{width:32px;height:32px;right:4px}.status-thumb img{width:34px;height:34px}.status-toggle.is-traveling .status-thumb{left:calc(100% - 76px)}}
/* ===== تنظیمات مدیر ===== */
.admin-settings h2{margin:0 0 16px;font-size:24px}
.admin-settings{margin-bottom:20px}
.safir-alert-slot{width:min(480px,100%);min-height:52px;margin:10px auto 0;display:flex;justify-content:center;align-items:flex-start}
.safir-alert-slot .safir-alert{width:100%;margin:0}
.safir-alert-animated{opacity:1;transform:translateY(0);transition:opacity .45s ease,transform .45s ease}
.safir-alert-animated.is-hiding{opacity:0;transform:translateY(-5px)}
.status-toggle:disabled{cursor:wait;opacity:.9}
/* ===== ترتیب دستی سفیران و مدال افتخار ===== */
.admin-driver{position:relative;transition:transform .16s ease,opacity .16s ease,box-shadow .16s ease}
.admin-driver.is-dragging{opacity:.45;box-shadow:0 8px 24px rgba(0,0,0,.10)}
.admin-dragbar{display:flex;align-items:center;gap:10px;margin:-8px 0 14px;padding:8px 10px;border:1px dashed #d5d5d5;border-radius:12px;background:#fafafa;direction:rtl}
.drag-handle{font-size:27px;line-height:1;color:#777;cursor:grab;user-select:none;touch-action:none}
.drag-handle:active{cursor:grabbing}
.drag-hint{font-size:13px;color:#777;flex:1}
.order-buttons{display:flex;gap:6px;direction:ltr}
.order-buttons .mini{padding:0 10px;font-size:22px}
.mini.gold{background:#f5c400;color:#3d3000}
.photo-wrap{position:relative;flex-basis:112px;flex:0 0 112px;width:112px;height:112px}
.photo-wrap .photo{width:100%;height:100%}
.honor-star{position:absolute;z-index:2;top:-20px;left:50%;transform:translateX(-50%);width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f5c400;color:#fff;border:4px solid #fff;box-shadow:0 5px 14px rgba(0,0,0,.18);font-size:31px;line-height:1;text-shadow:0 1px 2px rgba(0,0,0,.15)}
@media(max-width:700px){.honor-star{top:-17px;width:48px;height:48px;font-size:27px}.admin-dragbar{margin:-5px 0 12px}.drag-hint{font-size:12px}}
@media(max-width:520px){.honor-star{top:-13px;width:37px;height:37px;border-width:3px;font-size:21px}.admin-dragbar{padding:7px 8px;gap:7px}.drag-handle{font-size:23px}.drag-hint{font-size:10px}}
/* ===== هدر ثابت، اشتراک‌گذاری، حالت شب و فوتر ===== */
.topbar-actions{display:flex;align-items:center;gap:7px;direction:ltr}
.topbar-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:42px;padding:0 8px;border:none;border-radius:12px;background:transparent;font-size:15px;color:#333;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;transition:transform .15s ease,filter .15s ease,background .2s ease}
.topbar-btn:active{transform:scale(.96);filter:brightness(.95)}
.site-footer{width:75%;max-width:815px;margin:0 auto;padding:0 15px;text-align:center;color:#888;font-size:12.9px;line-height:1.8;margin-bottom:92px}
html.theme-dark,html.theme-dark body{background:#151515;color:#eee}
html.theme-dark .home-topbar{background:rgba(25,25,25,.98);border-bottom-color:#333;box-shadow:0 2px 12px rgba(0,0,0,.35)}
html.theme-dark .home-topbar a{color:#eee}
html.theme-dark .topbar-btn{color:#eee}
html.theme-dark .form-card,html.theme-dark .login-card{border-color:#3b3b3b;box-shadow:0 8px 30px rgba(0,0,0,.25)}
html.theme-dark .field input,html.theme-dark .field select{background:#181818;color:#eee;border-color:#444}
html.theme-dark .mini.gray{background:#303030;color:#eee}
html.theme-dark .admin-dragbar{background:#202020;border-color:#444}
html.theme-dark .drag-hint,html.theme-dark .help,html.theme-dark .small,html.theme-dark .rating-count,html.theme-dark .status-help{color:#aaa}
html.theme-dark .safir-panel{background:#151515}
html.theme-dark .site-footer{color:#888}
html.theme-dark .alert.err{background:#3a1d22;color:#ffb7c0}
html.theme-dark .alert.ok{background:#193324;color:#b9f1ca}
html.theme-dark .plate{border:2px solid #484848}
html.theme-dark .plate-city{border-left:2px solid #484848}
@media(max-width:700px){.topbar-actions{gap:4px}.topbar-btn span{display:none}}
@media(max-width:520px){.topbar-actions{gap:3px}.home-topbar{font-size:17px}}
/* ===== جستجوی سفیران ===== */
.driver-search-wrap{width:100%;margin-bottom:25px}
.driver-search-box{position:relative;display:flex;align-items:center}
.driver-search-icon{position:absolute;right:16px;z-index:1;font-size:28px;line-height:1;color:#777;pointer-events:none;transform:translateY(-1px)}
#driverSearch,#adminDriverSearch{width:100%;height:48px;border:1px solid #d3d3d3;border-radius:14px;background:#fff;color:#222;font-size:15px;padding:0 43px 0 16px;outline:none;box-sizing:border-box;transition:border-color .18s ease,box-shadow .18s ease}
#driverSearch:focus{border-color:#e6224d;box-shadow:0 6px 20px 2px rgb(230 34 77 / 15%)}
#driverSearch::-webkit-search-cancel-button{cursor:pointer}
.driver-search-empty{margin:20px 0 0;padding:13px 15px;border-radius:13px;background:#fff0f2;color:#c91f43;text-align:center;font-size:14px}
.drivers-list{width:100%}
.driver[hidden]{display:none!important}
html.theme-dark #driverSearch{background:#202020;color:#eee;border-color:#444}
html.theme-dark #driverSearch:focus{border-color:#e6224d;box-shadow:0 6px 20px 2px rgb(230 34 77 / 15%)}
html.theme-dark .driver-search-empty{background:#3a1d22;color:#ffb7c0}
@media(max-width:520px){.driver-search-icon{right:13px;font-size:22px;top:14px}}
textarea,input,input[type=text],input[type=number],input[type=password],input[type=email],input[typebutton=number],input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button,input:hover,input:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none}
input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,input[type=text],input[type=button],select#ordering-type,button{-webkit-appearance:none;-webkit-border-radius:0}
.icopos{position:relative;top:2px}
.flexcenter{display:flex!important;align-items:center;justify-content:center}
.flexstart{display:flex!important;align-items:center}
.flex{display:flex!important}
.flexbetw{display:flex!important;align-items:center;justify-content:space-between}
.tac{text-align:center!important}
.disno{display:none!important}
.scaleb:active{-webkit-transform:scale(0.97);transform:scale(0.97);opacity:.8}
.mobspac{letter-spacing:2px!important}
.pinmap{position:relative;height:40px;bottom:-35px;left:2px;margin:-7px}
.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}
@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}
@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}

.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight;-webkit-animation-duration:1.4s;animation-duration:1.4s;-webkit-animation-fill-mode:both;animation-fill-mode:both}
@-webkit-keyframes fadeInRight{0%{opacity:1;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}
@keyframes fadeInRight{0%{opacity:1;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}
.font-20{font-size:20px}
.bdg{border:1px solid #777;color:#777;background:rgb(0 0 0 / 3%)}

/* ===== ساعات کاری، وضعیت تعطیلی و دسته‌بندی پیک ===== */
.work-hours-box{width:100%;margin:0 auto 15px;padding:9px 10px 8px;border:1px solid #ddd;border-radius:15px;background:#fffdf7;box-shadow:0 4px 16px rgba(0,0,0,.035);direction:rtl;overflow:hidden}
.work-hours-title{text-align:center;font-size:15px;color:#555;line-height:1.8;display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:-10px}
.work-hours-title strong{color:#e6224d;font-weight:800}
.work-hours-track{height:8px;margin-top:5px;border-radius:999px;background:#f2e9dd;overflow:hidden;direction:rtl}
.work-hours-progress{display:block;height:100%;width:0;background:linear-gradient(90deg,#e6224d,#ff8a65);border-radius:999px 0 0 999px;transition:width 1s linear}
.vehicle-filters{display:flex;gap:8px;margin:-2px 0 18px;direction:rtl}
.vehicle-filter{flex:1;height:40px;border:1px solid #ddd;border-radius:10px;background:rgb(237 23 72 / 4%);color:#444;font:600 14px isans,sans-serif;cursor:pointer;transition:.18s ease;-webkit-tap-highlight-color:transparent;display:flex;align-items:center;justify-content:center;gap:10px}
.vehicle-filter.active{border-color:#ffb7c0;box-shadow:0 5px 14px rgba(230,34,77,.16)}
.vehicle-filter:active{transform:scale(.97)}
.vehicle-type-badge{display:inline-flex;align-items:center;margin-left:8px}
.site-closed-card{width:100%;margin:10px auto 25px;padding:16px 12px 22px;text-align:center;border:1px solid #e1e1e1;border-radius:17px;background:#f7f7f7;box-shadow:0 8px 28px rgba(0,0,0,.05)}
.site-closed-image{display:block;width:min(250px,70%);max-height:190px;object-fit:contain;margin:15px auto}
.site-closed-card h2{margin:5px 0 8px;font-size:26px;color:#333}
.site-closed-card p{margin:0;color:#555;font-size:15px;line-height:2}
.site-closed-card p strong{color:#e6224d;font-size:20px}
.site-closed-card>span{display:block;margin-top:5px;color:#777;font-size:14px}
html.theme-dark .work-hours-box{background:#202020;border-color:#3d3d3d}
html.theme-dark .work-hours-title{color:#bbb}
html.theme-dark .work-hours-track{background:#38302b}
html.theme-dark .vehicle-filter{background:#292929;border-color:#444;color:#ddd}
html.theme-dark .vehicle-filter.active{border-color:#e6224d}
html.theme-dark .site-closed-card{background:#202020;border-color:#3d3d3d}
html.theme-dark .site-closed-card h2{color:#eee}
html.theme-dark .site-closed-card p{color:#bbb}
html.theme-dark .abut, html.theme-dark .registbtn{background:#202020;border-color:#3d3d3d;color:#eee}
/* ===== جستجوی پنل مدیریت ===== */
.admin-driver-search-wrap{margin-top:2px;margin-bottom:18px}
.admin-drivers-list{width:100%}
.admin-driver[hidden]{display:none!important}
.site-control-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid #eee}
.site-control-state{display:flex;flex-direction:column;gap:3px;font-size:15px;font-weight:700}
.site-control-state small{font-size:12px;font-weight:400;color:#777}
.site-control-state.is-open{color:#159447}
.site-control-state.is-closed{color:#ed1748}
.site-control-form{margin:0}
.safir-visibility-status{width:min(560px,100%);display:flex;align-items:center;justify-content:center;gap:8px;margin:18px auto 0;padding:11px 14px;border-radius:12px;font-size:14px;line-height:1.8;text-align:center}
.safir-visibility-status.is-active{background:#effaf3;color:#176b35}
.safir-visibility-status.is-hidden{background:#fff0f2;color:#a40020}
html.theme-dark .site-control-row{border-top-color:#3d3d3d}
html.theme-dark .site-control-state small{color:#aaa}
html.theme-dark .safir-visibility-status.is-active{background:#193324;color:#b9f1ca}
html.theme-dark .safir-visibility-status.is-hidden{background:#3a1d22;color:#ffb7c0}
html.theme-dark .tabtel{background-color:#202020;border-top:1px solid #444}
html.theme-dark .driver{border-color:#555}
.carfil{width:40px}.carfi{width:30px}
@media(max-width:520px){
  .vehicle-filters{gap:5px;margin-bottom:15px}
  .site-closed-image{width:85%;max-height:155px}
  .site-closed-card h2{font-size:22px}
  .site-closed-card p strong{font-size:18px}
  .site-control-row{align-items:stretch;flex-direction:column}
  .site-control-form .mini{width:100%}
}
.tabtel{position:fixed;bottom:-1px;width:100%;max-width:600px;height:64px;padding:8px 6px 10px;background-color:#fff;border-top:1px solid #ddd;display:flex;overflow-x:auto;z-index:9}
.tabcall{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-grow:1;height:44px;min-width:44px;overflow:hidden;white-space:nowrap;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:background-color 0.1s ease-in-out;cursor:pointer;gap:5px}
.guideb{background:rgb(24 119 242 / 9%);margin:0 4px;padding:0 10px;width:50%;border-radius:18px 50px 50px 18px}
.tabcallicon{font-size:18px}
.tabcalltext{font-size:16px;font-weight:500;line-height:22px}
.calloptions{background:rgb(237 23 72 / 10%);margin:0 4px;padding:0 10px;width:50%;border-radius:50px 18px 18px 50px}
.catcall{position:fixed;height:100%;width:50%;max-width:300px;z-index:2}
.catcallbtn{font-size:26px;background:#ddd;color:#fff;border-radius:0 50px 50px 0;position:fixed;bottom:127px;transition:all .55s;display:flex;align-items:center;justify-content:center;height:52px}
.relob{color:#e6224d!important;margin:0 4px;width:44px;border-radius:100px;font-size:23px;border:1px solid #e6224d}
.relob:active,.relob:hover{color:#fff!important;background:#e6224d}

.abut{width:100%;margin:0 auto 15px;padding:5px 20px;border:1px solid #e1e1e1;border-radius:17px;background:#f9f9f9;box-shadow:0 8px 28px rgba(0,0,0,.05);text-align:justify;color:#555;font-size:15px;line-height:24px}
.registbtn{font-weight:500;margin-bottom:15px;gap:8px;border:1px solid #e1e1e1;background:#f3f3f3;padding:10px;border-radius:6px}
.registlink{font-weight:500;margin-bottom:30px;gap:8px}
.gap5{gap:5px}