.elementor-6187 .elementor-element.elementor-element-8ae5f0e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-a756925 *//* =========================================
   MyOnlineTutor – Tutor Onboarding FINAL
========================================= */

.mot-onboarding-page{
    max-width: 1380px;
    margin: 0 auto;
    padding: 12px 12px 50px;
    box-sizing: border-box;
}

/* ===== Top Progress / Step Bar ===== */
.mot-onboarding-progress{
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #0b0f4f 0%, #1d4ed8 58%, #c7d2fe 100%);
    border-radius: 14px 14px 0 0;
    padding: 8px 16px;
    min-height: 44px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(11, 15, 79, 0.10);
    border: 1px solid rgba(215, 226, 240, 0.65);
    scrollbar-width: thin;
}

.mot-onboarding-progress::-webkit-scrollbar{
    height: 4px;
}

.mot-onboarding-progress::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,.35);
    border-radius: 999px;
}

.mot-step-item{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.90);
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    flex: 0 0 auto;
    cursor: pointer;
    transition: color .18s ease, opacity .18s ease;
}

.mot-step-item:hover{
    color: #ffffff;
}

.mot-step-item.is-active{
    color: #ffffff;
    font-weight: 700;
    cursor: default;
}

.mot-step-number{
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.52);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.mot-step-item.is-active .mot-step-number{
    background: #ffffff;
    color: #0b0f4f;
    border-color: #ffffff;
}

.mot-step-sep{
    width: 10px;
    min-width: 10px;
    height: 1px;
    background: rgba(255,255,255,.34);
    flex: 0 0 auto;
}

.mot-step-text{
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

/* ===== Card ===== */
.mot-onboarding-card{
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.98));
    border-radius: 0 0 22px 22px;
    padding: 34px 34px 30px;
    box-shadow:
        0 12px 32px rgba(15,23,42,.05),
        inset 0 1px 0 rgba(255,255,255,.92);
    border: 1px solid #e4eaf5;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.mot-onboarding-card::before{
    content:"";
    position:absolute;
    inset:0 auto auto 0;
    width:100%;
    height:3px;
    background: linear-gradient(90deg, #0b0f4f, #1d4ed8 58%, #c7d2fe 100%);
    opacity:.9;
}

