/*
Theme Name: sensei
Theme URI: https://senseigym.ir
Author: Parisa
Version: 1.0
Text Domain: sensei
*/
/*--------------------------------------------------------------
# FONT
--------------------------------------------------------------*/
/* =========================
   IRANYEKAN FONT
========================= */

@font-face{
  font-family:'IRANYekan';
  src:url('/wp-content/uploads/fonts/IRANYekan.ttf') format('ttf'),
      url('/wp-content/uploads/fonts/IRANYekan.ttf') format('ttf');
  font-weight:normal;
  font-style:normal;
}

/* کل سایت */

*{
  font-family:'IRANYekan', sans-serif;
}
/*--------------------------------------------------------------
# GLOBAL
--------------------------------------------------------------*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'IRANYekan';
    background:#f3f4f6;
    color:#111;
    direction:rtl;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

input,
textarea,
button{
    font-family:'IRANYekan';
}

.sensei-container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/

.sensei-header{
    background:#08121c;
    padding:20px 0;
}

.sensei-header .sensei-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.sensei-logo h2{
    color:#d4af37;
}

.sensei-nav ul{
    list-style:none;
    display:flex;
    gap:20px;
}

.sensei-nav a{
    color:#d4af37;
    transition:0.3s;
}

.sensei-nav a:hover{
    opacity:0.8;
}

/*--------------------------------------------------------------
# MAIN
--------------------------------------------------------------*/

.sensei-main{
    padding:60px 0;
    min-height:70vh;
}

/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/

.sensei-footer{
    background:#08121c;
    padding:30px 0;
    text-align:center;
    color:#fff;
}
html, body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

.sensei-panel {
    flex: 1;
    padding: 60px 0;
    background: #fff;
}

.sensei-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.sensei-footer {
    margin-top: auto;
}
/*--------------------------------------------------------------
# LOGIN / REGISTER / FORMS
--------------------------------------------------------------*/

.sensei-login{
    min-height:80vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 0;
}

.sensei-login-box{
    width:100%;
    max-width:700px;
    background:#f8f9fb;
    padding:40px;
    border-radius:18px;
    border:2px solid #0d1b2a;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    margin:auto;
}

.sensei-login-box h1,
.sensei-login-box h2,
.sensei-login-box h3{
    text-align:center;
    margin-bottom:25px;
    color:#0d1b2a;
}

label{
    display:block;
    margin-bottom:8px;
    margin-top:15px;
    font-weight:bold;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #d1d5db;
    border-radius:10px;
    background:#fff;
    color:#111;
    font-size:14px;
    font-family:'IRANYekan';
}

textarea{
    min-height:120px;
    resize:none;
}

input:focus,
textarea:focus,
select:focus{
    outline:none;
    border-color:#0d1b2a;
}

input[type="checkbox"],
input[type="radio"]{
    width:auto;
    margin-left:8px;
    transform:scale(1.1);
    accent-color:#d4af37;
}

select{
    height:50px;
    cursor:pointer;
}

textarea{
    min-height:120px;
    resize:none;
}

input:focus,
textarea:focus{
    outline:none;
    border-color:#0d1b2a;
}

button{
    display:block;
    margin:25px auto 0;
    min-width:180px;
    padding:14px 30px;
    border:none;
    border-radius:10px;
    background:#d4af37;
    color:#000;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

button:hover{
    background:#c49b1c;
}

.locked-input{
    background:#e5e7eb !important;
    cursor:not-allowed;
}

.sensei-error{
    background:#ff4d4d;
    color:#fff;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
    text-align:center;
}

.sensei-success{
    background:#16a34a;
    color:#fff;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
    text-align:center;
}
.profile-title{
    text-align:center;
    margin-bottom:30px;
}

/*--------------------------------------------------------------
# RESET PASSWORD
--------------------------------------------------------------*/

.sensei-reset-actions{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:20px;
}

.sensei-reset-actions button{
    width:100%;
}

#confirmEmailBtn{
    background:#d4af37;
    color:#000;
}

#resendBtn{
    background:#0d1b2a;
    color:#fff;
}

#resendBtn:disabled{
    opacity:0.5;
    cursor:not-allowed;
}

/*--------------------------------------------------------------
# BMI CARD
--------------------------------------------------------------*/

.parisa-bmi-card{
    background:#0d1b2a;
    color:#fff;
    padding:20px;
    border-radius:14px;
    margin-bottom:20px;
    text-align:center;
}

.bmi-title{
    margin-bottom:10px;
    color:#d4af37;
}

.bmi-value{
    font-size:30px;
    font-weight:bold;
}

/*--------------------------------------------------------------
# HEALTH CHECK
--------------------------------------------------------------*/

.health-check{
    display:flex;
    align-items:flex-start;
    gap:12px;
    line-height:2;
    font-size:14px;
    margin-top:10px;
}

.health-check input{
    width:auto !important;
    margin-top:6px;
}

/*--------------------------------------------------------------
# USER PANEL FIXED VERSION
--------------------------------------------------------------*/

.sensei-panel{
    padding:60px 0;
    width:100%;
    position:relative;
}

.sensei-panel .sensei-container{
    display:flex;
    gap:30px;
    align-items:flex-start;
}

/* SIDEBAR */
.panel-sidebar{
    width:280px;
    min-width:280px;
    background:#f8f9fb;
    padding:25px;
    border-radius:18px;
    border:2px solid #0d1b2a;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

/* USER */
.panel-user{
    text-align:center;
    margin-bottom:30px;
    padding-bottom:20px;
    border-bottom:1px solid #d1d5db;
}


.panel-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #d4af37;
    margin:auto;
    display:block;
    margin-bottom:15px;
}

.panel-avatar.placeholder{
    background:#0d1b2a;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    font-weight:bold;
}

/* SIDEBAR MENU */
.panel-sidebar ul{
    list-style:none;
    padding:0;
    margin:0;
}

.panel-sidebar li{
    margin-bottom:12px;
}

.panel-sidebar a{
    color:#111;
    text-decoration:none;
    transition:0.3s;
}

.panel-sidebar a:hover{
    color:#d4af37;
}

/* CONTENT */
.panel-content{
    width:100%;
    display:flex;
    flex-direction:column;
}

