/**
 * ویجت حساب کاربری — استخراج‌شده از ست‌مارت (کلاس‌ها به paezan- تغییر یافته‌اند).
 */
/* ============================================
   استایل‌های ویجت فرم ورود (لاگین)
   ============================================ */

.paezan-login-form-widget,
.paezan-login-form-widget *:not(i):not(svg):not(path):not(g),
.paezan-login-popup-overlay,
.paezan-login-popup-overlay *:not(i):not(svg):not(path):not(g) {
    font-family: YekanBakh, Tahoma, sans-serif;
}

.paezan-login-form-widget {
    direction: rtl;
    padding: 24px;
    background-color: #f5f5f5;
    border-radius: 24px;
    max-width: 440px;
    margin: 0 auto;
}

.paezan-login-form-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 24px 28px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* بخش بالای فرم: کارت سفید با گوشه‌های گرد بالا، لبه پایین صاف و سایه نرم (مطابق تصویر) */
.paezan-login-form-header-wrap {
    background-color: #ffffff;
    margin: -24px -28px 0 -28px;
    padding: 24px 28px 26px;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.paezan-login-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 0;
}

.paezan-login-form-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #6F52ED;
    flex-shrink: 0;
}

.paezan-login-form-header-icon svg {
    width: 22px;
    height: 22px;
}

.paezan-login-form-header-icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.paezan-login-form-header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.paezan-login-form-header-title {
    font-size: 20px;
    font-weight: 700;
    color: #6F52ED;
    line-height: 1.2;
}

.paezan-login-form-header-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #A99AED;
    line-height: 1.3;
}

.paezan-login-form-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 16px 0;
}

.paezan-login-form-separator {
    height: 0;
    border: none;
    border-top: 1px dashed #e0e0e0;
    margin: 0 0 20px 0;
}

.paezan-login-form-label {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #777777;
    margin-bottom: 10px;
}

.paezan-login-form-input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    font-size: 16px;
    color: #333333;
    border: 2px solid transparent;
    outline: none;
    background-color: #eeeeee;
    border-radius: 16px;
    margin-bottom: 20px;
    text-align: right;
    direction: rtl;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.paezan-login-form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

.paezan-login-form-input::placeholder {
    color: #aaaaaa;
    text-align: left;
}

.paezan-login-form-submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #6F52ED;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.paezan-login-form-submit:hover {
    background-color: #5a3fd6;
}

.paezan-login-form-submit:not(:disabled) {
    background-color: #2563eb;
}

.paezan-login-form-submit:not(:disabled):hover {
    background-color: #1d4ed8;
}

.paezan-login-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.paezan-login-form-footer-text {
    margin: 16px 0 0 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #777;
    text-align: center;
}

.paezan-login-form-register-link {
    margin: 10px 0 0 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.paezan-login-form-register-link a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}

.paezan-login-form-register-link a:hover {
    text-decoration: underline;
}

/* مرحله ۲ فرم ورود: نمایش شماره + کد OTP + تایمر + تایید کد */
.paezan-login-form-step2 {
    padding-top: 8px;
}

.paezan-login-form-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0 0 16px 0;
    border: none;
    border-radius: 10px;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.paezan-login-form-back:hover {
    background-color: #e5e5e5;
}

.paezan-login-form-back svg {
    width: 20px;
    height: 20px;
}

.paezan-login-form-phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
    background-color: #eeeeee;
    border-radius: 16px;
    direction: rtl;
}