.mot-onboarding-title{
    margin: 0 0 24px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    color: #162458;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

/* ===== Alerts ===== */
.mot-onboarding-alert{
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.mot-success{
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.mot-error{
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ===== Form ===== */
.mot-onboarding-form{
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.mot-field{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mot-field-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mot-field label{
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin: 0;
}

.mot-field input,
.mot-field select,
.mot-field textarea{
    width: 100%;
    min-height: 52px;
    border: 1px solid #d7e2f0;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 15px;
    color: #0f172a;
    background: #f8fbff;
    box-sizing: border-box;
    transition: all .2s ease;
}

.mot-field textarea{
    min-height: 140px;
    padding: 14px 16px;
    resize: vertical;
}

.mot-field input:focus,
.mot-field select:focus,
.mot-field textarea:focus{
    outline: none;
    border-color: #1d4ed8;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.10);
}

/* ===== Checkbox ===== */
.mot-checkbox{
    margin-top: 4px;
}

.mot-checkbox label{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.mot-checkbox input[type="checkbox"]{
    margin-top: 3px;
    transform: scale(1.1);
    accent-color: #1d4ed8;
}

/* ===== Buttons ===== */
.mot-onboarding-actions{
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.mot-btn-primary{
    border: none;
    background: linear-gradient(180deg, #17359a 0%, #101a63 100%);
    color: #fff;
    min-width: 140px;
    height: 48px;
    border-radius: 14px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 12px 24px rgba(11,15,79,.16);
}

.mot-btn-primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(11,15,79,.20);
    filter: brightness(1.02);
}

.mot-btn-secondary{
    border: 1px solid #d9e2f2;
    background: #ffffff;
    color: #2d3b58;
    min-width: 120px;
    height: 48px;
    border-radius: 14px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 10px 24px rgba(15,23,42,.04);
}

.mot-btn-secondary:hover{
    background: #fbfdff;
    border-color: #c8d6ef;
    color: #0f1b4d;
    box-shadow: 0 14px 30px rgba(15,23,42,.07);
}

/* ===== Placeholder / Step Text ===== */
.mot-step-placeholder-text{
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #71819b;
}

/* ===== Photo Step ===== */
.mot-photo-step-wrap{
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mot-photo-preview-box{
    width: 100%;
    max-width: 260px;
    height: 260px;
    border: 1px solid #d7e2f0;
    border-radius: 22px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,23,42,.04);
}

.mot-photo-preview-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mot-photo-empty{
    padding: 20px;
    text-align: center;
    color: #71819b;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Uploaded File Note ===== */
.mot-uploaded-file-note{
    margin-top: 6px;
    padding: 14px 16px;
    border: 1px solid #d7e2f0;
    border-radius: 14px;
    background: #f8fbff;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.mot-uploaded-file-note a{
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
}

.mot-uploaded-file-note a:hover{
    text-decoration: underline;
}

/* ===== Login Note ===== */
.mot-onboarding-login-note{
    max-width: 700px;
    margin: 30px auto;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.98));
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #e4eaf5;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    color: #334155;
}

/* ===== Elementor Safety ===== */
.elementor-widget-shortcode .mot-onboarding-page,
.elementor-shortcode .mot-onboarding-page{
    width: 100%;
    box-sizing: border-box;
}

.elementor-widget-shortcode .mot-onboarding-page *,
.elementor-shortcode .mot-onboarding-page *{
    box-sizing: border-box;
}

/* ===== Responsive ===== */
@media (max-width: 767px){
    .mot-onboarding-page{
        padding: 12px 10px 36px;
    }

    .mot-onboarding-progress{
        padding: 7px 12px;
        min-height: 40px;
        border-radius: 12px 12px 0 0;
        gap: 5px;
    }

    .mot-step-item{
        font-size: 11px;
        gap: 6px;
    }

    .mot-step-number{
        width: 18px;
        height: 18px;
        min-width: 18px;
        font-size: 9px;
    }

    .mot-step-sep{
        width: 8px;
        min-width: 8px;
    }

    .mot-step-text{
        font-size: 11px;
    }

    .mot-onboarding-card{
        padding: 22px 16px 20px;
        border-radius: 0 0 18px 18px;
    }

    .mot-onboarding-title{
        font-size: 22px;
    }

    .mot-field-row{
        grid-template-columns: 1fr;
    }
}
/* =========================================
   SUPER COMPACT CENTERED STEPPER
========================================= */

.mot-onboarding-page{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mot-onboarding-progress{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;

    padding: 8px 14px !important;
    min-height: 40px !important;

    border-radius: 999px !important;
    border: 1px solid rgba(215,226,240,.7) !important;

    background: linear-gradient(90deg, #0b0f4f 0%, #1d4ed8 58%, #c7d2fe 100%) !important;
    box-shadow: 0 6px 14px rgba(11,15,79,.10) !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
}

.mot-step-item{
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;

    color: rgba(255,255,255,.92) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 500 !important;

    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mot-step-item:hover{
    color: #ffffff !important;
    transform: none !important;
}

.mot-step-item.is-active{
    color: #ffffff !important;
    font-weight: 700 !important;
}

.mot-step-number{
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    background: transparent !important;
    color: #ffffff !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    box-shadow: none !important;
}

.mot-step-item.is-active .mot-step-number{
    background: #ffffff !important;
    color: #0b0f4f !important;
    border-color: #ffffff !important;
}

.mot-step-sep{
    width: 8px !important;
    min-width: 8px !important;
    height: 1px !important;
    background: rgba(255,255,255,.34) !important;
    flex: 0 0 auto !important;
}

.mot-step-text{
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* card زیرش هم هم‌راستا بماند */
.mot-onboarding-card{
    width: 100% !important;
    max-width: 760px !important;
    margin-top: 8px !important;
}

/* mobile */
@media (max-width: 767px){
    .mot-onboarding-progress{
        padding: 7px 10px !important;
        min-height: 36px !important;
        gap: 5px !important;
    }

    .mot-step-item{
        gap: 5px !important;
        font-size: 11px !important;
    }

    .mot-step-number{
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        font-size: 9px !important;
    }

    .mot-step-sep{
        width: 6px !important;
        min-width: 6px !important;
    }

    .mot-step-text{
        font-size: 11px !important;
    }

    .mot-onboarding-card{
        margin-top: 8px !important;
    }
}
/* =========================================
   STEP BAR – BALANCED VERSION
========================================= */

.mot-onboarding-page{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mot-onboarding-progress{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;

    padding: 12px 18px !important;
    min-height: 52px !important;

    border-radius: 18px !important;
    border: 1px solid rgba(215,226,240,.72) !important;

    background: linear-gradient(90deg, #0b0f4f 0%, #1d4ed8 58%, #c7d2fe 100%) !important;
    box-shadow: 0 8px 18px rgba(11,15,79,.12) !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
}

.mot-step-item{
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex: 0 0 auto !important;

    color: rgba(255,255,255,.93) !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 500 !important;

    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mot-step-item:hover{
    color: #ffffff !important;
    transform: none !important;
}

.mot-step-item.is-active{
    color: #ffffff !important;
    font-weight: 700 !important;
}

.mot-step-number{
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    background: transparent !important;
    color: #ffffff !important;

    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    box-shadow: none !important;
}

.mot-step-item.is-active .mot-step-number{
    background: #ffffff !important;
    color: #0b0f4f !important;
    border-color: #ffffff !important;
}

.mot-step-sep{
    width: 12px !important;
    min-width: 12px !important;
    height: 1px !important;
    background: rgba(255,255,255,.34) !important;
    flex: 0 0 auto !important;
}

.mot-step-text{
    font-size: 14px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.mot-onboarding-card{
    width: 100% !important;
    max-width: 760px !important;
    margin-top: 10px !important;
}

/* Mobile */
@media (max-width: 767px){
    .mot-onboarding-progress{
        padding: 10px 12px !important;
        min-height: 46px !important;
        gap: 6px !important;
        border-radius: 16px !important;
    }

    .mot-step-item{
        gap: 6px !important;
        font-size: 12px !important;
    }

    .mot-step-number{
        width: 21px !important;
        height: 21px !important;
        min-width: 21px !important;
        font-size: 10px !important;
    }

    .mot-step-sep{
        width: 8px !important;
        min-width: 8px !important;
    }

    .mot-step-text{
        font-size: 12px !important;
    }
}
.mot-uploaded-file-note{
    margin-top: 6px;
    padding: 14px 16px;
    border: 1px solid #d7e2f0;
    border-radius: 14px;
    background: #f8fbff;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.mot-uploaded-file-note a{
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
}

.mot-uploaded-file-note a:hover{
    text-decoration: underline;
}
.mot-completion-box{
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #dbe7ff;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    text-align: left;
}

.mot-completion-icon{
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
}

.mot-completion-title{
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #162458;
}

.mot-completion-text{
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    max-width: 680px;
}

.mot-completion-actions{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.mot-completion-actions .mot-btn-primary,
.mot-completion-actions .mot-btn-secondary{
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px){
    .mot-completion-box{
        padding: 18px;
        border-radius: 16px;
    }

    .mot-completion-title{
        font-size: 20px;
    }

    .mot-completion-actions{
        flex-direction: column;
        align-items: stretch;
    }

    .mot-completion-actions .mot-btn-primary,
    .mot-completion-actions .mot-btn-secondary{
        width: 100%;
    }
}

/* =========================================
   Tutor Languages – Premium Minimal Final
========================================= */

.mot-lang-select{
    position:relative;
    width:100%;
}

.mot-lang-select .mot-multiselect-toggle{
    width:100%;
    min-height:60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 18px;
    border:1px solid #d9e3f1;
    border-radius:18px;
    background:#ffffff;
    color:#23395d;
    font-size:15px;
    font-weight:500;
    text-align:left;
    cursor:pointer;
    transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
    box-sizing:border-box;
}

.mot-lang-select .mot-multiselect-toggle:hover{
    border-color:#a9bfdf;
    box-shadow:0 8px 20px rgba(25,50,100,.06);
}

.mot-lang-select.is-open .mot-multiselect-toggle{
    border-color:#2f63c7;
    box-shadow:0 0 0 4px rgba(47,99,199,.08);
}

.mot-lang-select .mot-multiselect-text{
    flex:1 1 auto;
    color:#304766;
    line-height:1.5;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.mot-lang-select .mot-multiselect-arrow{
    flex:0 0 auto;
    font-size:12px;
    color:#6c7e9a;
    transition:transform .2s ease;
}

.mot-lang-select.is-open .mot-multiselect-arrow{
    transform:rotate(180deg);
}

.mot-lang-select .mot-multiselect-panel{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    width:100%;
    border:1px solid #dfe7f3;
    border-radius:22px;
    background:#fbfcfe;
    padding:14px;
    box-shadow:0 14px 34px rgba(20,43,92,.08);
    display:none;
    z-index:60;
    box-sizing:border-box;
}

.mot-lang-select.is-open .mot-multiselect-panel{
    display:block;
}

.mot-lang-select .mot-multiselect-search-wrap{
    margin-bottom:12px;
}

.mot-lang-select .mot-multiselect-search{
    width:100%;
    height:48px;
    border:1px solid #d8e2ef;
    border-radius:16px;
    background:#fff;
    padding:0 16px;
    font-size:14px;
    color:#25395d;
    outline:none;
    box-sizing:border-box;
    transition:border-color .2s ease, box-shadow .2s ease;
}

.mot-lang-select .mot-multiselect-search:focus{
    border-color:#7ea4e4;
    box-shadow:0 0 0 4px rgba(63,114,215,.08);
}

.mot-lang-select .mot-multiselect-options{
    max-height:260px;
    overflow-y:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding-right:4px;
}

.mot-lang-select .mot-multiselect-option{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:56px;
    padding:14px 16px;
    border:1px solid #d9e3f1;
    border-radius:16px;
    background:#fff;
    cursor:pointer;
    transition:all .2s ease;
    box-sizing:border-box;
}

.mot-lang-select .mot-multiselect-option:hover{
    border-color:#a9bfdf;
    transform:translateY(-1px);
    box-shadow:0 10px 20px rgba(25,50,100,.06);
}

.mot-lang-select .mot-multiselect-option input[type="checkbox"]{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.mot-lang-select .mot-multiselect-option span{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    font-size:15px;
    font-weight:500;
    color:#23395d;
    line-height:1.4;
}

.mot-lang-select .mot-multiselect-option span::after{
    content:"";
    width:22px;
    height:22px;
    border-radius:999px;
    background:#e9eef7;
    flex:0 0 auto;
    transition:all .2s ease;
}

.mot-lang-select .mot-multiselect-option.is-selected{
    border-color:#2f63c7;
    background:linear-gradient(180deg,#f8fbff 0%,#edf4ff 100%);
    box-shadow:0 10px 20px rgba(47,99,199,.10);
}

.mot-lang-select .mot-multiselect-option.is-selected span::after{
    content:"✓";
    display:flex;
    align-items:center;
    justify-content:center;
    background:#2f63c7;
    color:#fff;
    font-size:12px;
    font-weight:700;
}

.mot-lang-selected-wrap{
    margin-top:14px;
}

.mot-lang-selected-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:10px;
}

.mot-lang-selected-title{
    font-size:14px;
    font-weight:600;
    color:#23395d;
}

.mot-lang-selected-count{
    font-size:13px;
    color:#71819b;
}

.mot-lang-chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.mot-lang-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 13px;
    border-radius:999px;
    background:#eef4ff;
    color:#1f4fa8;
    font-size:13px;
    font-weight:600;
    border:1px solid #d5e2fb;
}

.mot-lang-chip-remove{
    border:none;
    background:transparent;
    color:#1f4fa8;
    cursor:pointer;
    font-size:16px;
    line-height:1;
    padding:0;
}

.mot-lang-select .mot-multiselect-empty{
    padding:14px;
    border:1px dashed #ccd8e8;
    border-radius:14px;
    background:#fff;
    color:#73839d;
    font-size:13px;
}

@media (max-width: 767px){
    .mot-lang-select .mot-multiselect-options{
        grid-template-columns:1fr;
    }

    .mot-lang-select .mot-multiselect-toggle{
        min-height:56px;
        padding:14px 16px;
        border-radius:16px;
    }

    .mot-lang-select .mot-multiselect-panel{
        border-radius:18px;
        padding:12px;
    }

    .mot-lang-select .mot-multiselect-option{
        border-radius:14px;
    }

    .mot-lang-select .mot-multiselect-search{
        border-radius:14px;
    }
}
/* =========================================
   Subject Picker – Final Fix
========================================= */

.mot-subject-parent-count{
    display:none !important;
}

.mot-subject-child-grid[hidden]{
    display:none !important;
}

.mot-subject-empty[hidden]{
    display:none !important;
}

.mot-subject-parent-card{
    appearance:none;
    -webkit-appearance:none;
    outline:none;
    background:#ffffff !important;
    color:#22385b !important;
}

.mot-subject-parent-card:hover,
.mot-subject-parent-card:focus,
.mot-subject-parent-card:active{
    background:#ffffff !important;
    color:#22385b !important;
}

.mot-subject-parent-card.is-active{
    border-color:#2f63c7 !important;
    background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%) !important;
    color:#22385b !important;
}

.mot-subject-parent-card .mot-subject-parent-name{
    color:#22385b !important;
}


/* =========================================
   Tutor Languages – Premium Minimal Final
========================================= */

.mot-lang-select{
    position:relative;
    width:100%;
}

.mot-lang-select .mot-multiselect-toggle{
    width:100%;
    min-height:60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 18px;
    border:1px solid #d9e3f1;
    border-radius:18px;
    background:#ffffff;
    color:#23395d;
    font-size:15px;
    font-weight:500;
    text-align:left;
    cursor:pointer;
    transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
    box-sizing:border-box;
}

.mot-lang-select .mot-multiselect-toggle:hover{
    border-color:#a9bfdf;
    box-shadow:0 8px 20px rgba(25,50,100,.06);
}

.mot-lang-select.is-open .mot-multiselect-toggle{
    border-color:#2f63c7;
    box-shadow:0 0 0 4px rgba(47,99,199,.08);
}

.mot-lang-select .mot-multiselect-text{
    flex:1 1 auto;
    color:#304766;
    line-height:1.5;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.mot-lang-select .mot-multiselect-arrow{
    flex:0 0 auto;
    font-size:12px;
    color:#6c7e9a;
    transition:transform .2s ease;
}

.mot-lang-select.is-open .mot-multiselect-arrow{
    transform:rotate(180deg);
}

.mot-lang-select .mot-multiselect-panel{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    width:100%;
    border:1px solid #dfe7f3;
    border-radius:22px;
    background:#fbfcfe;
    padding:14px;
    box-shadow:0 14px 34px rgba(20,43,92,.08);
    display:none;
    z-index:60;
    box-sizing:border-box;
}

.mot-lang-select.is-open .mot-multiselect-panel{
    display:block;
}

.mot-lang-select .mot-multiselect-search-wrap{
    margin-bottom:12px;
}

.mot-lang-select .mot-multiselect-search{
    width:100%;
    height:48px;
    border:1px solid #d8e2ef;
    border-radius:16px;
    background:#fff;
    padding:0 16px;
    font-size:14px;
    color:#25395d;
    outline:none;
    box-sizing:border-box;
    transition:border-color .2s ease, box-shadow .2s ease;
}

.mot-lang-select .mot-multiselect-search:focus{
    border-color:#7ea4e4;
    box-shadow:0 0 0 4px rgba(63,114,215,.08);
}

.mot-lang-select .mot-multiselect-options{
    max-height:260px;
    overflow-y:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding-right:4px;
}

.mot-lang-select .mot-multiselect-option{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:56px;
    padding:14px 16px;
    border:1px solid #d9e3f1;
    border-radius:16px;
    background:#fff;
    cursor:pointer;
    transition:all .2s ease;
    box-sizing:border-box;
}

.mot-lang-select .mot-multiselect-option:hover{
    border-color:#a9bfdf;
    transform:translateY(-1px);
    box-shadow:0 10px 20px rgba(25,50,100,.06);
}

.mot-lang-select .mot-multiselect-option input[type="checkbox"]{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.mot-lang-select .mot-multiselect-option span{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    font-size:15px;
    font-weight:500;
    color:#23395d;
    line-height:1.4;
}

.mot-lang-select .mot-multiselect-option span::after{
    content:"";
    width:22px;
    height:22px;
    border-radius:999px;
    background:#e9eef7;
    flex:0 0 auto;
    transition:all .2s ease;
}

.mot-lang-select .mot-multiselect-option.is-selected{
    border-color:#2f63c7;
    background:linear-gradient(180deg,#f8fbff 0%,#edf4ff 100%);
    box-shadow:0 10px 20px rgba(47,99,199,.10);
}

.mot-lang-select .mot-multiselect-option.is-selected span::after{
    content:"✓";
    display:flex;
    align-items:center;
    justify-content:center;
    background:#2f63c7;
    color:#fff;
    font-size:12px;
    font-weight:700;
}

.mot-lang-selected-wrap{
    margin-top:14px;
}

.mot-lang-selected-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:10px;
}

.mot-lang-selected-title{
    font-size:14px;
    font-weight:600;
    color:#23395d;
}

.mot-lang-selected-count{
    font-size:13px;
    color:#71819b;
}

.mot-lang-chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.mot-lang-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 13px;
    border-radius:999px;
    background:#eef4ff;
    color:#1f4fa8;
    font-size:13px;
    font-weight:600;
    border:1px solid #d5e2fb;
}

.mot-lang-chip-remove{
    border:none;
    background:transparent;
    color:#1f4fa8;
    cursor:pointer;
    font-size:16px;
    line-height:1;
    padding:0;
}

.mot-lang-select .mot-multiselect-empty{
    padding:14px;
    border:1px dashed #ccd8e8;
    border-radius:14px;
    background:#fff;
    color:#73839d;
    font-size:13px;
}

@media (max-width: 767px){
    .mot-lang-select .mot-multiselect-options{
        grid-template-columns:1fr;
    }

    .mot-lang-select .mot-multiselect-toggle{
        min-height:56px;
        padding:14px 16px;
        border-radius:16px;
    }

    .mot-lang-select .mot-multiselect-panel{
        border-radius:18px;
        padding:12px;
    }

    .mot-lang-select .mot-multiselect-option{
        border-radius:14px;
    }

    .mot-lang-select .mot-multiselect-search{
        border-radius:14px;
    }
}
/* =========================================
   Tutor Languages – FORCE FIX FINAL
========================================= */

/* : dropdown  */
.mot-onboarding-card{
    overflow: visible !important;
}

.mot-field{
    position: relative;
    z-index: 1;
}

.mot-field:has(.mot-lang-select){
    z-index: 30;
}

/* wrapper */
.mot-lang-select{
    position: relative !important;
    width: 100% !important;
    z-index: 40 !important;
}

/*   */
.mot-lang-select .mot-multiselect-toggle{
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 16px 18px !important;
    border: 1px solid #d9e3f1 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #23395d !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-align: left !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.mot-lang-select .mot-multiselect-toggle:hover,
.mot-lang-select .mot-multiselect-toggle:focus,
.mot-lang-select .mot-multiselect-toggle:active{
    background: #ffffff !important;
    color: #23395d !important;
    border-color: #a9bfdf !important;
    box-shadow: 0 8px 20px rgba(25,50,100,.06) !important;
    outline: none !important;
}

.mot-lang-select.is-open .mot-multiselect-toggle{
    background: #ffffff !important;
    color: #23395d !important;
    border-color: #2f63c7 !important;
    box-shadow: 0 0 0 4px rgba(47,99,199,.08) !important;
}

.mot-lang-select .mot-multiselect-text{
    flex: 1 1 auto !important;
    color: #304766 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.mot-lang-select .mot-multiselect-arrow{
    flex: 0 0 auto !important;
    color: #6c7e9a !important;
    font-size: 12px !important;
    transition: transform .2s ease !important;
}

.mot-lang-select.is-open .mot-multiselect-arrow{
    transform: rotate(180deg) !important;
}

/*  dropdown */
.mot-lang-select .mot-multiselect-panel{
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    width: 100% !important;
    display: none !important;
    z-index: 9999 !important;
    border: 1px solid #dfe7f3 !important;
    border-radius: 22px !important;
    background: #fbfcfe !important;
    padding: 14px !important;
    box-shadow: 0 14px 34px rgba(20,43,92,.08) !important;
    box-sizing: border-box !important;
}

.mot-lang-select.is-open .mot-multiselect-panel{
    display: block !important;
}

/*  */
.mot-lang-select .mot-multiselect-search-wrap{
    margin-bottom: 12px !important;
}

.mot-lang-select .mot-multiselect-search{
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #d8e2ef !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: #25395d !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.mot-lang-select .mot-multiselect-search:focus{
    border-color: #7ea4e4 !important;
    box-shadow: 0 0 0 4px rgba(63,114,215,.08) !important;
}

/*  ‌ */
.mot-lang-select .mot-multiselect-options{
    max-height: 260px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding-right: 4px !important;
}

.mot-lang-select .mot-multiselect-option{
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 56px !important;
    padding: 14px 16px !important;
    border: 1px solid #d9e3f1 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all .2s ease !important;
}

.mot-lang-select .mot-multiselect-option:hover{
    border-color: #a9bfdf !important;
    background: #ffffff !important;
    box-shadow: 0 10px 20px rgba(25,50,100,.06) !important;
    transform: translateY(-1px) !important;
}

.mot-lang-select .mot-multiselect-option input[type="checkbox"]{
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.mot-lang-select .mot-multiselect-option span{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    color: #23395d !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.mot-lang-select .mot-multiselect-option span::after{
    content: "" !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    background: #e9eef7 !important;
    flex: 0 0 auto !important;
    transition: all .2s ease !important;
}

.mot-lang-select .mot-multiselect-option.is-selected{
    border-color: #2f63c7 !important;
    background: linear-gradient(180deg,#f8fbff 0%,#edf4ff 100%) !important;
    box-shadow: 0 10px 20px rgba(47,99,199,.10) !important;
}

.mot-lang-select .mot-multiselect-option.is-selected span::after{
    content: "✓" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #2f63c7 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* selected chips */
.mot-lang-selected-wrap{
    margin-top: 14px !important;
}

.mot-lang-selected-head{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 10px !important;
}

.mot-lang-selected-title{
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #23395d !important;
}

.mot-lang-selected-count{
    font-size: 13px !important;
    color: #71819b !important;
}

.mot-lang-chips{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.mot-lang-chip{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 13px !important;
    border-radius: 999px !important;
    background: #eef4ff !important;
    color: #1f4fa8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: 1px solid #d5e2fb !important;
}

.mot-lang-chip-remove{
    border: none !important;
    background: transparent !important;
    color: #1f4fa8 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    line-height: 1 !important;
    padding: 0 !important;
}

/* موبایل */
@media (max-width: 767px){
    .mot-lang-select .mot-multiselect-options{
        grid-template-columns: 1fr !important;
    }

    .mot-lang-select .mot-multiselect-toggle{
        min-height: 56px !important;
        padding: 14px 16px !important;
        border-radius: 16px !important;
    }

    .mot-lang-select .mot-multiselect-panel{
        border-radius: 18px !important;
        padding: 12px !important;
    }

    .mot-lang-select .mot-multiselect-option{
        border-radius: 14px !important;
    }

    .mot-lang-select .mot-multiselect-search{
        border-radius: 14px !important;
    }
}/* End custom CSS */