/* BOXES */
.panel-boxes{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.panel-box{
    background:#f8f9fb;
    padding:40px;
    border-radius:18px;
    border:2px solid #0d1b2a;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    text-align:center;
    transition:0.3s;
}

.panel-box:hover{
    transform:translateY(-5px);
}

/*----------------------------------------------
panel-user
------------------------------------------------*/
.sensei-panel{
    padding:60px 0;
    width:100%;
    position:relative;
    background:#fff;
}

/* CONTAINER */
.sensei-panel .sensei-container{
    display:flex;
    gap:30px;
    align-items:flex-start;
    max-width:1200px;
    margin:auto;
}

/* =========================
   SIDEBAR
========================= */

.panel-sidebar{
    width:280px;
    min-width:280px;
    background:#f8f9fb;
    padding:25px;
    border-radius:18px;
    border:2px solid #0d1b2a;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

/* USER BOX */
.panel-user{
    text-align:center;
    margin-bottom:30px;
    padding-bottom:20px;
    border-bottom:1px solid #d1d5db;
}

.panel-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #d4af37;
    margin:auto;
    display:block;
    margin-bottom:15px;
}

.panel-avatar.placeholder{
    background:#0d1b2a;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    font-weight:bold;
}

/* MENU */
.panel-sidebar ul{
    list-style:none;
    padding:0;
    margin:0;
}

.panel-sidebar li{
    margin-bottom:12px;
}

.panel-sidebar a{
    display:block;
    color:#111;
    text-decoration:none;
    padding:10px 12px;
    border-radius:10px;
    transition:0.3s;
    font-weight:500;
}

.panel-sidebar a:hover{
    color:#d4af37;
    background:#fff;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

/* =========================
   CONTENT
========================= */

.panel-content{
    flex:1;
    display:flex;
    flex-direction:column;
    
}

/* GRID BOXES */
.panel-boxes{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

/* SINGLE BOX */
.panel-box{
    background:#f8f9fb;
    padding:30px;
    border-radius:18px;
    border:2px solid #0d1b2a;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    text-align:center;
    transition:0.3s;
}

.panel-box:hover{
    transform:translateY(-6px);
}

/* =========================
   GLOBAL TABLE FIXED STYLE
   ========================= */

table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

/* HEADER */
table th{
    background:linear-gradient(135deg,#0d1b2a,#1b263b);
    color:#fff !important;
    padding:14px;
    text-align:center;
    font-size:14px;
    position:sticky;
    top:0;
    z-index:5;
}

/* CELLS */
table td{
    padding:14px;
    text-align:center;
    border-bottom:1px solid #f1f1f1;
    font-size:14px;
}

/* ROW HOVER */
table tr:hover td{
    background:#f9fbff;
}

/* =========================
   ACTION CELL (IMPORTANT FIX)
   ========================= */

/* هم td.actions و هم حالت‌های وردپرسی */
table td.actions,
td.actions{
    display:flex !important;
    justify-content:center;
    align-items:center;
    gap:8px;
}

/* =========================
   BUTTONS FIX (IMPORTANT)
   ========================= */

/* اگر روی <a> یا <button> باشد */
table td a.btn-view,
table td a.btn-delete,
table td button.btn-view,
table td button.btn-delete{
    display:inline-block !important;
    padding:6px 12px !important;
    border-radius:8px !important;
    font-size:13px !important;
    text-decoration:none !important;
    transition:0.2s !important;
}

/* VIEW */
table td a.btn-view,
table td button.btn-view{
    background:#0d1b2a !important;
    color:#fff !important;
}

table td a.btn-view:hover,
table td button.btn-view:hover{
    background:#1b263b !important;
    transform:translateY(-1px);
}

/* DELETE */
table td a.btn-delete,
table td button.btn-delete{
    background:#ff3b3b !important;
    color:#fff !important;
}

table td a.btn-delete:hover,
table td button.btn-delete:hover{
    background:#e03131 !important;
    transform:translateY(-1px);
}
/* =========================
   FORCE BUTTON STYLE (GLOBAL FIX)
   ========================= */

.panel-content a{
    text-decoration:none;
}

/* VIEW / DETAILS / EDIT */
.panel-content a{
    display:inline-block;
}

.panel-content a[href*="view"],
.panel-content a[href*="جزئیات"],
.panel-content a[href*="مشاهده"],
.panel-content a[href*="edit"],

.panel-content a[href*="post.php"]{
    background:#0d1b2a !important;
    color:#fff !important;
    padding:6px 12px !important;
    border-radius:8px !important;
    font-size:13px !important;
    display:inline-block !important;
    transition:0.2s;
}

/* DELETE */
.panel-content a[href*="delete"],
.panel-content a[href*="حذف"]{
    background:#ff3b3b !important;
    color:#fff !important;
    padding:6px 12px !important;
    border-radius:8px !important;
    font-size:13px !important;
    display:inline-block !important;
}

/* hover */
.panel-content a:hover{
    opacity:0.85;
    transform:translateY(-1px);
}
/* =========================
   PROFILE VIEW BUTTON
   ========================= */

.panel-content a[href*="author_posts"],
.panel-content a[href*="get_author_posts_url"],
.panel-content a[target="_blank"]{
    background:#1b263b !important;
    color:#fff !important;
    padding:6px 12px !important;
    border-radius:8px !important;
    font-size:13px !important;
    display:inline-block !important;
    text-decoration:none !important;
    transition:0.2s;
}

.panel-content a[href*="author_posts"]:hover,
.panel-content a[target="_blank"]:hover{
    background:#0d1b2a !important;
    transform:translateY(-1px);
}

/* =========================
   SUBMIT / SAVE BUTTON (ثبت)
   ========================= */

.panel-content button,
.panel-content input[type="submit"]{
    background:#1b263b !important;
    color:#fff !important;
    border:none !important;
    padding:6px 12px !important;
    border-radius:8px !important;
    font-size:13px !important;
    cursor:pointer;
    transition:0.2s;
}

.panel-content button:hover,
.panel-content input[type="submit"]:hover{
    background:#0d1b2a !important;
    transform:translateY(-1px);
}
/* =========================
   APPROVE BUTTON (NAVY BLUE)
   ========================= */

.btn-approve{
    background:#1b263b;
    color:#fff;
    padding:6px 12px;
    border-radius:8px;
    font-size:13px;
    text-decoration:none;
    display:inline-block;
    transition:0.2s;
}

.btn-approve:hover{
    background:#0d1b2a;
    transform:translateY(-1px);
}
/* MOBILE FIX */
@media(max-width:1000px){

    .sensei-container{
        width:96%;
        max-width:96%;
        padding:0 8px;
    }

    .panel-content{
        width:100%;
    }

}
@media(max-width:1000px){
    .sensei-panel .sensei-container{
        flex-direction:column;
    }

    .panel-boxes{
        grid-template-columns:1fr;
    }

    .panel-sidebar{
        width:100%;
       min-width:0;
    }
}
.panel{
    display:flex;
    gap:20px;
    align-items:flex-start;
}

/* SIDEBAR */
.sidebar{
    width:260px;
    background:linear-gradient(180deg,#0d1b2a,#1b263b);
    color:#fff;
    padding:20px;
    border-radius:16px;
    height:85vh;
    position:sticky;
    top:20px;
}

/* PROFILE CENTER */
.avatar{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 10px;
    display:block;
    border:3px solid #d4af37;
}

.sidebar h4{
    text-align:center;
    margin-bottom:15px;
}

/* MENU */
.sidebar a{
    display:block;
    color:#fff;
    padding:10px;
    margin-bottom:8px;
    background:rgba(255,255,255,.05);
    text-decoration:none;
    border-radius:10px;
    transition:0.3s;
}

.sidebar a:hover{
    background:#d4af37;
    color:#000;
}

/* CONTENT */
.content{
    flex:1;
    background:#f5f6f8;
    padding:25px;
    border-radius:16px;
}

/* WORKOUT CARDS */
.workout-box{
    background:#fff;
    padding:20px;
    border-radius:14px;
    margin-bottom:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
    text-align:center;
}

.workout-title{
    font-weight:bold;
    margin-bottom:10px;
    color:#0d1b2a;
}

/* DOWNLOAD BUTTON */
.download-btn{
    display:inline-block;
    background:#0d1b2a;
    color:#fff;
    padding:12px 18px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
}

.download-btn:hover{
    background:#d4af37;
    color:#000;
}
/*--------------------------------------------------------------
# SCROLL BOX (COMMENTS + ADMIN TABLE)
--------------------------------------------------------------*/

.panel-comments-box,
.wp-admin-box{
    width:100%;
    max-height:550px;
    overflow:auto;
    background:#fff;
    border:1px solid #d1d5db;
    border-radius:12px;
}

/* TABLE */
.wp-admin-box table{
    width:100%;
    border-collapse:collapse;
}

.wp-admin-box th{
    position:sticky;
    top:0;
    background:#f3f4f6;
    z-index:2;
    padding:12px;
}

.wp-admin-box td{
    background:linear-gradient(135deg,#0d1b2a,#1b263b);
    padding:12px;
    border-bottom:1px solid #eee;
    font-size:14px;
}

/* ACTION BUTTONS */
.wp-action{
    padding:6px 10px;
    border-radius:8px;
    font-size:12px;
    text-decoration:none;
}

.wp-edit{ background:#d4af37; color:#000; }
.wp-delete{ background:#ef4444; color:#fff; }
.wp-approve{ background:#22c55e; color:#fff; }

/*--------------------------------------------------------------
# ADMIN TABS
--------------------------------------------------------------*/

.wp-admin-lite{
    width:100%;
}

.wp-admin-tabs{
    display:flex;
    gap:10px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

.wp-admin-tabs a{
    padding:10px 16px;
    background:#0d1b2a;
    color:#fff;
    border-radius:10px;
    text-decoration:none;
}

.wp-admin-tabs a.active{
    background:#d4af37;
    color:#000;
}

/*--------------------------------------------------------------
# GLOBAL FIX (IMPORTANT)
--------------------------------------------------------------*/

body{
    overflow-x:hidden;
}

/*--------------------------------------------------------------
# MOBILE FIX
--------------------------------------------------------------*/

@media(max-width:768px){

    .panel-sidebar{
        width:100% !important;
        min-width:0 !important;
    }

    .panel-content{
        width:100% !important;
        min-width:0 !important;
    }

}

    .panel-user{
        text-align:center;
    }

    .panel-content{
        width:130%;
        min-width:unset !important;
        padding:15px;
        box-sizing:border-box;
    }

    .panel-box{
        width:100%;
        box-sizing:border-box;
    }

 
}
.support-users{

    display:flex;
    flex-direction:column;
    gap:12px;
}

.support-user{

    background:#fff;
    border:1px solid #eee;

    border-radius:14px;

    padding:15px 20px;

    display:flex;

    justify-content:space-between;
    align-items:center;

    transition:.3s;
}

.support-user:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(0,0,0,.08);
}
.chat-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

/* HEADER */
.chat-table th{
    background:linear-gradient(135deg,#0d1b2a,#1b263b);
    color:#fff;
    padding:14px;
    font-size:14px;
    text-align:center;
}

/* CELLS */
.chat-table td{
    padding:14px;
    font-size:14px;
    border-bottom:1px solid #f1f1f1;
    text-align:center;
}

/* hover row */
.chat-table tr:hover td{
    background:#f9fbff;
}

/* ACTIONS */
.chat-table td.actions{
    display:flex;
    justify-content:center;
    gap:8px;
}

/* VIEW BUTTON */
.btn-view{
    background:#0d1b2a;
    color:#fff;
    padding:6px 12px;
    border-radius:8px;
    text-decoration:none;
    font-size:13px;
    transition:0.2s;
}

.btn-view:hover{
    background:#1b263b;
    transform:translateY(-1px);
}

/* DELETE BUTTON */
.btn-delete{
    background:#ff3b3b;
    color:#fff;
    padding:6px 12px;
    border-radius:8px;
    text-decoration:none;
    font-size:13px;
    transition:0.2s;
}

.btn-delete:hover{
    background:#e03131;
    transform:translateY(-1px);
}

/* SUCCESS NOTICE */
.notice-success{
    background:#eaf7ee;
    color:#1b5e20;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;
    border:1px solid #b7e4c7;
}
/*--------------------------------------------------------------
# CHAT FULL WIDTH FIX
--------------------------------------------------------------*/

.panel-content{
    flex:1;
    background:#f5f6f8;
    border-radius:16px;
    padding:25px;
    min-height:85vh;
    overflow:visible;
}
.ticket-chat{
    min-height:400px;
    max-height:75vh;
    overflow:visible;
}
.ticket-chat{
 
    background:#fff;
    border:2px solid #0d1b2a;
    border-radius:20px;
    padding:25px;
    overflow-y:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
      overflow-y:auto;
    overflow-x:hidden;
}

.chat-message{
    display:flex;
    align-items:flex-end;
    gap:12px;
}
.chat-message.user{
    flex-direction:row-reverse;
}

.chat-message.admin{
    justify-content:flex-start;
}

.chat-bubble{
    max-width:75%;
    padding:16px 20px;
    border-radius:18px;
    line-height:2;
    font-size:15px;
    word-break:break-word;
}

.chat-message.user .chat-bubble{
    background:#d4af37;
    color:#000;
    border-bottom-right-radius:5px;
    font-family:'IRANYekan';
}

.chat-message.admin .chat-bubble{
    background:#f3f4f6;
    color:#111;
    border-bottom-left-radius:5px;
    font-family:'IRANYekan';
}

.ticket-form{
    margin-top:20px;
    width:100%;
}

.ticket-form textarea{
    width:100%;
    min-height:140px;
    padding:18px;
    border:1px solid #d1d5db;
    border-radius:16px;
    background:#fff;
    font-family:'IRANYekan';
    resize:none;
}

.ticket-form button{
    margin-top:15px;
    background:#0d1b2a;
    color:#fff;
    border:none;
    padding:14px 35px;
    border-radius:12px;
    font-family:'IRANYekan';
    cursor:pointer;
}

.chat-avatar{
    width:50px;
    height:50px;
    flex-shrink:0;
}

.chat-avatar img{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
}
.ticket-chat{
    position:relative;
    

    background:#fff;
    border:2px solid #0d1b2a;
    border-radius:20px;
    padding:25px;

    min-height:500px;
    max-height:75vh;
}

.ticket-chat::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;

    background-image:url('/wp-content/themes/sensei/assets/images/admin-logo.png');
    background-repeat:repeat;
    background-size:120px;

    opacity:.09;

    transform:rotate(-25deg) scale(1.5);

    z-index:1;

    pointer-events:none;
}

.chat-message{
    position:relative;
    z-index:2;
}
.support-badge{
    display:inline-flex;
    width:18px;
    height:18px;
    border-radius:50%;
    background:red;
    color:#fff;
    font-size:11px;
    align-items:center;
    justify-content:center;
}
.chat-avatar{
    width:42px;
    height:42px;
    flex-shrink:0;
}

.chat-avatar img{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
}

.chat-message{
    gap:12px;
    align-items:flex-end;
}

.chat-message.user{
    flex-direction:row-reverse;
}
/* موبایل */

@media(max-width:768px){

    .chat-bubble{
        max-width:100%;
    }

}


.back-btn{
    background:#d4af37;
    color:#0D1B2A;
    padding:12px 30px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
}

.back-btn:hover{
    opacity:.9;
}
.ticket-actions{
    display:flex;
    gap:10px;
    margin-top:15px;
}

.ticket-actions button,
.ticket-actions .back-btn{
    flex:1;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:0;
    box-sizing:border-box;
}
@media(max-width:1000px){

    .ticket-chat{
        height:65vh;
        padding:12px;
    }

    .chat-message{
        gap:8px;
        align-items:flex-end;
    }

    .chat-avatar{
        width:34px;
        height:34px;
        flex-shrink:0;
    }

    .chat-avatar img{
        width:100%;
        height:100%;
        border-radius:50%;
        object-fit:cover;
    }

    .chat-bubble{
        max-width:85%;
        padding:10px 12px;
        font-size:14px;
        line-height:1.8;
        word-break:break-word;
    }

    .ticket-form textarea{
        height:100px;
        font-size:14px;
    }

    .ticket-actions{
        flex-direction:column;
        gap:10px;
    }

    .ticket-actions button,
    .ticket-actions .back-btn{
        width:100%;
        height:50px;
    }

    .chat-file{
        display:inline-block;
        margin-top:8px;
        font-size:13px;
    }

    h1{
        font-size:22px;
    }
}
/*--------------------------------------------------------------
# WORKOUT BUTTON
--------------------------------------------------------------*/

.workout-btn{
    display:inline-block;
    background:#0d1b2a;
    color:#fff;
    padding:12px 22px;
    border-radius:12px;
    margin-top:10px;
    transition:0.3s;
}

.workout-btn:hover{
    background:#d4af37;
    color:#000;
}
input[type="checkbox"],
input[type="radio"]{
    width:auto;
    margin-left:8px;
    transform:scale(1.1);
}

select{
    height:50px;
}
.health-check{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
    margin-bottom:10px;
}

.health-check label{
    margin:0;
}

.sensei-login-box form{
    display:flex;
    flex-direction:column;
}
.sensei-login-box h1,
.sensei-login-box h2,
.sensei-login-box h3,
.sensei-login-box .title,
.sensei-login-box .form-title{
    width:100% !important;
    display:block !important;
    text-align:center !important;
    margin-right:auto !important;
    margin-left:auto !important;
}
.sensei-login-box{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.sensei-login-box h1,
.sensei-login-box h2,
.sensei-login-box h3{
    width:100%;
    text-align:center !important;
    display:block;
}

.sensei-login-box form{
    width:100%;
}
/*--------------------------------------------------------------
# REGISTER FORM FINAL FIX
--------------------------------------------------------------*/

.sensei-register-wrap{
    width:100%;
    display:flex;
    justify-content:center;
    padding:40px 0;
}

.sensei-register-card{
    width:100%;
    max-width:750px;
    background:#f8f9fb;
    padding:40px;
    border-radius:20px;
    border:2px solid #0d1b2a;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.sensei-register-card h1{
    text-align:center !important;
    color:#0d1b2a;
    margin-bottom:30px;
    font-size:32px;
}

.sensei-register-card form{
    width:100%;
}

.sensei-register-card label{
    display:block;
    margin-bottom:8px;
    margin-top:15px;
    font-weight:bold;
}

.sensei-register-card button{
    display:block;
    margin:30px auto 0;
    background:#d4af37;
    color:#000;
    border:none;
    border-radius:999px;
    padding:14px 40px;
    font-weight:bold;
    cursor:pointer;
}

.sensei-register-card button:hover{
    background:#c49b1c;
}
/*--------------------------------------------------------------
# PAYMENT BOX FIX
--------------------------------------------------------------*/

.sensei-discount{
    width:100%;
    background:#F3F4F6;
    border:2px dashed #d4af37;
    color:#000;
    padding:18px;
    border-radius:16px;
    text-align:center;
    font-weight:bold;
    margin:20px 0;
    line-height:2;
}

.sensei-card-box{
    width:100%;
    background:#f8f9fb;
    border:2px solid #0d1b2a;
    border-radius:18px;
    padding:25px;
    margin-top:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.sensei-card-box strong{
    display:block;
    margin:15px 0;
    font-size:28px;
    color:#d4af37;
    letter-spacing:2px;
}

.sensei-card-box div{
    line-height:2;
    color:#0d1b2a;
}

#cardPaymentDiv{
    margin-top:20px;
}

/* ===============================
   GLOBAL MOBILE FIX
================================ */

html,
body{

    overflow-x:hidden;

    max-width:100%;

}

/* همه المان‌ها */

*{

    box-sizing:border-box;

}

/* عکس‌ها */

img{

    max-width:100%;

    height:auto;

}

/* سکشن‌ها */

section,
div,
header,
footer{

    max-width:100%;

}

/* جلوگیری از اسکرول افقی */

body{

    position:relative;

}
.back-login-btn{
    display:inline-block;
    margin-top:20px;
    background:#111;
    color:#fff;
    padding:12px 24px;
    border-radius:10px;
    text-decoration:none;
    font-size:14px;
    transition:0.3s;
}

.back-login-btn:hover{
    background:#333;
}

.back-login-btn{
    display:block;
    width:100%;
    margin-top:15px;
    text-align:center;
    background:#111;
    color:#fff;
    padding:14px;
    border-radius:12px;
    text-decoration:none;
    font-size:14px;
    transition:0.3s;
    box-sizing:border-box;
}

.back-login-btn:hover{
    background:#333;
}
.sensei-success-box{
    width:100%;
    margin-top:20px;
}

.sensei-success-message{
    background:#16a34a;
    color:#fff;
    padding:14px;
    border-radius:12px;
    text-align:center;
    margin-bottom:15px;
}

.back-login-btn{
    display:block;
    width:100%;
    background:#0d1b2a;
    color:#fff !important;
    padding:14px;
    border-radius:12px;
    text-align:center;
    font-size:14px;
    text-decoration:none;
    transition:0.3s;
}

.back-login-btn:hover{
    background:#000;
}
.hero-slider{
    position:relative;
    width:100%;
    aspect-ratio: 233 / 100; /* نسبت دقیق بنر تو */
    overflow:hidden;
    background:#071426;
}

/* =========================
   SLIDES
========================= */

.slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:0.6s ease;
}

.slide.active{
    opacity:1;
    z-index:2;
}

/* تصویر */
.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

/* تیره کردن تصویر */
.slide::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
    z-index:1;
}

/* =========================
   TOUCH FIX
========================= */

.hero-slider{
    touch-action: pan-y;
    user-select:none;
}

.slide{
    pointer-events:none;
}

.slide.active{
    pointer-events:auto;
}

/* =========================
   BUTTONS (DESKTOP)
========================= */

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:10;

    background:rgba(0,0,0,0.3);
    border:none;
    color:#fff;
    font-size:30px;
    padding:10px 14px;
    cursor:pointer;
    transition:0.3s;
    border-radius:6px;
}

.prev{ left:15px; }
.next{ right:15px; }

.prev:hover,
.next:hover{
    background:rgba(0,0,0,0.6);
}

/* =========================
   MOBILE (FULL RESPONSIVE)
========================= */

@media (max-width:768px){

    .hero-slider{
        width:100%;
        aspect-ratio: 233 / 100; /* مهم: ارتفاع اتومات */
        height:auto;
        background:#071426;
    }

    .slide{
        position:absolute;
        inset:0;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .slide img{
        width:100%;
        height:100%;
        object-fit:contain; /* بدون حذف تصویر */
        background:#071426;
    }

    .slide::after{
        content:"";
        position:absolute;
        inset:0;
        background:rgba(0,0,0,0.35);
        z-index:1;
    }

    /* دکمه‌ها مخفی در موبایل */
    .prev,
    .next{
        display:none !important;
    }
}
/* GRID */

.services-grid{

    max-width:1000px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:14px;

}

/* ===================================
   DESKTOP
=================================== */

.services-grid{
    max-width:1000px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

/* CARD */
.section-title p{
    color:#0b1b2d !important;
}
.service-card{
    background:#071426;
    border-radius:18px;
    padding:22px 14px;

    text-align:center;
    text-decoration:none;

    border:1px solid rgba(255,255,255,0.06);

    display:flex;
    flex-direction:column;
    align-items:center;

    transition:0.3s;
    min-height:160px;
}

/* ICON */
.service-icon{
    width:100%;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:14px;
}

.service-icon img{
    width:50px;
    height:50px;
    object-fit:contain;
}

/* TITLE */
.service-card h3{
    font-size:20px;
    line-height:1.6;
    color:#fff;
}

/* TEXT */
.service-card p{
    display:none;
}


/* ===================================
   MOBILE
=================================== */
@media(max-width:768px){

    .section-title p,
    .section-subtitle{
        color:#0b1b2d !important;  /* سرمه‌ای */
        opacity:1 !important;
    }
}

@media(max-width:768px){

    .services-grid{
        display:flex;
        flex-wrap:nowrap;

        overflow-x:auto;
        gap:10px;

        padding:10px 5px;

        scroll-snap-type:x mandatory;
        -webkit-overflow-scrolling:touch;
    }

    .service-card{
        flex:0 0 82px;
        width:82px;
        height:82px;

        min-height:unset;

        padding:6px;

        border-radius:14px;

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;

        scroll-snap-align:center;
    }

    .service-icon{
        margin-bottom:4px;
        height:auto;
    }

    .service-icon img{
        width:22px;
        height:22px;
    }

    .service-card h3{
        font-size:8px;
        line-height:1.1;
        margin:0;
    }

    .service-card p{
        display:none;
    }

    /* hide scrollbar */
    .services-grid::-webkit-scrollbar{
        display:none;
    }
}
/* ===================================
   GOALS SECTION
=================================== */
.goals-section{
    padding:110px 20px;
    background:#eef1f5;
}

/* ===== DESKTOP GRID ===== */
.goals-grid{
    max-width:1300px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

/* ===== CARD ===== */
.goal-card{
    position:relative;
    height:420px;   /* 👈 مستطیلی استاندارد (نه خیلی بلند) */
    border-radius:28px;
    overflow:hidden;
    text-decoration:none;
}

/* IMAGE */
.goal-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s;
    filter:grayscale(100%);
}

.goal-card:hover img{
    transform:scale(1.08);
    filter:grayscale(0%);
}

/* OVERLAY */
.goal-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,0.82),
        rgba(0,0,0,0.15)
    );

    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:30px;
}

/* TITLE */
.goal-overlay h3{
    color:#fff;
    font-size:28px;
    margin-bottom:10px;
    font-weight:800;
}

/* SUB */
.goal-overlay span{
    color:#c8a96b;
    font-size:14px;
}

/* ===== MOBILE (HIDE SECTION) ===== */
@media(max-width:768px){

    .goals-section{
        display:none !important;
    }

}
/* ===================================
   WHY SECTION
=================================== */

.why-section{

    background:#071426;

    padding:110px 20px;

}

/* CONTAINER */

.why-container{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

/* MINI TITLE */

.mini-title{

    color:#c8a96b;

    font-size:20px;

    letter-spacing:1px;

}

/* TITLE */

.why-content h2{

    color:#fff;

    font-size:52px;

    line-height:1.3;

    margin:20px 0;

}

/* TEXT */

.why-content p{

    color:#cfcfcf;

    line-height:2;

    margin-bottom:35px;

}

/* BUTTON */

.why-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 30px;

    border-radius:14px;

    background:#c8a96b;

    color:#071426;

    text-decoration:none;

    font-weight:700;

    transition:0.3s;

}

.why-btn:hover{

    transform:translateY(-3px);

}

/* STATS */

.why-stats{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

}

/* BOX */

.stat-box{

    background:#0d1f36;

    border-radius:24px;

    padding:45px 25px;

    text-align:center;

    border:1px solid rgba(255,255,255,0.05);

    transition:0.35s;

}

.stat-box:hover{

    transform:translateY(-6px);

    border-color:#c8a96b;

}

/* NUMBER */

.stat-box h3{

    color:#c8a96b;

    font-size:48px;

    margin-bottom:12px;

}

/* TEXT */

.stat-box span{

    color:#fff;

    font-size:15px;

}
@media(max-width:768px){

    .why-section{
        padding:50px 15px;
    }

    .why-container{
        display:flex;
        flex-direction:column;
        gap:20px;
    }

    .why-content{
        text-align:center;
    }

    .mini-title{
        
        font-size:18px;
        display:block;
        margin-bottom:8px;
    }

    .why-content h2{
        color:#DEDFDB;
        font-size:24px;
        line-height:1.5;
        margin:10px 0;
    }

    .why-content p{
        font-size:14px;
        line-height:2;
        margin-bottom:15px;
    }

    .why-btn{
        width:100%;
        max-width:250px;
        margin:auto;
        height:48px;
    }

    /* آمارها زیر متن و دکمه */

    .why-stats{
        width:100%;
        display:grid;
        grid-template-columns:repeat(4,1fr);
        gap:8px;
        margin-top:15px;
    }

    .stat-box{
        padding:12px 5px;
        border-radius:12px;
    }

    .stat-box h3{
        font-size:18px;
        margin-bottom:4px;
    }

    .stat-box span{
        font-size:10px;
        line-height:1.4;
        display:block;
    }

}
/* ===================================
   TESTIMONIAL
=================================== */

.testimonial-section{

    padding:110px 20px;

    background:#eef1f5;

}

.testimonial-slider{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}

/* CARD */

.testimonial-card{

    background:#071426;

    border-radius:24px;

    padding:35px;

    transition:0.35s;

}

.testimonial-card:hover{

    transform:translateY(-6px);

}

/* USER */

.testimonial-user{

    display:flex;

    align-items:center;

    gap:16px;

    margin-bottom:24px;

}

.testimonial-user img{

    width:70px;

    height:70px;

    border-radius:50%;

    object-fit:cover;

}

/* NAME */

.testimonial-user h3{

    color:#fff;

    margin-bottom:6px;

}

.testimonial-user span{

    color:#c8a96b;

    font-size:14px;

}

/* TEXT */

.testimonial-card p{

    color:#d7d7d7;

    line-height:2;

}
@media(max-width:900px){

    .testimonial-slider{

        grid-template-columns:1fr;

    }

}
/* ===================================
   TESTIMONIALS
=================================== */

.testimonial-section{

    padding:110px 20px;

    background:#eef1f5;

    overflow:hidden;

}

.testimonial-slider{

    display:flex;

    gap:24px;

    width:max-content;

    animation:testimonials 35s linear infinite;

}

/* CARD */

.testimonial-card{

    width:380px;

    background:#071426;

    border-radius:24px;

    padding:35px;

    flex-shrink:0;

}

/* USER */

.testimonial-user{

    display:flex;

    align-items:center;

    gap:16px;

    margin-bottom:24px;

}

.testimonial-user img{

    width:72px;

    height:72px;

    border-radius:50%;

    object-fit:cover;

}

/* NAME */

.testimonial-user h3{

    color:#fff;

    margin-bottom:6px;

}

.testimonial-user span{

    color:#c8a96b;

    font-size:14px;

}

/* TEXT */

.testimonial-card p{

    color:#d7d7d7;

    line-height:2;

}

/* AUTO SLIDE */

@keyframes testimonials{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-50%);

    }

}
/* ===================================
   REVIEW FORM
=================================== */

.review-form-section{

    padding:100px 20px;

    background:#EEF1F5;

}

/* BOX */

.review-form-box{

    max-width:720px;

    margin:auto;

    background:#0d1f36;

    border-radius:28px;

    padding:50px;

    border:1px solid rgba(255,255,255,0.05);

}

/* TITLE */

.review-form-box h2{

    color:#fff;

    text-align:center;

    font-size:38px;

    margin-bottom:14px;

}

/* TEXT */

.review-form-box p{

    color:#cfcfcf;

    text-align:center;

    margin-bottom:40px;

}

/* FORM */

.review-form-box form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

/* INPUTS */

.review-form-box input,
.review-form-box textarea{

    width:100%;

    background:#071426;

    border:none;

    border-radius:16px;

    padding:18px;

    color:#fff;

    font-family:inherit;

    font-size:15px;

}

/* TEXTAREA */

.review-form-box textarea{

    min-height:100px;

    resize:none;

}


/* BUTTON */

.review-form-box button{

    height:40px;

    border:none;

    border-radius:16px;

    background:#c8a96b;

    color:#071426;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:0.3s;

}

/* HOVER */

.review-form-box button:hover{

    transform:translateY(-3px);

}
/* ===================================
   REVIEW FORM MOBILE
=================================== */

@media(max-width:768px){

    .review-form-section{
        padding:30px 15px;
    }

    .review-form-box{
        padding:25px 18px;
        border-radius:18px;
    }

    .review-form-box h2{
        font-size:24px;
        margin-bottom:8px;
    }

    .review-form-box p{
        font-size:13px;
        margin-bottom:20px;
        line-height:1.8;
    }

    .review-form-box form{
        gap:10px;
    }

    .review-form-box input,
    .review-form-box textarea{
        padding:12px;
        font-size:14px;
        border-radius:12px;
    }

    .review-form-box textarea{
        min-height:70px;
    }

    .review-form-box button{
        height:46px;
        font-size:14px;
        border-radius:12px;
    }

}
/* ===================================
   REVIEWS SLIDER
=================================== */

.reviews-slider-section{

    padding:120px 20px;

    background:#f4f4f4;

    overflow:hidden;

}

/* TITLE */

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:48px;

    color:#071426;

    margin-bottom:14px;

}

.section-title p{

   color:#0d1b2a;
    font-weight:500;

}

/* SLIDER */

.reviews-slider{

    overflow:hidden;

    position:relative;

}

/* TRACK */

.reviews-track{

    display:flex;

    gap:24px;

    width:max-content;

    animation:reviewsSlider 30s linear infinite;

}

/* CARD */

.review-card{

    width:380px;

    background:
#0D1B2A;

    border-radius:28px;

    padding:34px;

    flex-shrink:0;

    border:1px solid rgba(255,255,255,0.05);

    box-shadow:0 10px 30px rgba(0,0,0,0.08);

}

/* TOP */

.review-top{

    display:flex;

    align-items:center;

    gap:16px;

    margin-bottom:24px;

}

/* AVATAR */

.review-avatar{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#0D1B2A;

    color:#071426;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    font-weight:700;

}

/* NAME */

.review-top h3{

    color:#fff;

    margin-bottom:6px;

}

/* SMALL */

.review-top span{

    color:#c8a96b;

    font-size:14px;

}

/* TEXT */

.review-text{

    color:#ddd;

    line-height:2.1;

    font-size:15px;

}

/* ANIMATION */

@keyframes reviewsSlider{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-50%);

    }

}

