/* ===== پنل اصلی ===== */
.device-wrapper {
    border-radius: 18px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
}

/* ===== سرچ باکس ===== */
#educationPanel .ui-inputtext {
    border-radius: 30px !important;
    padding: 10px 20px !important;
    font-size: 14px;
    border: 1px solid #ddd !important;
    width: 30%;
}

#educationPanel .ui-button {
    border-radius: 30px !important;
}

/* ===== کارت ===== */
.edu-card {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* ===== تصویر ===== */
.edu-image img {
    width: 140px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* ===== محتوا ===== */
.edu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* عنوان */
.edu-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

/* توضیح */
.edu-desc {
    font-size: 14px;
    color: #6c757d;
    margin: 8px 0 15px 0;
}

/* فوتر */
.edu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* قیمت */
.edu-price {
    font-weight: bold;
    font-size: 16px;
    color: #27ae60;
}

/* دکمه خرید */
.buy-btn.ui-button {
    background: linear-gradient(135deg,#667eea,#764ba2) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 6px 20px !important;
    font-size: 13px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.buy-btn.ui-button:hover {
    transform: translateY(-2px);
}

/* ===================== */
/* سرچ مدرن */
/* ===================== */

.edu-search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.edu-search-input {

    border-radius: 40px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    border: 1px solid #ddd !important;
}

.edu-search-btn.ui-button {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg,#667eea,#764ba2) !important;
    border: none !important;
    font-size: 18px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.edu-search-btn.ui-button:hover {
    transform: scale(1.1);
}




/* ===================== */
/* تب های مدرن */
/* ===================== */

/* ===================== */
/* تب خطی حرفه‌ای */
/* ===================== */

/* ===== تب خطی حرفه‌ای و واضح ===== */

.modern-tabs .ui-tabs-nav {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #dcdcdc !important;
    background: #fafafa !important;
    padding: 0;
}

.modern-tabs .ui-tabs-nav li {
    flex: 1;
    text-align: center;
    background: transparent !important;
    border: none !important;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.modern-tabs .ui-tabs-nav li a {
    display: block;
    padding: 18px 0 !important;
    color: #444 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* خط زیر فعال */
.modern-tabs .ui-tabs-nav li.ui-tabs-selected a {
    color: #4facfe !important;
}

.modern-tabs .ui-tabs-nav li.ui-tabs-selected:after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg,#4facfe,#00f2fe);
}

/* هاور */
.modern-tabs .ui-tabs-nav li a:hover {
    background: rgba(79,172,254,0.08) !important;
}

/* ===================== */
/* نمایش قیمت جدید */
/* ===================== */

.price-badge {
    background: linear-gradient(135deg,#00b09b,#96c93d);
    color: white;
    padding: 6px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}


/* ===================== */
/* دکمه خرید گرد */
/* ===================== */

.buy-btn-round.ui-button {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg,#ff512f,#dd2476) !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.buy-btn-round.ui-button:hover {
    transform: scale(1.1);
}

.ui-panel .ui-panel-titlebar{
    border-radius: 15px;
}

/* درست نمایش دادن آیکون‌ها */
.ui-button-icon-only .ui-icon {
    margin: 0 !important;
}

.edu-search-btn .ui-icon,
.buy-btn-round .ui-icon {
    font-size: 18px !important;
    color: white !important;
}

/* ===================== */
/* دیالوگ پرداخت مدرن */
/* ===================== */

/* ===================== */
/* دیالوگ پرداخت بزرگ و حرفه‌ای */
/* ===================== */

.modern-pay-dialog .ui-dialog {
    border-radius: 20px !important;
    overflow: hidden;
}

.modern-pay-dialog .ui-dialog-titlebar {
    background: linear-gradient(135deg,#667eea,#764ba2);
    color: white !important;
    border: none !important;
    font-size: 18px !important;
    padding: 15px 20px !important;
}

.modern-pay-dialog .ui-dialog-content {
    padding: 40px 30px !important;
    text-align: center;
}

/* آیکون */
.pay-icon-wrapper {
    font-size: 60px;
    color: #667eea;
    margin-bottom: 20px;
}

/* عنوان */
.pay-content h4 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* متن توضیح */
.pay-content p {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
}

/* عنوان محصول */
.pay-content h3 {
    font-size: 20px;
    margin: 10px 0;
    color: #2c3e50;
}

/* قیمت */
.pay-price {
    font-size: 28px;
    font-weight: bold;
    margin: 25px 0;
    color: #27ae60;
}

/* دکمه پرداخت */
.pay-confirm-btn.ui-button {
    margin-top: 15px;
    border-radius: 40px !important;
    background: linear-gradient(135deg,#00b09b,#96c93d) !important;
    border: none !important;
    padding: 14px 50px !important;
    font-size: 17px !important;
    transition: all 0.3s ease !important;
}

/* افکت hover */
.pay-confirm-btn.ui-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.ui-tabs .ui-tabs-nav li a{
    float: none !important;
    font-size: large;
}

/* ===================== */
/* هدر اختصاصی پنل آموزش */
/* ===================== */

.custom-edu-panel > .ui-panel-titlebar {
    display: none !important; /* حذف هدر پیش فرض */
}

.edu-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px 18px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(135deg,#667eea,#764ba2);
    color: white;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin-bottom: 12px;
}

/* آیکون */
.edu-panel-header i {
    font-size: 24px;
}

/* فاصله بدنه از هدر */
.custom-edu-panel .ui-panel-content {
    /*padding-top: 25px !important;*/
}

/* ===== Panel ===== */
.custom-edu-panel {
    border-radius: 18px !important;
    /*padding: 25px !important;*/
}

/* ===== Header ===== */
.edu-panel-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.header-icon {
    font-size: 22px;
    margin-left: 8px;
    color: #4f46e5;
}

/* ===== Grid ===== */


.field-block {
    display: flex;
    flex-direction: column;
}

.field-block label {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.full-width {
    grid-column: span 2;
}

/* ===== Inputs ===== */
.ui-selectonemenu {
    height: 38px !important;
    border-radius: 10px !important;
    background: #fff !important;
    border: 1px solid #d1d5db !important;
}

.ui-selectonemenu-label {
    padding-top: 7px !important;
}

.modern-input,
.modern-textarea {
    border-radius: 10px !important;
    border: 1px solid #d1d5db !important;
}



/* ===== Upload ===== */


.upload-card {
    border: 1px dashed #cbd5e1;
    border-radius: 15px;
    padding: 15px;
    background: #f9fafb;
}

.preview-img {
    max-height: 90px;
    max-width: 80px;
    border-radius: 6px;
}


/* ===== Price ===== */
.price-box {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.price-value {
    font-size: 22px;
    color: #16a34a;
    font-weight: bold;
}

/* ===== Submit ===== */
.submit-btn {
    margin-right: auto;
    background: linear-gradient(135deg,#4f46e5,#6366f1);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {


    .full-width {
        grid-column: span 1;
    }
}



.upload-card {
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    padding: 15px;
    background: #f9fafb;
    transition: 0.3s;
}

.upload-card:hover {
    border-color: #6366f1;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.preview-img {
    max-height: 70px;
    max-width: 60px;
    border-radius: 6px;
}

.delete-button {
    color: #ef4444 !important;
    font-weight: bold  !important;
    font-size: 16px !important;
}

/* کوچک کردن selectOneMenu */


.ui-selectonemenu-label {
    line-height: 34px !important;
    font-size: 13px !important;
}

.ui-selectonemenu-panel {
    font-size: 13px;
}

.ui-selectonemenu .ui-selectonemenu-trigger {
    width: 32px !important;
}

/* حذف بک گراند زرد توی آیتم انتخاب شده */
.ui-selectonemenu-panel .ui-state-highlight {
    background: #e5e7eb !important;
    color: #111 !important;
}

.modern-upload .ui-button {
    background: #6366f1 !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.upload-card {
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.modern-pay-btn {
    background: linear-gradient(45deg,#4f46e5,#7c3aed) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 8px 25px !important;
    font-size: 14px !important;
}

.modern-pay-btn:hover {
    transform: scale(1.05);
}

.preview-img {
    border: none !important;
    box-shadow: none !important;
}

/* ===== فرم سه ستونه فشرده ===== */
.modern-form-grid{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:12px;
    margin-top:10px;
}

.field-block label{
    font-size:12px;
    margin-bottom:4px;
    font-weight:600;
}

/* ===== اینپوت ها ===== */
.ui-inputtext,
.ui-selectonemenu{
    height:30px !important;
    font-size:13px !important;
    border-radius:8px !important;
}

.ui-selectonemenu{
    background:#fff !important;
}

.ui-selectonemenu-label{
    padding-top:6px !important;
}

/* ===== شرح درخواست کوچیک ===== */
.modern-textarea{
    height:60px !important;
    resize:none;
    font-size:13px !important;
    border-radius:8px !important;
}

/* ===== آپلود سه تایی ===== */
.upload-grid{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:15px;
    margin-top:20px;
}

.upload-card{
    padding:10px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fafafa;
}

/* دکمه آپلود */
.modern-upload .ui-button{
    background:#0ea5e9 !important;
    border:none !important;
    border-radius:20px !important;
    font-size:12px !important;
    padding:4px 12px !important;
}

/* حذف بوردر عکس */
.preview-img{
    border:none !important;
    box-shadow:none !important;
    max-height:60px;
}

/* ===== قیمت ===== */
.price-box{
    margin-top:20px;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
}

.price-value{
    font-weight:bold;
    color:#16a34a;
    font-size:18px;
}

/* ===== دکمه ثبت ===== */
.modern-pay-btn{
    margin-right:auto;
    background:#16a34a !important;
    border:none !important;
    border-radius:25px !important;
    padding:6px 20px !important;
    font-size:13px !important;
}

.modern-pay-btn:hover{
    background:#15803d !important;
}

/* ===== هدر فشرده ===== */
.edu-panel-header{
    padding:8px 18px 12px;
    font-size:18px;
}

/* ===== Select مدرن واقعی ===== */
.modern-select {
    width: 100% !important;
    border-radius: 25px !important;
    border: 1px solid #d1d5db !important;
    background: #fff !important;
    height: 38px !important;
    overflow: hidden;
}

/* لیبل داخل */
.modern-select .ui-selectonemenu-label {
    padding: 8px 15px !important;
    font-size: 13px !important;
    line-height: 22px !important;
}

/* فلش سمت راست */
.modern-select .ui-selectonemenu-trigger {
    width: 38px !important;
    border-left: none !important;
    background: transparent !important;
}

/* آیکون فلش */
.modern-select .ui-selectonemenu-trigger .ui-icon {
    margin-top: 10px !important;
    right: 10px !important;
}

/* حالت فوکوس */
.modern-select.ui-state-focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* منوی باز شده */
.ui-selectonemenu-panel {
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
}

/* آیتم ها */
.ui-selectonemenu-panel .ui-selectonemenu-item {
    font-size: 13px !important;
    padding: 8px 12px !important;
}

/* حذف بک زرد */
.ui-selectonemenu-panel .ui-state-highlight {
    background: #f3f4f6 !important;
    color: #111 !important;
}

.download-style{
    font-size: 20px !important;
    color: darkgreen !important;
}

/* ===== کل SelectOneMenu ===== */
#educationPanel .ui-selectonemenu {
    width: 90% !important;
    height: 45px !important;
    border-radius: 20px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

/* لیبل داخل */
#educationPanel .ui-selectonemenu-label {
    line-height: 45px !important;
    padding: 0 19px !important;
    font-size: 13px !important;
}

/* دکمه فلش */
#educationPanel .ui-selectonemenu-trigger {
    width: 36px !important;
    border-left: none !important;
    background: transparent !important;
}

/* آیکون فلش */
#educationPanel .ui-selectonemenu-trigger .ui-icon {
    margin-top: 15px !important;
}

/* حالت فوکوس */
#educationPanel .ui-selectonemenu.ui-state-focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.15) !important;
}

/* پنل باز شده */
.ui-selectonemenu-panel {
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
}

/* آیتم‌ها */
.ui-selectonemenu-panel .ui-selectonemenu-item {
    padding: 8px 12px !important;
    font-size: 13px !important;
}

/* حذف رنگ زرد انتخاب */
.ui-selectonemenu-panel .ui-state-highlight {
    background: #f3f4f6 !important;
    color: #111 !important;
}

#educationPanel .ui-selectonemenu,
#educationPanel .ui-selectonemenu .ui-selectonemenu-label,
#educationPanel .ui-selectonemenu .ui-selectonemenu-trigger {
    border-radius: 20px !important;
}

.ui-selectonemenu .ui-selectonemenu-trigger{
    padding: 5px !important;
}

.ui-selectonemenu{
    padding-right: 0 !important;
}

.half-width{
    width: 190%;
}

.modern-save-btn {
    background: linear-gradient(45deg,#ffa500,#ffb74d) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 8px 25px !important;
    font-size: 14px !important;
}

.modern-cancel-btn {
    background: linear-gradient(45deg,indianred,darkred) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 6px 20px !important;
    font-size: 13px !important;
}

.modern-cancel-btn:hover {
    color: white;
    transform: scale(1.05);
}

.modern-pay-btn:hover{
    color: white;
    transform: scale(1.05);
}

.modern-upload .ui-button{
    color: white;
}

.modern-pay-btn{
    color: white !important;
}

.ui-icon-calendar {
    top:5% !important;
    left:8% !important;
}

.cartable-select .ui-selectonemenu-label{
    padding: 14px 13px !important;
}

.cartable-select{
    height: 50px !important;
}

.ui-panel .ui-panel-title{
    margin: .1em 0px .2em 0 !important;
}

.ui-fieldset-legend{
    border-radius: 50% !important;
}

.ui-panel-titlebar-icon{
    margin-top: -2% !important;
}

/* استایل پایه حباب چت */
.chat-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    word-wrap: break-word;

    /* --- تنظیمات عرض --- */
    min-width: 100px;
    max-width: 50%;
    width: auto;

    /* --- تغییر مهم: حذف position relative و اضافه کردن float --- */
    /* این باعث میشه حباب بتونه شناور بشه */
    display: inline-block;
}

/* متن داخل حباب */
.chat-text {
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

/* --- حباب نارنجی (پیام‌های من) --- */
.orange-bubble {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
    color: white;
    border-bottom-left-radius: 4px;
    /* float: left;  <-- اینو اینجا نمی‌ذاریم، در HTML کنترل می‌کنیم */
}

/* --- حباب آبی (پیام‌های طرف مقابل) --- */
.blue-bubble {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-bottom-right-radius: 4px;
    /* float: right; <-- اینو اینجا نمی‌ذاریم، در HTML کنترل می‌کنیم */
}

/* تنظیمات دکمه دانلود */
.chat-bubble .fa-download {
    font-size: 16px;
}

.ui-datatable-reflow .ui-datatable-data td[role="gridcell"]:not(.ui-helper-hidden){
    text-align: center !important;
}

/* =========================
   DataTable Modern Theme
   ========================= */

.ui-datatable {
    background: #fff;
    border: 0;
    border-radius: 18px;
    overflow: initial;
    box-shadow:
    0 8px 24px rgba(15,23,42,.08),
    0 2px 6px rgba(15,23,42,.04);
}

/* Header */
.ui-datatable-header {
    background: #fff !important;
    color: #1e293b;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 20px;
    font-weight: 700;
    padding: 18px !important;
}

/* Column Headers */
.ui-datatable thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-weight: 700;
}

/* Cells */
.ui-datatable tbody td {
    border: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 12px 10px !important;
}

/* Zebra */
.ui-datatable tbody tr:nth-child(even) {
    background: #fcfdff;
}

/* Hover */
.ui-datatable tbody tr:hover {
    background: #f8fbff !important;
}

/* Buttons */
.table-button.ui-button {
    border-radius: 999px !important;
    border: 0 !important;
    background: linear-gradient(
            135deg,
            #0ea5e9,
            #0284c7
    ) !important;

    box-shadow: 0 4px 14px rgba(2,132,199,.25);
}

/* Row Expansion */
.ui-expanded-row-content {
    background: #f8fafc !important;
    border-right: 4px solid #0ea5e9;
}

/* Toggler */
.ui-row-toggler {
    color: #0ea5e9 !important;
    font-size: 18px;
}

.ui-row-toggler:hover {
    transform: scale(1.15);
}

/* =========================
   Mobile
   ========================= */

@media (max-width:768px){

    .ui-row-toggler{
        font-size:20px !important;
    }

    .ui-datatable-reflow .ui-datatable-data td .ui-column-title{
        font-weight:bold;
        color:#0284c7;
        margin-left:10px;
    }

    .ui-expanded-row-content{
        padding:10px !important;
        overflow:visible !important;
    }

}
@media(max-width:768px){

    .ui-datatable-reflow .ui-expanded-row-content td{
        width:100% !important;
    }

    .ui-datatable table{
        table-layout: inherit !important;
    }

}


/* =========================
   Page Header
   ========================= */

/* =========================
   Header Title
   ========================= */

.edu-panel-header {

    position: relative;
    display: flex;
    align-items: center;
    direction: rtl;

    padding: 10px 15px;
}

/* آیکون عنوان */
.edu-panel-header > i {

    font-size: 26px;
    margin-left: 10px;

    color: #fff;

    text-shadow:
    0 2px 8px rgba(14,165,233,.25);
}

/* متن عنوان */
.edu-panel-header > span {

    font-size: 24px;
    font-weight: 800;

    color: #fff;

    letter-spacing: -.3px;

    position: relative;
}

/* خط زیر عنوان */
.edu-panel-header > span:after {

    content: '';

    position: absolute;

    right: 0;
    bottom: -4px;

    width: 60%;
    height: 3px;

    border-radius: 999px;

    background: linear-gradient(
            90deg,
            #fff,
            transparent
    );
}

/* =========================
   Home Button
   ========================= */

.edu-home-btn {

    position: absolute !important;

    left: 12px;
    top: 50%;

    transform: translateY(-50%);

    transition: all .25s ease;
}

/* آیکون خانه */
.edu-home-btn img {

    width: 50px !important;
    height: auto;

    transition: all .25s ease;
}

/* Hover */
.edu-home-btn:hover {

    transform:
    translateY(-50%)
    scale(1.01);
}

.edu-home-btn:hover img {

    filter:
    drop-shadow(
            0 6px 12px rgba(14,165,233,.35)
    );

    transform:
    rotate(-8deg)
    scale(1.08);
}

/* Click Effect */
.edu-home-btn:active {

    transform:
    translateY(-50%)
    scale(.95);
}

/* =========================
   Mobile
   ========================= */

@media (max-width:768px){

    .edu-panel-header > span{

        font-size:14px;
    }

    .edu-panel-header > i{

        font-size:20px;
    }

    .edu-home-btn img{

        width:42px !important;
    }

    .edu-panel-header > i{
        margin-left: -1% !important;
    }
}

.edu-home-btn {

    background: rgba(255,255,255,.75);

    border-radius: 50%;

    padding: 6px;

    backdrop-filter: blur(6px);

    box-shadow:
    0 4px 12px rgba(0,0,0,.08);
}

.image-download-wrapper{
    position:relative;
    display:inline-block;
    overflow:hidden;
    border-radius:14px;
    box-shadow:0 4px 15px rgba(0,0,0,.12);
}

.order-image{
    width:50px;
    height:50px;
    object-fit:cover;
    display:block;
    border-radius:14px;
}

/* لایه تار روی عکس */
.download-overlay{
    position:absolute;
    inset:0;

    display:flex !important;
    align-items:center;
    justify-content:center;

    background:rgba(0,0,0,.55);

    color:#fff !important;
    font-size:32px;

    opacity:0;
    transition:.25s;
    text-decoration:none !important;
}

.image-download-wrapper:hover .download-overlay{
    opacity:1;
}

/* حذف */
.delete-overlay{
    position:absolute;
    top:8px;
    left:8px;

    width:30px;
    height:30px;

    display:flex !important;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#e74c3c;
    color:#fff !important;

    text-decoration:none !important;

    opacity:0;
    transition:.25s;

    box-shadow:0 2px 8px rgba(0,0,0,.2);
}

.image-download-wrapper:hover .delete-overlay{
    opacity:1;
}

.delete-overlay:hover{
    transform:scale(1.1);
    background:#c0392b;
}

.orders-footer{

    width:100%;

    background:white;

    border-radius:14px;

    overflow:hidden;

    box-shadow:
    0 4px 15px rgba(0,0,0,.05);
}

.orders-footer td{

    padding:14px 18px !important;
    border:none !important;
}

.orders-footer tr{

    border-bottom:1px solid #eef2f7;
}

.orders-footer tr:last-child{

    border-bottom:none;
}

.orders-footer tr:nth-child(3){

    background:#eff8ff;

    font-size:16px;

    font-weight:800;
}

.orders-footer tr:nth-child(3) td{

    color:#0284c7;
}

/* ردیف اول فوتر */
.orders-footer tr:nth-child(1),
.orders-footer tr:nth-child(1) td,
.orders-footer tr:nth-child(1) span{

    color:#334155 !important;
}

/* ردیف دوم فوتر */
.orders-footer tr:nth-child(2),
.orders-footer tr:nth-child(2) td,
.orders-footer tr:nth-child(2) span{

    color:#334155 !important;
}

/* ردیف سوم فوتر */
.orders-footer tr:nth-child(3),
.orders-footer tr:nth-child(3) td,
.orders-footer tr:nth-child(3) span{

    color:#334155 !important;
}

/* ردیف چهارم فوتر */
.orders-footer tr:nth-child(4),
.orders-footer tr:nth-child(4) td,
.orders-footer tr:nth-child(4) span{

    color:#334155 !important;
}

.document-actions-panel {
    border: none !important;
    background: transparent !important;
}

.document-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}

.action-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    transition: all .25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.action-btn i {
    font-size: 15px;
}

.download-btn {
    background: #28a745;
}

.download-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.delete-btn {
    background: #dc3545;
}

.delete-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* ===== CARD ===== */
.exhibition-card {
    min-width: 280px;
    display: flex;
    gap: 10px;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.exhibition-card:hover {
    border-color: #4facfe;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* ===== IMAGE ===== */
.exhibition-img {
    width: 85px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

/* ===== TEXT ===== */
.exhibition-info {
    font-size: 13px;
    color: #1f2937 !important;
}

.exhibition-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    color: #1f2937 !important;
}

.exhibition-date,
.exhibition-time,
.exhibition-address {
    font-size: 12px;
    margin-bottom: 3px;
}

/* کوتاه کردن آدرس */
.exhibition-address {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    cursor: pointer;
}