.paezan-login-form-phone-display {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.paezan-login-form-edit-phone {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

.paezan-login-form-edit-phone:hover {
    text-decoration: underline;
}

.paezan-login-form-phone-row .paezan-login-form-edit-phone {
    border-right: 1px solid #ccc;
    padding-right: 12px;
}

.paezan-login-form-otp-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    direction: rtl;
}

.paezan-login-form-otp-input {
    flex: 1;
    box-sizing: border-box;
    padding: 16px 20px;
    font-size: 16px;
    color: #333;
    border: 2px solid transparent;
    outline: none;
    background-color: #eeeeee;
    border-radius: 16px;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.paezan-login-form-otp-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

.paezan-login-form-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 10px 14px;
    background-color: #eeeeee;
    border-radius: 16px;
    gap: 4px;
}

.paezan-login-form-timer-icon {
    display: flex;
    color: #666;
}

.paezan-login-form-timer-icon svg {
    width: 16px;
    height: 16px;
}

.paezan-login-form-timer-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.paezan-login-form-confirm-code {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: #2563eb;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.paezan-login-form-confirm-code:hover {
    background-color: #1d4ed8;
}

.paezan-login-popup-overlay.paezan-login-popup-on-body {
    z-index: 2147483646;
}

body.paezan-login-popup-body-open {
    overflow: hidden;
}

/* پاپ‌آپ پیام فرم ورود (جایگزین alert) */
.paezan-login-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.paezan-login-popup-overlay.paezan-login-popup-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.paezan-login-popup-box {
    width: 100%;
    max-width: 340px;
    padding: 28px 24px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    direction: rtl;
    transform: scale(0.9);
    transition: transform 0.25s ease;
}

.paezan-login-popup-overlay.paezan-login-popup-open .paezan-login-popup-box {
    transform: scale(1);
}

.paezan-login-popup-icon {
    color: #ef4444;
    margin-bottom: 16px;
}

.paezan-login-popup-icon svg {
    width: 48px;
    height: 48px;
}

.paezan-login-popup-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.paezan-login-popup-message {
    margin: 0 0 24px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

.paezan-login-popup-ok {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: #2563eb;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.paezan-login-popup-ok:hover {
    background-color: #1d4ed8;
}

/* حالت مهمان: فرم ورود در وسط صفحه، بدون پس‌زمینه دور فرم، هدر و فوتر مخفی */
.paezan-guest-login-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
}

.paezan-guest-login-wrapper .paezan-login-form-widget {
    background: transparent;
    padding: 0;
    border-radius: 0;
    max-width: 440px;
}

/* مخفی کردن هدر و فوتر سایت وقتی فقط فرم ورود نمایش داده می‌شود */
body.paezan-guest-login-page .site-header,
body.paezan-guest-login-page #masthead,
body.paezan-guest-login-page header:not(.elementor-element),
body.paezan-guest-login-page .site-footer,
body.paezan-guest-login-page #colophon,
body.paezan-guest-login-page footer {
    display: none !important;
}

/* ============================================
   Account Dashboard Widget — RTL, راست‌چین (مطابق نسخه مرجع)
   منوی عمودی سمت راست، محتوای وسط راست‌چین
   ============================================ */

.paezan-account-dashboard {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.paezan-account-wrapper {
    display: flex;
    gap: 30px;
    direction: rtl;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Sidebar — left, blue #2F53FF */
.paezan-account-sidebar {
    width: 280px;
    flex-shrink: 0;
    background-color: #2F53FF;
    border: none;
    border-radius: 16px;
    padding: 24px 20px;
    color: #fff;
}

.paezan-account-sidebar-profile {
    text-align: center;
    margin-bottom: 20px;
}

.paezan-account-sidebar-avatar {
    margin-bottom: 12px;
}

.paezan-account-sidebar-avatar img,
.paezan-account-sidebar-avatar .paezan-account-sidebar-avatar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    border: 3px solid rgba(255,255,255,0.4);
}

.paezan-account-sidebar-name {
    display: inline-block;
    padding: 10px 18px;
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.paezan-account-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.paezan-account-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.paezan-account-menu-item {
    margin-bottom: 6px;
}

.paezan-account-menu-item:last-child {
    margin-bottom: 0;
}

.paezan-account-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.paezan-account-menu-item:not(.active) .paezan-account-menu-link,
.paezan-account-menu-item:not(.active) .paezan-account-menu-label {
    color: #ffffff;
}

.paezan-account-menu-link:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
}

.paezan-account-menu-link:hover .paezan-account-menu-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.paezan-account-menu-item.active .paezan-account-menu-link {
    background-color: #ffffff;
    color: #111827;
}

.paezan-account-menu-item.active .paezan-account-menu-icon {
    color: #111827;
}

.paezan-account-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 10px;
    transition: background-color 0.15s ease;
}

.paezan-account-menu-item.active .paezan-account-menu-icon {
    background-color: rgba(47, 83, 255, 0.1);
    color: #111827;
}

.paezan-account-menu-icon i,
.paezan-account-menu-icon svg {
    font-size: inherit;
    width: 1em;
    height: 1em;
}

.paezan-account-menu-label {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.paezan-account-content-tab {
    display: none;
}

.paezan-account-content-tab.active {
    display: block;
}

.paezan-account-content {
    flex: 1;
    min-width: 0;
    direction: rtl;
    text-align: right;
}

.paezan-account-profile-section {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.paezan-account-profile-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.paezan-account-profile-avatar {
    flex-shrink: 0;
}

.paezan-account-profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.paezan-account-profile-details {
    flex: 1;
    text-align: right;
}

.paezan-account-profile-name {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.paezan-account-profile-phone {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.paezan-account-edit-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3b82f6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.paezan-account-edit-btn:hover {
    background-color: #2563eb;
    color: #ffffff;
}

/* کارت‌های آمار — دو ستون (تیکت، سفارش) */
.paezan-account-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 360px;
    margin-inline-start: auto;
    margin-inline-end: 0;
    box-sizing: border-box;
}

.paezan-account-stat-card {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 10px 12px;
    position: relative;
    min-height: 58px;
    min-width: 98px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.paezan-account-stat-value-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.paezan-account-stat-card .paezan-account-stat-value {
    font-size: 15px;
    font-weight: 700;
    color: #ea580c;
    line-height: 1.2;
}

.paezan-account-stat-card .paezan-account-stat-label {
    margin-top: auto;
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
    flex-shrink: 0;
}

.paezan-account-content-area {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    min-height: 400px;
}

.paezan-account-empty-content {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 16px;
}

/* محتوای پیش‌فرض تب حساب کاربری — راست‌چین */
.paezan-dashboard-default {
    padding: 0;
    direction: rtl;
    text-align: right;
}

.paezan-dashboard-info {
    margin-bottom: 28px;
}

.paezan-dashboard-info-box {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.paezan-dashboard-info-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    font-size: 15px;
}

.paezan-dashboard-info-line .paezan-dashboard-info-item:first-child {
    text-align: right;
}

.paezan-dashboard-info-line .paezan-dashboard-info-item:last-child {
    text-align: left;
}

.paezan-dashboard-info-item {
    color: #374151;
}

.paezan-dashboard-info-sep {
    height: 0;
    border-top: 1px solid #e5e7eb;
    margin: 14px 0;
}

.paezan-dashboard-edit-wrap {
    margin: 0;
    text-align: center;
}

.paezan-dashboard-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.paezan-dashboard-edit-btn:hover {
    background-color: #e5e7eb;
    color: #111827;
}

.paezan-dashboard-edit-icon {
    display: inline-flex;
}

.paezan-dashboard-edit-icon svg {
    display: block;
}

.paezan-dashboard-orders-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    text-align: right;
}

.paezan-dashboard-orders-table-wrap {
    overflow-x: auto;
}

.paezan-dashboard-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.paezan-dashboard-orders-table th,
.paezan-dashboard-orders-table td {
    padding: 12px 14px;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
}

.paezan-dashboard-orders-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.paezan-dashboard-orders-table td a {
    color: #FF8C00;
    text-decoration: none;
}

.paezan-dashboard-orders-table td a:hover {
    text-decoration: underline;
}

.paezan-dashboard-order-view-btn,
.paezan-dashboard-default .paezan-dashboard-orders-table .paezan-dashboard-order-view-btn,
.paezan-dashboard-default button.paezan-orders-toggle-detail {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px !important;
    background-color: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #374151 !important;
    text-decoration: none !important;
    white-space: nowrap;
    font-family: inherit;
}

.paezan-dashboard-order-view-btn:hover,
.paezan-dashboard-default .paezan-dashboard-orders-table .paezan-dashboard-order-view-btn:hover {
    background-color: #e5e7eb !important;
    color: #111827 !important;
    text-decoration: none !important;
    border-color: #e5e7eb !important;
}

.paezan-dashboard-default .paezan-dashboard-detail-row[hidden] {
    display: none !important;
}

.paezan-dashboard-default .paezan-dashboard-detail-row .paezan-orders-detail-cell {
    background-color: #f9fafb;
    padding: 20px 24px !important;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    text-align: right;
}

.paezan-dashboard-orders-empty {
    color: #9ca3af;
    text-align: center;
    padding: 24px;
}

/* تب سفارش های من — فیلتر وضعیت و جدول */
.paezan-my-orders {
    width: 100%;
}

.paezan-my-orders-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 20px;
}

.paezan-order-filter-link {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
}

.paezan-order-filter-link:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.paezan-order-filter-link.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.paezan-order-filter-count {
    font-size: 12px;
    opacity: 0.9;
}

.paezan-order-filter-link.active .paezan-order-filter-count {
    opacity: 1;
}

.paezan-my-orders-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.paezan-my-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.paezan-my-orders-table th,
.paezan-my-orders-table td {
    padding: 12px 14px;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.paezan-my-orders-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.paezan-my-orders-table tbody tr:last-child td {
    border-bottom: none;
}

.paezan-my-orders-num {
    color: #FF8C00;
    font-weight: 500;
}

.paezan-orders-toggle-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    font-family: inherit;
}

.paezan-orders-toggle-detail:hover {
    background-color: #e5e7eb;
}

.paezan-orders-toggle-arrow {
    display: inline-flex;
    align-items: center;
    font-size: var(--paezan-view-btn-icon-size, 1em);
}

.paezan-my-orders .paezan-orders-toggle-detail .paezan-orders-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--paezan-view-btn-icon-size, 1em);
    height: var(--paezan-view-btn-icon-size, 1em);
    flex-shrink: 0;
}

.paezan-my-orders .paezan-orders-toggle-detail .paezan-orders-toggle-icon svg,
.paezan-my-orders .paezan-orders-toggle-detail .paezan-orders-toggle-icon-svg svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.paezan-my-orders .paezan-orders-toggle-detail .paezan-orders-toggle-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.paezan-my-orders .paezan-orders-toggle-detail .paezan-orders-toggle-icon i {
    font-size: var(--paezan-view-btn-icon-size, 1em);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.paezan-orders-detail-row[hidden] {
    display: none !important;
}

.paezan-orders-detail-cell {
    background-color: #f9fafb;
    padding: 20px 24px !important;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    text-align: right;
}

.paezan-order-detail-inner {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}

.paezan-order-detail-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.paezan-order-detail-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 160px;
}

.paezan-order-invoice-btn {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    color: #374151;
    cursor: pointer;
}

.paezan-order-invoice-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.paezan-order-detail-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
}

