.elementor-561 .elementor-element.elementor-element-a0035dd{--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;}.elementor-561 .elementor-element.elementor-element-2106b0e{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for container, class: .elementor-element-2106b0e *//* =============================
   فرم ورود با شماره موبایل (مدرن و مینیمال)
   فقط فرم‌های شورت‌کد ورود را هدف می‌گیرد
   ============================= */

.phone-login-wrapper{
    max-width: 480px;
    margin: 60px auto;
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 4px;
    box-shadow: 0 22px 50px rgba(0,0,0,0.03);
    border: 2px solid rgba(1,79,157,0.06);
    box-sizing: border-box;
}

/* اگر فرم را داخل یک شورت‌کد ساده گذاشتی، این کلاس را به سکشن بده */
.phone-login-wrapper form{
    margin: 0;
}

.phone-login-wrapper form input[type="text"],
.phone-login-wrapper form input[type="tel"],
.phone-login-wrapper form input[type="password"]{
    width: 100%;
    padding: 13px 14px;
    border-radius: 8px;
    border: 1px solid #e1e5ee;
    margin-bottom: 16px;
    font-size: 14px;
    background: #f9fafc;
    outline: none;
    transition: all .2s ease;
    font-family: inherit;
}

.phone-login-wrapper form input::placeholder{
    color: #9ba3b5;
}

.phone-login-wrapper form input:focus{
    border-color: #014f9d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(1,79,157,0.08);
}

/* دکمه ورود مینیمال */
.phone-login-wrapper form button{
    width: 100%;
    padding: 13px 18px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #014f9d, #0273e8);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
    box-shadow: 0 10px 25px rgba(1,79,157,0.25);
}

.phone-login-wrapper form button:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(1,79,157,0.32);
}

.phone-login-wrapper form button:active{
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(1,79,157,0.22);
}

/* متن خطا یا پیام در صورت استفاده */
.phone-login-message{
    margin-top: 12px;
    font-size: 13px;
    color: #c62828;
}

/* برای موبایل */
@media (max-width: 100%){
    .phone-login-wrapper{
        margin: 40px 16px;
        padding: 20px 20px;
    }
}



/* =============================
   داشبورد کاربر (user_dashboard)
   ============================= */

.user-dashboard{
    max-width: 1100px;
    margin: 40px auto 60px;
    background: #ffffff;
    padding: 28px 30px 34px;
    border-radius: 20px;
    box-shadow: 0 26px 60px rgba(0,0,0,0.06);
    border: 1px solid rgba(1,79,157,0.05);
    font-family: inherit;
    box-sizing: border-box;
}

/* هدر داشبورد: نام + موبایل + خروج */
.user-dashboard-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #014f9d, #012b54);
    border-radius: 16px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Accent زرد در هدر */
.user-dashboard-header::before{
    content: "";
    position: absolute;
    inset-inline-end: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at center, #fbc502 0, rgba(251,197,2,0) 60%);
    opacity: .85;
}

/* لایه محتوا روی گرادینت */
.user-dashboard-header > *{
    position: relative;
    z-index: 1;
}

.user-dashboard-header .user-info h2{
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.user-dashboard-header .user-info p{
    margin: 4px 0 0;
    font-size: 14px;
    opacity: .9;
}

/* دکمه خروج */
.user-dashboard-header .logout-btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #014f9d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(1,79,157,0.08);
    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
    transition: all .18s ease;
}

.user-dashboard-header .logout-btn::before{
    content: "⟵";
    font-size: 14px;
}

.user-dashboard-header .logout-btn:hover{
    background: #fbc502;
    color: #012b54;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}

/* عنوان فایل‌ها */
.user-files-title{
    margin-top: 22px;
    margin-bottom: 14px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #f9fafc;
    border-inline-end: 4px solid #fbc502;
    font-size: 16px;
    color: #014f9d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-files-title::before{
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbc502;
}

/* =============================
   گرید فایل‌ها
   ============================= */

.user-files{
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
    gap: 18px;
}

/* کارت هر فایل */
.file-item{
    background: linear-gradient(145deg,#ffffff,#f7f9fc);
    padding: 18px 18px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 26px rgba(0,0,0,0.05);
    border: 1px solid rgba(1,79,157,0.04);
    transition: all .18s ease;
    position: relative;
    overflow: hidden;
}

.file-item::before{
    content: "";
    position: absolute;
    inset-inline-start: -40px;
    bottom: -40px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle at center, rgba(1,79,157,0.12) 0, rgba(1,79,157,0) 60%);
}

.file-item:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(1,79,157,0.16);
}

/* نام فایل */
.file-item p{
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 500;
    color: #252b3a;
    margin: 6px 0 14px;
    word-break: break-all;
}

/* دکمه دانلود */
.file-item a{
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    padding: 8px 20px;
    border-radius: 999px;
    background: #014f9d;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all .18s ease;
    border: none;
}

.file-item a::before{
    content: "⬇";
    font-size: 13px;
}

.file-item a:hover{
    background: #fbc502;
    color: #012b54;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* =============================
   المان "فایلی وجود ندارد"
   ============================= */

.user-files-empty,
.no-files{
    margin-top: 18px;
    text-align: center;
    padding: 22px 18px;
    background: #fffdf3;
    border-radius: 14px;
    border: 1px dashed rgba(251,197,2,0.7);
    color: #7b6515;
    font-size: 14px;
}

/* =============================
   برای ریسپانسیو
   ============================= */

@media (max-width: 768px){
    .user-dashboard{
        margin: 24px 10px 40px;
        padding: 22px 18px 26px;
        border-radius: 16px;
    }

    .user-dashboard-header{
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px;
    }

    .user-files{
        grid-template-columns: 1fr;
    }
}



/* =============================
   لیست PDF در پروفایل وردپرس (بخش ادمین)
   فقط کمی مینیمال‌تر
   ============================= */

.form-table ul li{
    margin: 6px 0;
    font-size: 13px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #f7f9fc;
}

.form-table ul li a{
    color: #c62828 !important;
    text-decoration: none;
    font-weight: 600;
}

/* دکمه آپلود PDF در پروفایل ادمین */
#upload_pdf_button{
    background: #014f9d !important;
    color: #ffffff !important;
    border: none !important;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(1,79,157,0.25);
    transition: all .18s ease;
}

#upload_pdf_button:hover{
    background: #fbc502 !important;
    color: #012b54 !important;
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}/* End custom CSS */