/* ---------- هدر پنل ---------- */
.tt-dashboard-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    direction: rtl;
    text-align: right;
}

.tt-dashboard-wrapper h2 {
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 800;
    color: #222;
}

.tt-dashboard-wrapper h2 span {
    font-size: 20px;
}

/* ---------- سه باکس ردیف بالا ---------- */
.tt-dashboard-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tt-dashboard-card {
    padding: 20px 22px;
    border-radius: 16px;
    background: #f9f9fb;
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    text-decoration: none !important;
    color: #222;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.25s ease;
}

.tt-dashboard-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
}

.tt-dashboard-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.tt-dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.09);
}

/* فقط باکس بنفش (افزودن نمایشگاه جدید) */
.tt-dashboard-links .tt-dashboard-card:last-child {
    background: #2b184a !important;
    border: none;
    box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}

.tt-dashboard-links .tt-dashboard-card:last-child h3,
.tt-dashboard-links .tt-dashboard-card:last-child p {
    color: #ffffff !important;
}

/* ---------- بخش پایین (دو کارت) ---------- */
.tt-dashboard {
    margin-top: 10px;
}

.tt-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 25px;
}

.tt-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eee;
    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
}

/* موبایل */
@media (max-width: 768px) {
    .tt-dashboard-links,
    .tt-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* دکمه‌های لیست نمایشگاه‌ها */
.tt-exh-actions a {
    padding: 6px 12px;
    margin: 0 4px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
}

.tt-exh-btn-view {
    background: #2196f3;
    color: #fff;
}

.tt-exh-btn-edit-front {
    background: #673ab7;
    color: #fff;
}

.tt-exh-btn-edit {
    background: #ff9800;
    color: #fff;
}

.tt-exh-actions a:hover {
    opacity: .85;
}

/* آیتم‌های شغل/آیکون در داشبورد */
.tt-exh-jobs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    text-align: center;
}

.tt-exh-job-item {
    flex: 1 1 120px;
    padding: 15px 10px;
    border-radius: 12px;
    background: #faf7ff;
}

.tt-exh-job-icon i {
    font-size: 32px;
    margin-bottom: 8px;
    display: inline-block;
    color: #552168; /* بنفش برند */
}

.tt-exh-job-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* هتل‌ها */
.tt-exh-hotels-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 20px;
}

.tt-exh-hotel-card {
    flex: 1 1 220px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
}

.tt-exh-hotel-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.tt-exh-hotel-title {
    font-size: 15px;
    font-weight: 600;
    margin: 12px 10px 8px;
    color: #222;
}

.tt-exh-hotel-link {
    display: inline-block;
    margin-top: 5px;
    padding: 6px 18px;
    border-radius: 999px;
    background: #552168;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.tt-exh-hotel-link:hover {
    opacity: 0.9;
}

/* باکس کلی تگ‌ها */
.tt-exh-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    background: #faf7ff;
    max-height: 220px;
    overflow-y: auto;
}

/* هر تگ به شکل قرص */
.tt-exh-tag-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 4px 10px;
    font-size: 12px;
    color: #444;
    transition: all 0.15s ease;
}

/* خود چک‌باکس را مخفی می‌کنیم */
.tt-exh-tag-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* متن تگ */
.tt-exh-tag-pill span {
    pointer-events: none;
}

/* حالت هاور */
.tt-exh-tag-pill:hover {
    border-color: #b889ff;
    box-shadow: 0 0 0 2px rgba(85,33,104,0.08);
}

/* وقتی چک‌باکس تیک‌خورده، متن داخل قرص بنفش شود */
.tt-exh-tag-pill input[type="checkbox"]:checked + span {
    background: #552168;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
}

/* آکاردئون مشاغل */
.tt-exh-job-icons-wrapper {
    margin-top: 8px;
}

.tt-exh-job-acc {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 6px;
    background: #fafafa;
}

.tt-exh-job-acc > summary {
    cursor: pointer;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    list-style: none;
}

.tt-exh-job-acc[open] > summary {
    background: #f0e6ff;
}

.tt-exh-job-acc-body {
    padding: 8px 10px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid #eee;
}

/* قرص‌های آیکون داخل آکاردئون */
.tt-exh-job-icon-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 4px 10px;
    font-size: 11px;
    color: #444;
    transition: all 0.15s ease;
}

.tt-exh-job-icon-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tt-exh-job-icon-pill i {
    font-size: 15px;
    color: #552168;
}

.tt-exh-job-icon-pill span {
    pointer-events: none;
}

.tt-exh-job-icon-pill:hover {
    border-color: #b889ff;
    box-shadow: 0 0 0 2px rgba(85,33,104,0.08);
}

/* حالت انتخاب‌شده برای آیکون‌های شغل */
.tt-exh-job-icon-pill input[type="radio"]:checked + i {
    color: #fff;
}

.tt-exh-job-icon-pill input[type="radio"]:checked + i + span {
    background: #552168;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
}

.tt-exh-tags-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.tt-exh-tag-filter-btn {
    border: 1px solid #ccc;
    background: #f7f7f7;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
}

.tt-exh-tag-filter-btn.is-active {
    background: #4b0082;
    color: #fff;
    border-color: #4b0082;
}

.tt-exh-industry-select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    font-size: 13px;
    background: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* اگر از این wrap استفاده می‌کنی، بهتر است خودش position:relative داشته باشد */
.tt-exh-industry-select-wrap::after {
    content: "▾";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #9ca3af;
    pointer-events: none;
}

.tt-exh-description {
    font-size: 17px;
    line-height: 1.8;
}

/* فرم ثبت نمایشگاه – حالا نمایش داده شود */
.tt-exh-front-wrapper {
    display: block;  /* قبلاً none بود */
}