.paezan-order-detail-section-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.paezan-order-detail-products .paezan-order-detail-product {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.paezan-order-detail-products .paezan-order-detail-product:last-child {
    border-bottom: none;
}

.paezan-order-detail-product-name {
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.paezan-order-detail-product-meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.paezan-order-detail-product-meta-item {
    display: inline-block;
    margin-left: 12px;
}

.paezan-order-detail-product-meta-item:first-child {
    margin-left: 0;
}

.paezan-order-detail-product-meta-bullet {
    margin-left: 4px;
    margin-right: 4px;
    color: #6b7280;
}

.paezan-order-detail-product-total {
    font-weight: 500;
    color: #111827;
}

.paezan-order-detail-summary .paezan-order-detail-summary-line {
    padding: 6px 0;
    font-size: 14px;
}

.paezan-order-detail-summary .paezan-order-detail-final {
    font-weight: 600;
    font-size: 15px;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid #e5e7eb;
}

.paezan-order-detail-label {
    color: #6b7280;
    margin-left: 8px;
}

.paezan-order-detail-value {
    color: #111827;
}

.paezan-order-detail-billing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.paezan-order-detail-billing-item {
    font-size: 14px;
}

.paezan-order-detail-billing-item.paezan-order-detail-billing-address {
    grid-column: 1 / -1;
}

.paezan-my-orders-empty {
    color: #9ca3af;
    text-align: center;
    padding: 24px;
}

/* فرم ویرایش پروفایل (تب تنظیمات پروفایل) */
.paezan-profile-edit {
    padding: 0;
}

.paezan-profile-edit-notice-success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.paezan-profile-edit-notice-error {
    background-color: #fee2e2;
    border: 1px solid #f87171;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* دفترچهٔ آدرس‌ها (تب آدرس‌ها — ویجت حساب کاربری) */
.paezan-address-book {
    width: 100%;
    text-align: right;
}

.paezan-address-book-intro {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.paezan-address-book-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.paezan-address-book-empty {
    color: #9ca3af;
    margin: 0;
}

.paezan-address-book-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    background: #fafafa;
}

.paezan-address-book-card.is-default {
    border-color: #2563eb;
    background: #eff6ff;
}

.paezan-address-book-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
}

.paezan-address-book-label {
    font-weight: 600;
    color: #111827;
}

.paezan-address-book-badge {
    font-size: 12px;
    font-weight: 600;
    color: #1d4ed8;
    background: #dbeafe;
    padding: 4px 10px;
    border-radius: 999px;
}

.paezan-address-book-card-body {
    font-size: 14px;
    color: #374151;
    line-height: 1.55;
}

.paezan-address-book-card-body strong {
    display: block;
    margin-bottom: 4px;
}

.paezan-address-book-phone {
    display: inline-block;
    margin-inline-start: 10px;
    color: #6b7280;
    font-size: 13px;
}

.paezan-address-book-lines {
    margin: 8px 0 4px 0;
}

.paezan-address-book-country {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.paezan-address-book-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.paezan-address-book-card.is-default .paezan-address-book-card-actions {
    border-top-color: #bfdbfe;
}

.paezan-address-book-inline-form {
    display: inline;
    margin: 0;
}

.paezan-address-book-btn {
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.3;
}

.paezan-address-book-btn-secondary:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.paezan-address-book-btn-danger {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fff;
}

.paezan-address-book-btn-danger:hover {
    background: #fef2f2;
}

.paezan-address-book-form-wrap {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.paezan-address-book-form-title {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}

.paezan-address-book-cancel-wrap {
    margin: 0 0 14px 0;
    font-size: 14px;
}

.paezan-address-book-cancel-wrap a {
    color: #2563eb;
}

.paezan-address-book-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin-bottom: 8px;
}

.paezan-address-book-field-wide {
    grid-column: 1 / -1;
}

.paezan-address-book-checkbox-field {
    grid-column: 1 / -1;
}

.paezan-address-book-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.paezan-address-book-checkbox input {
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .paezan-address-book-form-grid {
        grid-template-columns: 1fr;
    }
}

.paezan-profile-edit {
    width: 100%;
}

.paezan-profile-edit-form {
    width: 100%;
    max-width: 100%;
}

.paezan-profile-edit-box {
    width: 100%;
    box-sizing: border-box;
    background-color: #f3f4f6;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.paezan-profile-edit-row {
    margin-bottom: 16px;
}

.paezan-profile-edit-row:last-child {
    margin-bottom: 0;
}

.paezan-profile-edit-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.paezan-profile-edit-field {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.paezan-profile-edit-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.paezan-profile-edit-input,
.paezan-profile-edit-select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #111827;
    background-color: #ffffff;
}

.paezan-profile-edit-input:focus,
.paezan-profile-edit-select:focus {
    outline: none;
    border-color: #2563eb;
}

.paezan-profile-edit-select {
    cursor: pointer;
    appearance: auto;
}

.paezan-profile-edit-date-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

.paezan-profile-edit-date-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.paezan-profile-edit-date-row .paezan-profile-edit-select {
    flex: 1;
    min-width: 0;
}

.paezan-profile-edit-date-row .paezan-profile-edit-select:first-child {
    flex: 1.2;
}

.paezan-profile-edit-file {
    width: 100%;
    padding: 8px 0;
    font-size: 14px;
}

.paezan-profile-edit-photo-preview {
    display: block;
    margin-bottom: 10px;
}

.paezan-profile-edit-photo-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.paezan-profile-edit-submit-wrap {
    margin: 0;
}

.paezan-profile-edit-submit {
    padding: 12px 24px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.paezan-profile-edit-submit:hover {
    background-color: #1d4ed8;
}

.paezan-account-notice {
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 16px;
    color: #92400e;
    text-align: center;
    margin: 20px 0;
}

/* استایل‌های ریسپانسیو — تبلت و موبایل */
@media (max-width: 1024px) {
    .paezan-account-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .paezan-account-sidebar {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 20px 16px;
    }

    /* منو: اسکرول افقی تا آیتم‌ها له نشوند */
    .paezan-account-menu {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
        margin: 0 -4px;
        padding-inline: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .paezan-account-menu-item {
        margin-bottom: 0;
        flex: 0 0 auto;
        min-width: 0;
    }

    .paezan-account-menu-link {
        justify-content: flex-start;
        white-space: nowrap;
    }

    .paezan-account-stats {
        max-width: 100%;
        margin-inline-start: 0;
        margin-inline-end: 0;
    }
}

@media (max-width: 768px) {
    .paezan-account-profile-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .paezan-account-profile-info {
        width: 100%;
    }

    .paezan-account-edit-btn {
        width: 100%;
        text-align: center;
    }

    .paezan-account-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .paezan-account-content-area {
        padding: 16px;
        min-height: 240px;
    }

    .paezan-dashboard-info-line {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .paezan-dashboard-info-line .paezan-dashboard-info-item:last-child {
        text-align: right;
    }

    .paezan-profile-edit-row-two {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .paezan-account-stats {
        grid-template-columns: 1fr;
    }

    .paezan-account-sidebar {
        padding: 16px 12px;
    }

    .paezan-account-menu-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .paezan-account-menu-label {
        font-size: 13px;
    }
}
/* پاپ‌آپ سادهٔ پیام علاقه‌مندی */
.paezan-wishlist-toast {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.paezan-wishlist-toast.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.paezan-wishlist-toast-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(17, 24, 39, 0.45);
}

.paezan-wishlist-toast-box {
    position: relative;
    z-index: 1;
    max-width: 360px;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 44px 20px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    text-align: right;
    direction: rtl;
}

.paezan-wishlist-toast-msg {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #111827;
}

.paezan-wishlist-toast-close {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.paezan-wishlist-toast-close:hover {
    background: #e5e7eb;
    color: #111827;
}

body.paezan-wishlist-toast-body-open {
    overflow: hidden;
}

/* تب علاقه‌مندی‌ها در حساب کاربری */
.paezan-account-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    direction: rtl;
    text-align: right;
}

.paezan-account-wishlist-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.paezan-account-wishlist-thumb {
    display: block;
    aspect-ratio: 1;
    background: #f9fafb;
}

.paezan-account-wishlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.paezan-account-wishlist-body {
    padding: 12px 14px 14px;
}

.paezan-account-wishlist-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    line-height: 1.45;
    margin-bottom: 10px;
}

.paezan-account-wishlist-title:hover {
    color: #2563eb;
}

.paezan-account-wishlist-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.paezan-account-wishlist-remove:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.paezan-account-wishlist-remove.is-paezan-wishlist-loading {
    opacity: 0.6;
    pointer-events: none;
}
/* ---------- بخش تیکت‌های پشتیبانی (حساب کاربری) ---------- */
.paezan-support-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.paezan-support-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.paezan-support-header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
}

.paezan-support-new-ticket-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
}

.paezan-support-new-ticket-btn:hover {
    background: #1d4ed8;
}

.paezan-support-new-ticket-btn:active {
    transform: scale(0.98);
}

/* فرم تیکت جدید */
.paezan-support-new-ticket-form {
    margin-bottom: 28px;
    padding: 24px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.paezan-support-new-ticket-form h3 {
    margin: 0 0 20px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
}

.paezan-support-form-field {
    margin-bottom: 18px;
}

.paezan-support-form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.paezan-support-form-field .required {
    color: #dc2626;
}

.paezan-support-form-field input[type="text"],
.paezan-support-form-field input[type="email"],
.paezan-support-form-field select,
.paezan-ticket-content-textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #111827;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.paezan-support-form-field input:focus,
.paezan-support-form-field select:focus,
.paezan-ticket-content-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.paezan-ticket-content-textarea {
    min-height: 160px;
    resize: vertical;
}

.paezan-ticket-file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #6b7280;
    cursor: pointer;
}

.paezan-ticket-file-input {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
}

.paezan-ticket-file-preview {
    margin-top: 8px;
    font-size: 0.8125rem;
    color: #6b7280;
}

.paezan-support-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.paezan-support-submit-btn {
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.paezan-support-submit-btn:hover {
    background: #1d4ed8;
}

.paezan-support-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.paezan-support-cancel-btn {
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.paezan-support-cancel-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.paezan-support-message {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
}

.paezan-support-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.paezan-support-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* لیست تیکت‌ها */
.paezan-support-tickets-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.paezan-support-tickets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.paezan-support-tickets-table th,
.paezan-support-tickets-table td {
    padding: 12px 16px;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
}

.paezan-support-tickets-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.paezan-support-tickets-table tbody tr:hover {
    background: #f9fafb;
}

.paezan-ticket-status,
.paezan-ticket-priority {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.paezan-ticket-status.status-waiting_for_response {
    background: #fef3c7;
    color: #92400e;
}

.paezan-ticket-status.status-under_review {
    background: #dbeafe;
    color: #1e40af;
}

.paezan-ticket-status.status-replied {
    background: #d1fae5;
    color: #065f46;
}

.paezan-ticket-status.status-closed {
    background: #f3f4f6;
    color: #6b7280;
}

.paezan-ticket-priority.priority-low {
    background: #f3f4f6;
    color: #6b7280;
}

.paezan-ticket-priority.priority-medium {
    background: #e0e7ff;
    color: #3730a3;
}

.paezan-ticket-priority.priority-high {
    background: #fee2e2;
    color: #991b1b;
}

.paezan-ticket-view-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.paezan-ticket-view-btn:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.paezan-support-empty {
    padding: 32px 24px;
    text-align: center;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    color: #6b7280;
    font-size: 0.9375rem;
}

/* نمای جزئیات تیکت */
.paezan-ticket-detail-view {
    margin-top: 24px;
}

.paezan-ticket-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.paezan-ticket-back-btn {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.paezan-ticket-back-btn:hover {
    background: #f3f4f6;
}

.paezan-ticket-detail-header h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.paezan-ticket-detail-wrapper .paezan-ticket-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 20px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.paezan-ticket-detail-meta-item {
    font-size: 0.875rem;
    color: #374151;
}

.paezan-ticket-detail-content-body {
    margin-bottom: 24px;
}

.paezan-ticket-detail-content-body h3 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.paezan-ticket-content-text {
    padding: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
}

.paezan-ticket-attachments {
    margin-top: 16px;
}

.paezan-ticket-attachments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.paezan-ticket-attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f3f4f6;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
}

.paezan-ticket-attachment-link:hover {
    background: #e5e7eb;
}

.paezan-ticket-detail-replies h3 {
    margin: 0 0 14px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.paezan-ticket-detail-reply {
    margin-bottom: 20px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.paezan-ticket-detail-reply.admin-reply {
    border-right: 4px solid #2563eb;
    background: #f8fafc;
}

.paezan-ticket-detail-reply-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.paezan-ticket-detail-reply-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.paezan-ticket-detail-reply-author-info strong {
    display: block;
    font-size: 0.9375rem;
    color: #111827;
}

.paezan-ticket-admin-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    border-radius: 4px;
}

.paezan-ticket-detail-reply-date {
    font-size: 0.8125rem;
    color: #6b7280;
}

.paezan-ticket-detail-reply-content {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
}

.paezan-ticket-no-replies {
    font-style: italic;
    color: #6b7280;
    margin: 0;
}

.paezan-ticket-reply-form-wrapper {
    margin-top: 24px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.paezan-ticket-reply-form-wrapper h3 {
    margin: 0 0 14px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

