/* =========================================
   Design Tokens
========================================= */
:root{
    --brand-purple:   #5B3E8F;
    --brand-purple-2: #7A4FC0;
    --brand-deep:     #2A1B4D;
    --brand-deeper:   #1A1130;
    --brand-magenta:  #7A2B6B;
    --brand-red:      #C41E3A;
    --brand-gold:     #D4AF37;
    --brand-gold-2:   #F5D67B;
    --brand-gold-3:   #B8860B;
    --brand-blue:     #3E6DB5;
    --brand-green:    #2E9E6B;

    --bg:             #F4F2F8;
    --bg-2:           #EDEAF5;
    --surface:        #FFFFFF;
    --surface-2:      #FAF9FD;
    --surface-3:      #F7F5FC;

    --text:           #1A1430;
    --text-muted:     #6B5F88;
    --text-soft:      #9C93B8;
    --text-inv:       #FFFFFF;

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius:    16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --shadow-xs: 0 2px 8px rgba(42, 27, 77, .06);
    --shadow-sm: 0 4px 14px rgba(42, 27, 77, .08);
    --shadow-md: 0 8px 24px rgba(42, 27, 77, .12);
    --shadow-lg: 0 16px 40px rgba(42, 27, 77, .18);
    --shadow-gold: 0 8px 24px rgba(212, 175, 55, .35);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --dur: .3s;
    --dur-slow: .5s;
}

*, *::before, *::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
}

html{ scroll-behavior: smooth; }