/* MOBILE */
/* ===================================
   REVIEWS SLIDER MOBILE OPTIMIZE
=================================== */
@media(max-width:768px){

    .section-title p,
    .section-subtitle{
        color:#0b1b2d !important;  /* سرمه‌ای */
        opacity:1 !important;
    }
}

@media(max-width:768px){

    .reviews-slider-section{
        padding:50px 12px;
    }

    .section-title{
        margin-bottom:25px;
    }

    .section-title h2{
        font-size:28px;
        margin-bottom:8px;
    }

    .section-title p{
        font-size:13px;
        line-height:1.8;
    }

    .reviews-track{
        gap:12px;
    }

    .review-card{
        width:260px;
        padding:18px;
        border-radius:18px;
    }

    .review-top{
        gap:10px;
        margin-bottom:12px;
    }

    .review-avatar{
        width:50px;
        height:50px;
        font-size:20px;
    }

    .review-top h3{
        font-size:15px;
        margin-bottom:2px;
    }

    .review-top span{
        font-size:11px;
    }

    .review-text{
        font-size:13px;
        line-height:1.8;
    }

}
/* ===================================
   COACH SECTION
=================================== */
.coach-section{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    padding:120px 8%;
    background:#071426;
}

/* 👇 عکس همیشه چپ */
.coach-image{
    order:1;
    flex:1;
}

.coach-image img{
    width:100%;
    border-radius:32px;
    display:block;
   
    transition:0.5s;
}

.coach-image img:hover{

}

/* 👇 محتوا همیشه راست */
.coach-content{
    order:2;
    flex:1;
}

/* CONTENT */
.coach-content span{
    color:#c8a96b;
    font-size:15px;
    letter-spacing:2px;
}

.coach-content h2{
    color:#fff;
    font-size:54px;
    line-height:1.4;
    margin:20px 0;
}

.coach-content p{
    color:#cfcfcf;
    line-height:2.2;
    margin-bottom:40px;
}

/* FEATURES */
.coach-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-bottom:40px;
}

.coach-features div{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:18px;
    padding:18px 20px;
    color:#fff;
    font-size:15px;
    transition:0.3s;
}

.coach-features div:hover{
    transform:translateY(-4px);
    border-color:#c8a96b;
}

/* BUTTON */
.coach-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:62px;
    background:#c8a96b;
    color:#071426;
    border-radius:18px;
    text-decoration:none;
    font-weight:700;
    transition:0.3s;
}

.coach-btn:hover{
    transform:translateY(-4px);
}
@media(min-width:769px){

    .coach-section{
        gap:35px;
    }

    .coach-image{
        flex:0 0 40%;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .coach-image img{
        width:70%;
        max-width:420px;
        margin:auto;
    }

    .coach-content{
        flex:0 0 50%;
    }

}
/* ===== MOBILE ===== */
@media(max-width:768px){

    .coach-section{
        flex-direction:row;
        gap:15px;
        padding:35px 15px;
    }

    .coach-image{
        flex:0 0 35%;
    }

    .coach-content{
        flex:1;
    }

    .coach-content span{
        font-size:11px;
    }

    .coach-content h2{
        font-size:20px;
        margin:8px 0;
    }

    .coach-content p{
        font-size:12px;
        line-height:1.6;
        margin-bottom:10px;
    }

    .coach-features{
        grid-template-columns:1fr 1fr;
        gap:6px;
        margin-bottom:10px;
    }

    .coach-features div{
        padding:8px;
        font-size:11px;
        border-radius:10px;
    }

    .coach-btn{
        min-height:42px;
        font-size:12px;
        border-radius:10px;
    }
}
/* 👇 عکس دسکتاپ کوچیک‌تر و وسط */
@media(min-width:769px){

    .coach-image{
        flex:0 0 40%;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .coach-image img{
        width:70%;
        max-width:420px;
        margin:auto;
    }

}

/* ===================================
   STATS SECTION
=================================== */

.stats-section{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

    padding:40px 8%;

    background:#0b1b2d;

}

/* BOX */

.stats-box{

    background:rgba(255,255,255,0.04);

    border:1px solid rgba(255,255,255,0.05);

    border-radius:28px;

    padding:20px 10px;

    text-align:center;

    transition:0.3s;

}

/* HOVER */

.stats-box:hover{

    transform:translateY(-8px);

    border-color:#c8a96b;

}

/* NUMBER */

.stats-box h2{

    color:#c8a96b;

    font-size:58px;

    margin-bottom:14px;

}

/* TEXT */

.stats-box p{

    color:#fff;

    font-size:17px;

}

/* MOBILE */

@media(max-width:900px){

    .stats-section{
        display:grid;
        grid-template-columns:repeat(4,1fr);
        gap:8px;
        padding:20px 10px;
        overflow:hidden;
    }

    .stats-box{
        padding:10px 6px;
        border-radius:18px;
    }

    .stats-box h2{
        font-size:22px;   /* 👈 خیلی فشرده */
        margin-bottom:4px;
    }

    .stats-box p{
        font-size:10px;
        line-height:1.2;
    }
}
/* ===================================
   CTA SECTION
=================================== */

.cta-section{

    position:relative;

    padding:220px 20px;

    background:#071426;

    background-image:url("https://senseigym.ir/wp-content/themes/sensei/assets/images/cta.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

}

/* OVERLAY */

.cta-overlay{

    position:absolute;

    inset:0;

    background:rgba(7,20,38,0.82);

    backdrop-filter:blur(2px);

}

/* CONTENT */

.cta-content{

    position:relative;

    z-index:2;

    max-width:850px;

    margin:auto;

    text-align:center;

}

/* SMALL TEXT */

.cta-content span{

    color:#c8a96b;

    letter-spacing:3px;

    font-size:14px;

}

/* TITLE */

.cta-content h2{

    color:#fff;

    font-size:64px;

    line-height:1.3;

    margin:24px 0;

}

/* TEXT */

.cta-content p{

    color:#d7d7d7;

    font-size:18px;

    line-height:2.1;

    margin-bottom:50px;

}

/* BUTTONS */

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/* PRIMARY */

.cta-primary{

    width:240px;

    height:64px;

    background:#c8a96b;

    color:#071426;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    font-weight:700;

    transition:0.3s;

}

/* SECONDARY */

.cta-secondary{

    width:240px;

    height:64px;

    border:1px solid rgba(255,255,255,0.15);

    color:#fff;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    font-weight:700;

    transition:0.3s;

}

/* HOVER */

.cta-primary:hover,
.cta-secondary:hover{

    transform:translateY(-5px);

}

/* MOBILE */
@media(max-width:768px){

    .cta-section{

        padding:70px 15px;

        background-position:center center;
        background-size:cover;
    }

    .cta-content{
        max-width:100%;
    }

    .cta-content span{
        font-size:11px;
        letter-spacing:1px;
    }

    .cta-content h2{

        font-size:28px;
        line-height:1.5;

        margin:10px 0;
    }

    .cta-content p{

        font-size:14px;
        line-height:1.9;

        margin-bottom:20px;
    }

    .cta-buttons{

        gap:10px;
    }

    .cta-primary,
    .cta-secondary{

        width:100%;
        max-width:260px;

        height:48px;

        border-radius:12px;

        font-size:14px;
    }

}
/* results */
.results-section{
    padding:80px 20px;
    background:#0b0f1a;
    color:#fff;
    text-align:center;
}

.results-header h2{
    font-size:32px;
    margin-bottom:10px;
}

.results-header p{
    opacity:0.7;
    margin-bottom:40px;
}

.results-grid{
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

.result-card{
    background:#121a2a;
    border-radius:16px;
    padding:15px;
    flex: 1 1 280px;
    max-width: 320px;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.img-box{
    position:relative;
    margin-bottom:10px;
}

.img-box img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
}

.img-box span{
    position:absolute;
    top:10px;
    left:10px;
    background:#ff3b3b;
    padding:4px 10px;
    font-size:12px;
    border-radius:8px;
}

.img-box.after span{
    background:#00c853;
}

.info h3{
    margin:10px 0 5px;
}

.info p{
    opacity:0.8;
    font-size:14px;
}

.results-cta{
    margin-top:50px;
}

.btn{
    display:inline-block;
    padding:12px 25px;
    background:#C6A75E;
    color:#000;
    font-weight:bold;
    border-radius:10px;
    text-decoration:none;
    transition:0.3s ease;
}

.btn:hover{
    transform:translateY(-5px);
}

.faq-hero{
  padding:80px 20px;
  text-align:center;
  background:#071426;
  color:#fff;
}

.faq-hero h1{
  font-size:36px;
}

.faq-page{
  padding:60px 20px;
  background:#071426;
}

.faq{
  max-width:800px;
  margin:0 auto;
}

.faq details{
  background:#0d2238;
  margin-bottom:12px;
  padding:18px 20px;
  border-radius:12px;
  cursor:pointer;
  transition:0.3s;
}

.faq details:hover{
  background:#12304d;
}

.faq summary{
  font-weight:bold;
  font-size:16px;
  cursor:pointer;
}

.faq p{
  margin-top:10px;
  opacity:0.8;
  line-height:1.6;
}
@media(max-width:768px){

    .results-grid{

        flex-wrap:nowrap;
        overflow-x:auto;

        justify-content:flex-start;

        scroll-snap-type:x mandatory;
    }

    .result-card{

        min-width:280px;
        flex:0 0 280px;

        scroll-snap-align:center;
    }

}
@media(max-width:768px){

    .results-section{
        padding:40px 10px;
    }

    .results-header h2{
        font-size:24px;
        margin-bottom:5px;
    }

    .results-header p{
        font-size:13px;
        margin-bottom:20px;
    }

    .results-grid{
        flex-wrap:nowrap;
        overflow-x:auto;
        justify-content:flex-start;
        gap:10px;
        scroll-snap-type:x mandatory;
    }

    .results-grid::-webkit-scrollbar{
        display:none;
    }

    .result-card{

        min-width:220px;
        flex:0 0 220px;

        padding:10px;

        border-radius:12px;

        scroll-snap-align:center;
    }

    .img-box{
        margin-bottom:6px;
    }

    .img-box img{
        height:140px;
        border-radius:8px;
    }

    .img-box span{
        font-size:10px;
        padding:3px 8px;
    }

    .info h3{
        font-size:14px;
        margin:5px 0;
    }

    .info p{
        font-size:11px;
        line-height:1.6;
    }

    .results-cta{
        margin-top:20px;
    }

    .btn{
        padding:10px 18px;
        font-size:13px;
    }

}
/* =========================
   PRICING SECTION (LUXURY THEME)
========================= */

.pricing-section{
  padding:80px 20px;
  background:#071426;
  color:#d1d5db;
}

/* TITLE */
.section-title h2{
  font-size:34px;
  color:#d4af37;
  margin-bottom:10px;
}

.section-title p{
  opacity:0.8;
  color:#d1d5db;
}

/* =========================
   PRICING SECTION
========================= */

.pricing-section{
  padding:90px 20px;
  background:#0B0F1A;
  color:#d1d5db;
  direction:rtl;
}

/* TITLE */

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:42px;
  color:#d4af37;
  margin-bottom:10px;
}

.section-title p{
  color:#d1d5db;
  opacity:.8;
  font-size:16px;
}

/* =========================
   CARDS
========================= */

.pricing-cards{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}

/* CARD */

.price-card{
  background:#0b1f33;
  border-radius:28px;
  padding:40px 28px;
  text-align:center;
  position:relative;
  overflow:hidden;
  transition:.35s ease;
  border:1px solid rgba(212,175,55,.15);
}

/* GOLD BORDER HOVER */

.price-card:hover{
  transform:translateY(-10px);
  border-color:#d4af37;
  box-shadow:
  0 0 0 1px rgba(212,175,55,.25),
  0 18px 40px rgba(0,0,0,.35),
  0 0 30px rgba(212,175,55,.12);
}

/* subtle glow */

.price-card::before{
  content:"";
  position:absolute;
  top:-100%;
  left:-100%;
  width:220%;
  height:220%;
  background:linear-gradient(
    45deg,
    transparent,
    rgba(212,175,55,.05),
    transparent
  );
  transform:rotate(25deg);
  transition:.8s;
}

.price-card:hover::before{
  top:-40%;
  left:-40%;
}

/* =========================
   HEADINGS
========================= */

.price-card h3{
  color:#fff;
  font-size:34px;
  margin-bottom:25px;
  font-weight:800;
}

.price{
  color:#d4af37;
  font-size:26px;
  margin-bottom:25px;
  font-weight:bold;
  position:relative;
  padding-bottom:20px;
}

/* gold divider */

.price::after{
  content:"";
  position:absolute;
  bottom:0;
  right:50%;
  transform:translateX(50%);
  width:70%;
  height:1px;
  background:#d4af37;
  opacity:.7;
}

/* =========================
   DESCRIPTION
========================= */

.price-description{
  font-size:15px;
  line-height:2;
  margin-bottom:30px;
  color:#d1d5db;
}

/* =========================
   FEATURES
========================= */

.price-card ul{
  list-style:none;
  padding:0;
  margin:0 0 35px;
}

.price-card ul li{
  margin:14px 0;
  color:#e5e7eb;
  position:relative;
  padding-right:20px;
  line-height:1.8;
}

/* bullet */

.price-card ul li::before{
  content:"";
  position:absolute;
  right:0;
  top:12px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#d4af37;
}

/* =========================
   BUTTON
========================= */

.price-card button{
  width:100%;
  border:none;
  background:#d4af37;
  color:#071426;
  padding:14px 20px;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
  transition:.3s;
  font-size:15px;
}

.price-card button:hover{
  background:#ebcb63;
  transform:translateY(-2px);
}

/* =========================
   FEATURED CARD
========================= */

.price-card.featured{
  border:2px solid #d4af37;
  transform:scale(1.05);
  background:linear-gradient(
    145deg,
    #0b1f33,
    #132b45
  );
}

.buy-btn{
  width:100%;
  display:block;
  text-align:center;
  text-decoration:none;
  padding:16px;
  border-radius:12px;
  background:#c9c9c9;
  color:#071426;
  font-weight:700;
  font-size:16px;
  transition:0.3s;

  position:relative;
  z-index:99;

  pointer-events:auto;
}

.buy-btn:hover{
  background:#d4af37;
}
.card-text{
  line-height:2.4;
  font-size:16px;
  color:#d6d6d6;
  margin:35px 0;
  padding:0 5px;
}
.price-card{
    display:flex;
    flex-direction:column;
}

/* دکمه همیشه پایین بدون کش دادن کارت */
.buy-btn,
.price-card button{
    margin-top:auto;
}
/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

    .pricing-section{
        padding:40px 12px;
    }

    .section-title{
        margin-bottom:25px;
    }

    .section-title h2{
        font-size:28px;
    }

    .section-title p{
        font-size:14px;
    }

    .pricing-cards{
        display:flex;
        overflow-x:auto;
        gap:12px;
        scroll-snap-type:x mandatory;
        padding-bottom:5px;
    }

    .pricing-cards::-webkit-scrollbar{
        display:none;
    }

    .price-card{
        min-width:220px;
        flex:0 0 220px;

        padding:20px 14px;
        border-radius:18px;

        scroll-snap-align:center;
    }

    .price-card.featured{
        transform:none;
    }

    .price-card h3{
        font-size:22px;
        margin-bottom:12px;
    }

    .price{
        font-size:18px;
        margin-bottom:12px;
        padding-bottom:12px;
    }

    .card-text{
        font-size:13px;
        line-height:1.8;
        margin:15px 0;
    }

    .price-card ul{
        margin-bottom:15px;
    }

    .price-card ul li{
        font-size:13px;
        line-height:1.6;
        margin:8px 0;
        padding-right:15px;
    }

    .price-card ul li::before{
        width:6px;
        height:6px;
        top:8px;
    }

    .buy-btn{
        padding:10px;
        font-size:13px;
        border-radius:10px;
    }
}
/* ===================================
   CONTACT SECTION
=================================== */

.contact-section{

    padding:120px 20px;

    background:#071426;

}

.contact-container{

    max-width:750px;

    margin:auto;

}

.contact-form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

/* INPUTS */

.contact-form input,
.contact-form textarea{

    width:100%;

    background:#0B0F1A;

    border:1px solid rgba(255,255,255,0.06);

    border-radius:18px;

    padding:18px;

    color:#fff;

    font-size:15px;

    font-family:'IRANYekan';

    transition:0.3s;

}

.contact-section{

    padding:120px 20px;

    background:linear-gradient(
        180deg,
        #0B0F1A 0%,
        #101827 55%,
        #dfe5ec 100%
    );

}
/* TEXTAREA */

.contact-form textarea{

    min-height:160px;

    resize:none;

}

/* FOCUS */

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:#c8a96b;

    background:#102742;

}

/* PLACEHOLDER */

.contact-form input::placeholder,
.contact-form textarea::placeholder{

    color:#9ca3af;

}

/* BUTTON */

.contact-form button{

    width:100%;

    height:58px;

    border:none;

    border-radius:18px;

    background:#c8a96b;

    color:#071426;

    font-weight:700;

    font-size:16px;

    cursor:pointer;

    transition:0.3s;

}

/* HOVER */

.contact-form button:hover{

    transform:translateY(-4px);

    background:#d6b46f;

}
.contact-section{
    margin-bottom:0 !important;
    padding-bottom:1 !important;
}

.sensei-footer{
    margin-top:0 !important;
}
.contact-section .section-title p{
    color:#d1d5db !important;
}


.contact-popup{
position:fixed;
inset:0;
background:rgba(0,0,0,.7);
display:none;
justify-content:center;
align-items:center;
z-index:999999;
}

.contact-popup.active{
display:flex;
}

.contact-popup-box{
background:#fff;
width:90%;
max-width:450px;
padding:40px;
border-radius:20px;
text-align:center;
}

.contact-popup-box button{
margin-top:20px;
padding:12px 25px;
border:none;
border-radius:10px;
cursor:pointer;
}
@media(max-width:768px){

    .contact-section{
        padding:45px 12px;
    }

    .contact-container{
        max-width:100%;
    }

    .section-title{
        margin-bottom:20px;
    }

    .section-title h2{
        font-size:28px;
        margin-bottom:8px;
    }

    .section-title p{
        font-size:14px;
        line-height:1.7;
    }

    .contact-form{
        gap:10px;
    }

    .contact-form input,
    .contact-form textarea{
        padding:12px 14px;
        border-radius:12px;
        font-size:14px;
    }

    .contact-form textarea{
        min-height:90px;
    }

    .contact-form button{
        height:46px;
        border-radius:12px;
        font-size:14px;
    }

    .contact-popup-box{
        padding:25px 18px;
        border-radius:16px;
    }
}
/* =========================
   SINGLE POST - SENSEI THEME
   Navy + Gold Professional
========================= */

.single-post{
    background:#F5F6F8;
}

/* کانتینر اصلی مقاله */
.single-post .post{
    max-width:1400px;
    margin:0 auto;
    padding:40px 30px;
}

/* عنوان مقاله */
.single-post .post-title{
    font-size:42px;
    line-height:1.5;
    text-align:center;
    color:#0D1B2A;
    margin-bottom:25px;
    font-weight:800;
    position:relative;
}

/* خط طلایی زیر عنوان */
.single-post .post-title::after{
    content:'';
    display:block;
    width:90px;
    height:4px;
    background:#D4AF37;
    margin:15px auto 0;
    border-radius:10px;
}

/* تصویر اصلی مقاله */
.single-post .post-thumb{
    margin-bottom:30px;
}

.single-post .post-thumb img{
    width:100%;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,0.15);
    display:block;
}