body{
    font-family:IRANSans, 'Vazirmatn', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background pattern */
body::before{
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, .04), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(122, 43, 107, .05), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

a{ text-decoration: none; color: inherit; }
button{ font: inherit; cursor: pointer; border: 0; background: none; }
img{ max-width: 100%; display: block; }

.g-alert{
    font-size: 10px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-gold-2), var(--brand-gold-3));
    color: var(--brand-deeper);
    letter-spacing: .3px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, .3);
    z-index: 2;
}
.g-danger{
    background: linear-gradient(135deg, #E0244A, var(--brand-red));
    color: #fff;
    box-shadow: 0 4px 10px rgba(196, 30, 58, .3);
}
.g-success{
     background: linear-gradient(135deg, var(--brand-green), #238B5A);
    color: #fff;
    box-shadow: 0 4px 10px rgba(46, 158, 107, .3);
}
.g-magenta{
     background: linear-gradient(135deg, #5B3E8F, #2A1B4D);
    box-shadow:
        0 4px 14px rgba(91, 62, 143, .4),
        inset 0 1px 0 rgba(255, 255, 255, .15);
        color: #EEE;
}
/* =========================================
   Modal
========================================= */
.g-modal{
    

}

/* =========================================
   Modal
========================================= */
.g-toast{
    position: absolute;
    z-index: 999;
    background: rgba(230, 230, 230, 0.6);
    backdrop-filter: blur(8px);
    margin: 20px auto;
    padding: 8px 16px;
    box-shadow: 0 4px 14px rgba(42, 27, 77, .08);
    min-width: 480px;
    display: none;
}




/* =========================================
   Navigation
========================================= */
.g-nav-holder{
    /*width: 100%;*/
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding:8px 8px 4px 8px;
   background: rgba(250, 250, 250, 0.01);
   backdrop-filter: blur(0.8px);
    margin: auto auto;
    max-width: 768px;
    
}
.g-nave{
     background: linear-gradient(135deg,
        rgba(20, 13, 40, .96),
        rgba(42, 27, 77, .96));
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(212, 175, 55, .18);
    padding: 3px;
}
.g-nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    border:thin dashed rgba(212, 175, 55, .18);
    
    
    color: #FFF;
   border-radius: 12px;
   padding: 2px 8px;
}
.g-nav-item{
    padding: 4px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.g-nav-item span{
    font-size: 10px;
    color: rgba(230, 230, 230, 0.5);
}
.g-nav-item i{
    font-size: 14px;
}






/* =========================================
   Dashboard 
========================================= */

.g-dashboard{
    z-index: 1;
    max-width: 760px;
    margin: auto auto;
    min-height: 100vh;
    margin-bottom: 80px;

}

.g-main{
    

}
.g-hero{
    position: relative;
    /*margin: 0 -16px 20px;*/
    padding: 22px 22px 70px;
    padding: 16px 16px 28px;
    background:
        radial-gradient(ellipse at 95% -10%, rgba(245, 214, 123, .25), transparent 50%),
        radial-gradient(ellipse at 0% 110%, rgba(122, 43, 107, .45), transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(91, 62, 143, .3), transparent 70%),
        linear-gradient(135deg, #1A1130 0%, #3B2464 55%, #1A1130 100%);
    color: var(--text-inv);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(26, 17, 48, .35);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.g-hero-name{

}
.g-hero-name-1{
    font-size: 18px;
    color: rgba(250, 250, 250, 0.9);
    display: block;
}
.g-hero-name-2{
    font-size: 12px;
    color: rgba(230, 230, 230, 0.5);
    display: block;
}
.g-hero-name-1 b{
    color: var(--brand-gold);
}

.g-profile-holder{
    padding: 12px 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
}
.g-profile-item{
    min-width: 300px;
    max-width: 480px;
    background: rgba(250, 245, 240, 0.7);
    backdrop-filter: blur(16px);
    padding: 16px 12px;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    border:2px solid rgba(230, 225, 220, 0.9);
    border-top:4px solid var(--brand-magenta);
}
.g-profile-item h6{
    text-align: center;
    font-size: 18px;
    border-bottom: 1px solid var(--brand-purple-2);
    margin: 0px;
    padding: 2px;
}



.g-dashboard-main{

}
.g-dashboard-topnav{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
}
.g-dashboard-topnav-item{
   
    color: rgba(91, 62, 143, 0.9);
    
    padding: 8px 12px;
    /*
    background: #FFF;
    box-shadow: 0 1px 5px rgba(26, 17, 48, .35);
    border-radius: 8px;
    border: 2px solid rgba(26, 17, 48, .35);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
   
    min-width: 70px;
}
.g-dashboard-topnav-item:hover{
    box-shadow: 0 3px 12px rgba(26, 17, 48, .35);

}
.g-dashboard-topnav-item i{
    font-size: 28px;
    text-shadow: 1px 2px rgba(91, 62, 143, 0.3);
}
.g-dashboard-topnav-item i:hover{
     text-shadow:  0 3px 12px rgba(26, 17, 48, .35);
}
.g-dashboard-topnav-item span{
    font-size: 12px;
    font-weight: 700;
}
.g-dashboard-container{
    padding: 16px 8px;
    display: none;
    background: rgba(250, 250, 250, 0.8);
    border-radius: 8px;
}
.g-dashboard-container:first-of-type{
    display: block;
}
.g-dashboard-container-active{
    display: block;
}



#citysselection{
    display: none;
}
.check{

}
/*
.cityslist{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 4px;
}
*/
.cityslist{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 4px;
}

@media (max-width: 480px){
    .cityslist{
        grid-template-columns: repeat(3, 1fr);
    }
}
/* =========================================
   Driver Result
========================================= */
.driver-result{
    margin-top: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(91, 62, 143, .05), rgba(122, 43, 107, .03));
    border: 1px solid rgba(91, 62, 143, .12);
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--text, #1A1430);
    animation: driver-result-in .3s cubic-bezier(.22, 1, .36, 1);
}

@keyframes driver-result-in{
    from{ opacity: 0; transform: translateY(-6px); }
    to{ opacity: 1; transform: translateY(0); }
}

.driver-result__loading,
.driver-result__error{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
}

.driver-result__loading{
    color: var(--brand-purple, #5B3E8F);
}
.driver-result__loading i{
    color: var(--brand-gold-3, #B8860B);
}

.driver-result__error{
    color: var(--brand-red, #C41E3A);
}

/* اگر داخل نتیجه جدول/لیست داری */
.driver-result__row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
}
.driver-result__row + .driver-result__row{
    border-top: 1px dashed rgba(91, 62, 143, .12);
}
.driver-result__label{
    color: var(--text-muted, #6B5F88);
    font-weight: 600;
}
.driver-result__value{
    font-weight: 700;
    color: var(--brand-purple, #5B3E8F);
}


/* =========================================
   g-dashboard-topnav — Golriz Theme
========================================= */

/* ---------- Container ---------- */
.g-dashboard-topnav{
    display: flex;
    align-items: stretch;
    gap: 6px;

    padding: 6px;
    margin-bottom: 22px;

    background: linear-gradient(135deg,
        rgba(255, 255, 255, .92),
        rgba(250, 249, 253, .85));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(91, 62, 143, .1);
    border-radius: 18px;
    box-shadow:
        0 8px 24px rgba(42, 27, 77, .08),
        inset 0 1px 0 rgba(255, 255, 255, .8);

    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.g-dashboard-topnav::-webkit-scrollbar{ display: none; }


/* ---------- Item (پایه) ---------- */
.g-dashboard-topnav-item{
    flex: 1 0 auto;
    min-width: 130px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 12px 16px;
    height: 68px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.2px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;

    color: #6B5F88;
    background: transparent;
    border: 1.5px solid transparent;
    border-radius: 14px;

    position: relative;
    transition:
        color .3s cubic-bezier(.22, 1, .36, 1),
        background-color .3s cubic-bezier(.22, 1, .36, 1),
        border-color .3s cubic-bezier(.22, 1, .36, 1),
        box-shadow .3s cubic-bezier(.22, 1, .36, 1),
        transform .2s cubic-bezier(.22, 1, .36, 1);
}

/* آیکون */
.g-dashboard-topnav-item i{
    font-size: 16px;
    flex-shrink: 0;
    transition:
        transform .3s cubic-bezier(.22, 1, .36, 1),
        color .3s ease;
}

/* متن */
.g-dashboard-topnav-item span{
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
}


/* ---------- Hover ---------- */
.g-dashboard-topnav-item:hover{
    color: #5B3E8F;
    background: rgba(91, 62, 143, .07);
    border-color: rgba(91, 62, 143, .12);
}
.g-dashboard-topnav-item:hover i{
    transform: scale(1.12);
    color: #5B3E8F;
}


/* ---------- Active / حالت انتخاب‌شده ---------- */
.g-dashboard-topnav-item.active,
.g-dashboard-topnav-item.is-active{
    color: #FFF;

    background: linear-gradient(135deg, #5B3E8F 0%, #2A1B4D 100%);
    border-color: transparent;

    box-shadow:
        0 8px 20px rgba(91, 62, 143, .35),
        inset 0 1px 0 rgba(255, 255, 255, .15);

    transform: translateY(-1px);
}

.g-dashboard-topnav-item.active i,
.g-dashboard-topnav-item.is-active i{
    color: #F5D67B;
    transform: scale(1.05);
    filter: drop-shadow(0 0 6px rgba(245, 214, 123, .5));
}

/* خط طلایی پایین آیتم فعال */
.g-dashboard-topnav-item.active::after,
.g-dashboard-topnav-item.is-active::after{
    content: "";
    position: absolute;
    bottom: 5px;
    inset-inline-start: 50%;
    transform: translateX(50%);
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #F5D67B, #D4AF37);
    box-shadow: 0 0 8px rgba(245, 214, 123, .6);
    animation: topnav-dot-in .4s cubic-bezier(.22, 1, .36, 1);
}

@keyframes topnav-dot-in{
    from{ width: 0; opacity: 0; }
    to{ width: 20px; opacity: 1; }
}


/* ---------- Focus (دسترس‌پذیری) ---------- */
.g-dashboard-topnav-item:focus-visible{
    outline: 2px solid #D4AF37;
    outline-offset: 3px;
}


/* ---------- حالت فقط یک تب ---------- */
.g-dashboard-topnav-item:only-child{
    flex: 1;
    min-width: 0;
}


/* ---------- تب‌های زیاد (فشرده‌تر) ---------- */
/* وقتی ۴ تا ۶ تب داریم */
@media (min-width: 481px){
    .g-dashboard-topnav-item:nth-child(n+4){
        min-width: 110px;
        padding: 10px 12px;
        font-size: 12px;
        gap: 7px;
    }
    .g-dashboard-topnav-item:nth-child(n+4) i{
        font-size: 14px;
    }
}


/* ---------- موبایل ---------- */
@media (max-width: 480px){
    .g-dashboard-topnav{
        padding: 5px;
        gap: 4px;
    }
    .g-dashboard-topnav-item{
        min-width: 108px;
        height: 54px;
        padding: 10px 12px;
        font-size: 12px;
        gap: 7px;
    }
    .g-dashboard-topnav-item i{
        font-size: 14px;
    }
    .g-dashboard-topnav-item.active::after,
    .g-dashboard-topnav-item.is-active::after{
        width: 16px;
        bottom: 4px;
    }
}


/* ---------- دسترس‌پذیری: کاهش انیمیشن ---------- */
@media (prefers-reduced-motion: reduce){
    .g-dashboard-topnav-item,
    .g-dashboard-topnav-item i{
        transition-duration: .01ms !important;
    }
}


/* =========================================
   WareHouse Dashboard Items
========================================= */

.g-transfer-list{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-size: 12px;
    gap: 8px;
    padding:4px;
    width: 100;
}
.g-transfer-list-item{
    border: 1px solid rgba(40, 40, 40, 0.3);
    padding:8px 16px;
    width: 100%;
    border-radius: 8px;
    background: #FFF;
}
.g-transfer-list-deny{
    background: rgba(230, 110, 110, 0.2);
    border:rgba(230, 110, 110, 0.8) ;
    border-right: 4px solid rgba(230, 110, 110, 0.8); 
}
.g-transfer-list-approve{
    background: rgba(110, 230, 110, 0.2);
    border:  rgba(110, 230, 110, 0.8) ;
    border-right: 4px solid rgba(110, 230, 110, 0.8); 
}

.g-transfer-head{
    color: rgba(78, 78, 78, 0.8);
}
.g-transfer-head:last-chid{
    margin-left: auto;
    background: rgba(87, 87, 97, 1.0);
}
.g-transfer-driver{
    padding: 8px;
    background: rgba(235, 225, 240, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 4px auto;
}
.g-transfer-driver-icon{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #5B3E8F;
    background: rgba(91, 62, 143, .1);
    border: 2px solid #FFF;
    box-shadow: 0 2px 8px rgba(91, 62, 143, .15);
    flex-shrink: 0;
}
.g-transfer-driver-name{

}
.g-transfer-driver-name p:first-child{
    font-size: 24;
    font-weight: 700;
}
.g-transfer-driver-name p:last-child{
    font-size: 12px;
    color: rgba(78, 78, 78, 0.5);
}

.g-transfer-driver-premits{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.g-transfer-driver-premits-allow{
    width: 160px;
    background: rgba(110, 230,110, 0.8);
    padding: 4px;
    text-align: center;
    color: #FFF;
    border: 2px solid rgba(110, 230,110, 0.99);
}
.g-transfer-driver-premits-deny{
    width: 160px;
    background: rgba(230, 110,110, 0.8);
    padding: 4px;
    text-align: center;
    color: #FFF;
    border: 2px solid rgba(230, 110,110, 0.99);
}

.g-transfer-driver-action{
    margin-right: auto;
}
.g-transfer-other{
    display: none;
}
#ress{
    font-size: 12px;
}
@media (max-width: 480px){
    .g-transfer-driver{
        flex-direction: column;
    }
}


.g-accounting-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    gap: 8px;
}
.g-accounting-item{
    background: var(--bg-2);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(225, 220, 220, 0.99);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap:12px;
    width: 100%;
}
.g-accounting-item-sub{

}
.g-accounting-item-sub img{
    width: 65px;

    height: 65px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #5B3E8F;
    background: rgba(91, 62, 143, .1);
    border: 2px solid #FFF;
    box-shadow: 0 2px 8px rgba(91, 62, 143, .15);
    flex-shrink: 0;
}




/* =========================================
   Toggle Switch — Golriz Theme
========================================= */
.g-switch{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #1A1430;
    line-height: 1.5;
    position: relative;
}

.g-switch input{
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* ریل سوییچ */
.g-switch__track{
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(91, 62, 143, .22);
    transition:
        background-color .3s cubic-bezier(.22, 1, .36, 1),
        box-shadow .3s cubic-bezier(.22, 1, .36, 1);
}

/* دایره */
.g-switch__thumb{
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFF;
    box-shadow:
        0 2px 6px rgba(42, 27, 77, .25),
        inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

/* Hover */
.g-switch:hover .g-switch__track{
    background: rgba(91, 62, 143, .35);
}
.g-switch:hover .g-switch__thumb{
    box-shadow:
        0 2px 10px rgba(42, 27, 77, .35),
        inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* ===== حالت روشن ===== */
.g-switch input:checked + .g-switch__track{
    background: linear-gradient(135deg, #5B3E8F, #2A1B4D);
    box-shadow:
        0 4px 14px rgba(91, 62, 143, .4),
        inset 0 1px 0 rgba(255, 255, 255, .15);
}

.g-switch input:checked + .g-switch__track .g-switch__thumb{
    transform: translateX(-20px);   /* RTL */
}

/* برای LTR */
html[dir="ltr"] .g-switch input:checked + .g-switch__track .g-switch__thumb{
    transform: translateX(20px);
}

/* ===== Focus ===== */
.g-switch input:focus-visible + .g-switch__track{
    box-shadow:
        0 0 0 4px rgba(91, 62, 143, .2),
        0 4px 14px rgba(91, 62, 143, .3);
}

/* ===== Active (کلیک) ===== */
.g-switch:active .g-switch__thumb{
    width: 24px;
}

/* ===== Disabled ===== */
.g-switch input:disabled + .g-switch__track{
    opacity: .5;
    cursor: not-allowed;
}
.g-switch input:disabled ~ .g-switch__label{
    opacity: .5;
    cursor: not-allowed;
}


/* =========================================
   Variants
========================================= */

/* طلایی */
.g-switch--gold input:checked + .g-switch__track{
    background: linear-gradient(135deg, #F5D67B, #B8860B);
    box-shadow: 0 4px 14px rgba(212, 175, 55, .4);
}
.g-switch--gold input:checked + .g-switch__track .g-switch__thumb{
    background: #1A1130;
}

/* سبز */
.g-switch--green input:checked + .g-switch__track{
    background: linear-gradient(135deg, #34D399, #0E9F6E);
    box-shadow: 0 4px 14px rgba(46, 158, 107, .4);
}

/* قرمز */
.g-switch--danger input:checked + .g-switch__track{
    background: linear-gradient(135deg, #E0244A, #7A2B6B);
    box-shadow: 0 4px 14px rgba(196, 30, 58, .4);
}


/* =========================================
   Sizes
========================================= */
.g-switch--sm{ font-size: 11.5px; }
.g-switch--sm .g-switch__track{
    width: 36px;
    height: 20px;
}
.g-switch--sm .g-switch__thumb{
    width: 14px;
    height: 14px;
    top: 3px;
    inset-inline-start: 3px;
}
.g-switch--sm input:checked + .g-switch__track .g-switch__thumb{
    transform: translateX(-16px);
}

.g-switch--lg{ font-size: 14px; }
.g-switch--lg .g-switch__track{
    width: 56px;
    height: 32px;
}
.g-switch--lg .g-switch__thumb{
    width: 26px;
    height: 26px;
    top: 3px;
    inset-inline-start: 3px;
}
.g-switch--lg input:checked + .g-switch__track .g-switch__thumb{
    transform: translateX(-24px);
}


/* =========================================
   Label position (متن قبل از سوییچ)
========================================= */
.g-switch--reverse{
    flex-direction: row-reverse;
}


/* =========================================
   Card style (سوییچ داخل کارت)
========================================= */
.g-switch-card{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #FFF;
    border: 1px solid rgba(91, 62, 143, .1);
    border-radius: 14px;
    cursor: pointer;
    transition: all .25s cubic-bezier(.22, 1, .36, 1);
}
.g-switch-card:hover{
    border-color: rgba(91, 62, 143, .25);
    background: #FAF9FD;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(42, 27, 77, .06);
}

.g-switch-card__body{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.g-switch-card__title{
    font-size: 13px;
    font-weight: 700;
    color: #1A1430;
}
.g-switch-card__desc{
    font-size: 11px;
    color: #6B5F88;
    line-height: 1.6;
}


/* =========================================
   Reduced Motion
========================================= */
@media (prefers-reduced-motion: reduce){
    .g-switch__track,
    .g-switch__thumb{
        transition-duration: .01ms !important;
    }
}


.g-driverlist{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: linear-gradient(135deg, rgba(91, 62, 143, .05), rgba(122, 43, 107, .03));
    margin: 4px auto;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(42, 27, 77, .06);
    border: 1px solid #CCC;
}
.g-driverlist-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
     text-align: center;
     padding: 4px 8px;
     font-size: 12px;

}
.g-driverlist-item h6{
    text-align: center;
    padding: 0px;
    margin: 0px;
}
.g-driverlist-item span{
    color: rgba(35, 35, 35, 0.3);
    font-size: 12px;
    text-align: right;
}
.g-driverlist-item img{
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #5B3E8F;
    background: rgba(91, 62, 143, .1);
    border: 2px solid #FFF;
    box-shadow: 0 2px 8px rgba(91, 62, 143, .15);
    flex-shrink: 0;
}

@media (max-width: 480px){
    .g-driverlist{
        flex-direction: column;
    }
    .g-driverlist:first-child{
        padding: 16px 12px;
        background: rgba(240, 240, 240, 0.4);
    }
    .g-driverlist-item img{
        width: 125px;
        height: 125px;
    }
}

.g-unconfirm-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.g-unconfirm-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 8px;
    background: linear-gradient(135deg, rgba(91, 62, 143, .05), rgba(122, 43, 107, .03));
    margin: 4px auto;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(42, 27, 77, .06);
    border: 1px solid #CCC;

}
.g-unconfirm-item div{
    
}
.g-unconfirm-item-img{

}
.g-unconfirm-item-img img{
    width: 92px;
    height: 92px;
}