/* باکس محتوا */
.single-post .post-content{
    background:#ffffff;
    padding:45px;
    border-radius:20px;
    box-shadow:0 18px 50px rgba(13,27,42,0.12);
    font-size:18px;
    line-height:2.2;
    color:#333;
}

/* تیترهای داخل مقاله */
.single-post .post-content h2,
.single-post .post-content h3{
    color:#0D1B2A;
    margin-top:35px;
    margin-bottom:15px;
    position:relative;
    padding-right:14px;
    font-weight:700;
}

/* خط طلایی کنار تیترها */
.single-post .post-content h2::before{
    content:'';
    position:absolute;
    right:0;
    top:0;
    width:4px;
    height:100%;
    background:#D4AF37;
    border-radius:10px;
}

/* لینک‌ها */
.single-post .post-content a{
    color:#D4AF37;
    font-weight:600;
    text-decoration:none;
}

.single-post .post-content a:hover{
    color:#c49a2e;
    text-decoration:underline;
}

/* تصاویر داخل متن */
.single-post .post-content img{
    max-width:100%;
    height:auto;
    display:block;
    margin:25px auto;
    border-radius:14px;
}

/* لیست‌ها */
.single-post .post-content ul{
    padding-right:20px;
}

.single-post .post-content ul li{
    margin-bottom:10px;
}

/* باکس CTA (اگر داخل مقاله استفاده کنی) */
.single-post .sensei-cta{
    margin-top:40px;
    background:#0D1B2A;
    color:#fff;
    text-align:center;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.single-post .sensei-cta h3{
    color:#D4AF37;
    margin-bottom:15px;
}

.single-post .sensei-cta a{
    display:inline-block;
    margin-top:15px;
    background:#D4AF37;
    color:#0D1B2A;
    padding:12px 25px;
    border-radius:10px;
    font-weight:700;
    text-decoration:none;
    transition:0.3s;
}

.single-post .sensei-cta a:hover{
    background:#c49a2e;
}
/* تداخل*/
.prev,
.next{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    width: auto !important;
    height: auto !important;

    padding: 0 !important;

    color: #cfcfcf;
    font-size: 34px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.prev:hover,
.next:hover{
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;

    color: #c8a96b;
}
