/* General Font - بهینه شده */
.antique-font {
    font-family: 'IRANYekan', sans-serif !important;
}

/* اصلاح کلی دکمه‌ها - رفع مشکل padding و loading */
.antique-user-panel .button,
.antique-expert-panel .button,
.antique-admin-panel .button,
.antique-unified-registration .button,
.antique-unified-login .button,
button,
.button {
    /* رفع مشکل padding نامتقارن */
    padding-top: 10px !important;
    padding-bottom: 10px !important;

    /* مرکز کردن محتوا */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* فاصله بین spinner و متن */
    gap: 8px;

    /* line-height برای متقارن بودن */
    line-height: 1.5 !important;

    /* box-sizing برای محاسبه صحیح padding */
    box-sizing: border-box !important;

    /* vertical-align */
    vertical-align: middle !important;
}

/* استایل spinner لودینگ */
.button-loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
    /* جلوگیری از کوچک شدن */
    margin: 0 !important;
}

/* animation spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* فونت ایران یکان برای تمام افزونه */
.antique-user-panel,
.antique-expert-panel,
.antique-unified-registration,
.antique-unified-login,
.antique-terms-management-box,
.antique-expertise-management-box,
.terms-display,
.antique-tabs-wrapper,
.antique-tab-content,
.antique-welcome-card,
.card,
.form-group,
.form-row,
table,
.table,
.wp-list-table,
.form-table,
.expertise-management-table {
    font-family: 'IRANYekan', sans-serif !important;
}

.antique-user-panel *,
.antique-expert-panel *,
.antique-unified-registration *,
.antique-unified-login *,
.terms-display *,
.antique-tabs-wrapper *,
.antique-tab-content *,
.antique-welcome-card *,
.card *,
.form-group *,
.form-row *,
table *,
.table *,
.wp-list-table *,
.form-table *,
.expertise-management-table * {
    font-family: 'IRANYekan', sans-serif !important;
}

/* حذف تمام تداخل‌های فونت برای ویرایشگر */
.antique-terms-management-box .mce-tinymce,
.antique-terms-management-box .mce-tinymce * {
    font-family: inherit !important;
}

/* بازنشانی کامل نوار ابزار */
.antique-terms-management-box .mce-toolbar,
.antique-terms-management-box .mce-toolbar * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* بازنشانی دکمه‌ها */
.antique-terms-management-box .mce-toolbar .mce-btn,
.antique-terms-management-box .mce-toolbar .mce-btn * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* بازنشانی نمادها */
.antique-terms-management-box .mce-toolbar .mce-btn .mce-ico,
.antique-terms-management-box .mce-toolbar .mce-btn .mce-ico:before,
.antique-terms-management-box .mce-toolbar .mce-btn .mce-ico:after {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    display: inherit !important;
    width: inherit !important;
    height: inherit !important;
    text-align: inherit !important;
    vertical-align: inherit !important;
}

/* بازنشانی کامل نمادهای ویرایشگر */
.antique-terms-management-box .mce-toolbar .mce-btn .mce-ico {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: bold !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    text-align: center !important;
    color: #333 !important;
    background: none !important;
    border: none !important;
    position: relative !important;
}

/* پاک کردن محتوای قبلی */
.antique-terms-management-box .mce-toolbar .mce-btn .mce-ico:before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: bold !important;
    line-height: 16px !important;
    text-align: center !important;
    color: #333 !important;
}

/* نمادهای خاص برای هر دکمه - استفاده از :before */
.antique-terms-management-box .mce-toolbar .mce-btn.mce-bold .mce-ico:before {
    content: "B";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-italic .mce-ico:before {
    content: "I";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-underline .mce-ico:before {
    content: "U";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-strikethrough .mce-ico:before {
    content: "S";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-alignleft .mce-ico:before {
    content: "◄";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-aligncenter .mce-ico:before {
    content: "◄►";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-alignright .mce-ico:before {
    content: "►";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-alignjustify .mce-ico:before {
    content: "◄►";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-bullist .mce-ico:before {
    content: "•";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-numlist .mce-ico:before {
    content: "1.";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-outdent .mce-ico:before {
    content: "◄";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-indent .mce-ico:before {
    content: "►";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-link .mce-ico:before {
    content: "🔗";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-unlink .mce-ico:before {
    content: "🔗";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-undo .mce-ico:before {
    content: "↶";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-redo .mce-ico:before {
    content: "↷";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-forecolor .mce-ico:before {
    content: "A";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-backcolor .mce-ico:before {
    content: "A";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-hr .mce-ico:before {
    content: "—";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-removeformat .mce-ico:before {
    content: "×";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-sub .mce-ico:before {
    content: "x₂";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-sup .mce-ico:before {
    content: "x²";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-charmap .mce-ico:before {
    content: "Ω";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-formatselect .mce-ico:before {
    content: "¶";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-fontselect .mce-ico:before {
    content: "Aa";
}

.antique-terms-management-box .mce-toolbar .mce-btn.mce-fontsizeselect .mce-ico:before {
    content: "12";
}

/* Card Styles */
.antique-admin-panel .card,
.antique-expert-panel .card,
.antique-user-panel .card,
.antique-overview-dashboard .card,
.antique-unified-registration .card,
.antique-unified-login .card {
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* رنگ متن در پس زمینه روشن */
.antique-user-panel,
.antique-expert-panel,
.antique-unified-registration,
.antique-unified-login,
.antique-terms-management-box,
.antique-expertise-management-box,
.terms-popup-text {
    color: #1e293b !important;
}

/* بهبود خوانایی متن‌ها در پنل کارشناس */
.antique-expert-panel .card,
.antique-expert-panel .card * {
    color: #1e293b !important;
}

.antique-expert-panel .card h2,
.antique-expert-panel .card h3,
.antique-expert-panel .card h4,
.antique-expert-panel .card p,
.antique-expert-panel .card span,
.antique-expert-panel .card div {
    color: #1e293b !important;
}

/* متن در باکس‌های تیره */
.antique-expert-panel .antique-welcome-card,
.antique-expert-panel .antique-welcome-card * {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* متن در باکس‌های روشن */
.antique-expert-panel .card,
.antique-expert-panel .card * {
    color: #1e293b !important;
    text-shadow: none;
}

/* رنگ متن در پس زمینه رنگی */
.antique-admin-panel .card h2,
.antique-admin-panel .card h3,
.antique-expert-panel .card h2,
.antique-expert-panel .card h3,
.antique-user-panel .card h2,
.antique-user-panel .card h3,
.antique-overview-dashboard .card h2,
.antique-overview-dashboard .card h3,
.antique-unified-registration .card h2,
.antique-unified-registration .card h3,
.antique-unified-login .card h2,
.antique-unified-login .card h3 {
    color: #1e293b !important;
    font-weight: 700;
    position: relative;
}

/* Card Container for Dashboard */
.antique-admin-panel .card-container,
.antique-expert-panel .card-container,
.antique-user-panel .card-container,
.antique-overview-dashboard .card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.antique-admin-panel .card-container .card,
.antique-expert-panel .card-container .card,
.antique-user-panel .card-container .card,
.antique-overview-dashboard .card-container .card {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* Chart Container for Dashboard */
.antique-admin-panel .chart-container,
.antique-expert-panel .chart-container,
.antique-user-panel .chart-container,
.antique-overview-dashboard .chart-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.antique-admin-panel .chart-container .chart-card,
.antique-expert-panel .chart-container .chart-card,
.antique-user-panel .chart-container .chart-card,
.antique-overview-dashboard .chart-container .chart-card {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

/* Financial Container */
.antique-admin-panel .financial-container,
.antique-expert-panel .financial-container,
.antique-user-panel .financial-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.antique-admin-panel .financial-container .card,
.antique-expert-panel .financial-container .card,
.antique-user-panel .financial-container .card {
    flex: 1;
    min-width: 300px;
}

/* Request Form Card */
.request-form-card {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.antique-admin-panel .form-row,
.antique-expert-panel .form-row,
.antique-user-panel .form-row,
.antique-unified-registration .form-row,
.antique-unified-login .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.antique-admin-panel .form-group,
.antique-expert-panel .form-group,
.antique-user-panel .form-group,
.antique-unified-registration .form-group,
.antique-unified-login .form-group {
    flex: 1;
    min-width: 200px;
}

.antique-admin-panel .form-group.fullwidth,
.antique-expert-panel .form-group.fullwidth,
.antique-user-panel .form-group.fullwidth,
.antique-unified-registration .form-group.fullwidth,
.antique-unified-login .form-group.fullwidth {
    flex: 100%;
}

.antique-admin-panel .form-group label,
.antique-expert-panel .form-group label,
.antique-user-panel .form-group label,
.antique-unified-registration .form-group label,
.antique-unified-login .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.antique-admin-panel .checkbox-group label,
.antique-expert-panel .checkbox-group label,
.antique-user-panel .checkbox-group label,
.antique-unified-registration .checkbox-group label,
.antique-unified-login .checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.antique-admin-panel .checkbox-group input[type="checkbox"],
.antique-expert-panel .checkbox-group input[type="checkbox"],
.antique-user-panel .checkbox-group input[type="checkbox"],
.antique-unified-registration .checkbox-group input[type="checkbox"],
.antique-unified-login .checkbox-group input[type="checkbox"] {
    width: auto;
}

.antique-admin-panel .form-group input,
.antique-admin-panel .form-group textarea,
.antique-expert-panel .form-group input,
.antique-expert-panel .form-group textarea,
.antique-user-panel .form-group input,
.antique-user-panel .form-group textarea,
.antique-unified-registration .form-group input,
.antique-unified-registration .form-group textarea,
.antique-unified-login .form-group input,
.antique-unified-login .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.antique-admin-panel .form-group input[type="file"],
.antique-expert-panel .form-group input[type="file"],
.antique-user-panel .form-group input[type="file"],
.antique-unified-registration .form-group input[type="file"],
.antique-unified-login .form-group input[type="file"] {
    padding: 3px;
}

/* Profile Card */
.antique-admin-panel .profile-card,
.antique-expert-panel .profile-card,
.antique-user-panel .profile-card {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.antique-admin-panel .profile-info,
.antique-expert-panel .profile-info,
.antique-user-panel .profile-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.antique-admin-panel .profile-avatar,
.antique-expert-panel .profile-avatar,
.antique-user-panel .profile-avatar {
    text-align: center;
    margin-bottom: 20px;
}

.antique-admin-panel .profile-columns,
.antique-expert-panel .profile-columns,
.antique-user-panel .profile-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.antique-admin-panel .profile-column,
.antique-expert-panel .profile-column,
.antique-user-panel .profile-column {
    flex: 50%;
    min-width: 200px;
}

.antique-admin-panel .profile-column p,
.antique-admin-panel .profile-fullwidth p,
.antique-expert-panel .profile-column p,
.antique-expert-panel .profile-fullwidth p,
.antique-user-panel .profile-column p,
.antique-user-panel .profile-fullwidth p {
    margin: 10px 0;
    font-size: 16px;
}

.antique-admin-panel .profile-fullwidth,
.antique-expert-panel .profile-fullwidth,
.antique-user-panel .profile-fullwidth {
    flex: 100%;
}

.antique-admin-panel .identity-avatar,
.antique-expert-panel .identity-avatar,
.antique-user-panel .identity-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    border: 3px solid #e2e8f0;
}

/* Ensure preview in expert edit form doesn't exceed 150x150 */
.antique-admin-panel .identity-avatar,
.antique-expert-panel .identity-avatar,
.antique-user-panel .identity-avatar {
    max-width: 150px;
    max-height: 150px;
}

.antique-admin-panel .edit-form .form-row,
.antique-expert-panel .edit-form .form-row,
.antique-user-panel .edit-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.antique-admin-panel .edit-form .form-group.profile-column,
.antique-expert-panel .edit-form .form-group.profile-column,
.antique-user-panel .edit-form .form-group.profile-column {
    flex: 50%;
    min-width: 200px;
}

.antique-admin-panel .edit-form .form-group.fullwidth,
.antique-expert-panel .edit-form .form-group.fullwidth,
.antique-user-panel .edit-form .form-group.fullwidth {
    flex: 100%;
}

/* Modern Table */
.antique-admin-panel .modern-table,
.antique-expert-panel .modern-table,
.antique-user-panel .modern-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.antique-admin-panel .modern-table th,
.antique-admin-panel .modern-table td,
.antique-expert-panel .modern-table th,
.antique-expert-panel .modern-table td,
.antique-user-panel .modern-table th,
.antique-user-panel .modern-table td {
    padding: 12px;
    text-align: right;
}

.antique-admin-panel .modern-table th,
.antique-expert-panel .modern-table th,
.antique-user-panel .modern-table th {
    background: #f0f0f1;
    font-weight: bold;
}

.antique-admin-panel .modern-table tr,
.antique-expert-panel .modern-table tr,
.antique-user-panel .modern-table tr {
    transition: background 0.2s;
}

.antique-admin-panel .modern-table tr:hover,
.antique-expert-panel .modern-table tr:hover,
.antique-user-panel .modern-table tr:hover {
    background: #f5f5f5;
}

/* FAQ Section */
.faq-card {
    max-width: 600px;
    margin: 0 auto;
}

.faq-list {
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-toggle {
    width: 100%;
    text-align: right;
    padding: 10px;
    background: #f0f0f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.faq-toggle.active::before {
    content: '- ';
}

.faq-toggle::before {
    content: '+ ';
}

.faq-content {
    display: none;
    padding: 10px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background: #fff;
}

/* Responsive Design */
@media screen and (max-width: 768px) {

    .antique-admin-panel .card-container,
    .antique-expert-panel .card-container,
    .antique-user-panel .card-container,
    .antique-overview-dashboard .card-container {
        flex-direction: column;
    }

    .antique-admin-panel .card-container .card,
    .antique-expert-panel .card-container .card,
    .antique-user-panel .card-container .card,
    .antique-overview-dashboard .card-container .card {
        width: 100%;
    }

    .antique-admin-panel .chart-container,
    .antique-expert-panel .chart-container,
    .antique-user-panel .chart-container,
    .antique-overview-dashboard .chart-container {
        flex-direction: column;
    }

    .antique-admin-panel .chart-container .chart-card,
    .antique-expert-panel .chart-container .chart-card,
    .antique-user-panel .chart-container .chart-card,
    .antique-overview-dashboard .chart-container .chart-card {
        width: 100%;
        max-width: 100%;
    }

    .antique-admin-panel .financial-container,
    .antique-expert-panel .financial-container,
    .antique-user-panel .financial-container {
        flex-direction: column;
    }

    .antique-admin-panel .financial-container .card,
    .antique-expert-panel .financial-container .card,
    .antique-user-panel .financial-container .card {
        width: 100%;
    }

    .antique-admin-panel .profile-column,
    .antique-expert-panel .profile-column,
    .antique-user-panel .profile-column {
        flex: 100%;
    }
}

/* Tabs UI */
.antique-tabs-wrapper {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.antique-tab-button {
    padding: 10px 20px;
    cursor: pointer;
    background: #f0f0f1;
    border: 1px solid #ccc;
    border-bottom: none;
    margin-left: 5px;
    border-radius: 4px 4px 0 0;
}

.antique-tab-button.active {
    background: #fff;
    border-bottom: 1px solid #fff;
    font-weight: bold;
}

.antique-tab-content {
    display: none;
    width: 100%;
    box-sizing: border-box;
}

.antique-tab-content.active {
    display: block;
}

/* Financial Section */
.balance {
    font-size: 24px;
    font-weight: bold;
    color: #2271b1;
}

/* Support Tickets */
.ticket-reply {
    margin: 10px 0;
    padding: 10px;
    border-left: 3px solid;
}

.ticket-reply.user-reply {
    border-color: #3b82f6;
    background: #f0f8ff;
}

.ticket-reply.admin-reply {
    border-color: #34d399;
    background: #f0fff4;
}

.ticket-reply .timestamp {
    font-size: 12px;
    color: #666;
}

.ticket-reply-form {
    margin-top: 20px;
}

/* Danger Button */
.button.button-danger {
    background: #d63638;
    border-color: #b02a2c;
    color: #fff;
}

.button.button-danger:hover {
    background: #b02a2c;
}

/* Reason Box */
.reason-box textarea {
    width: 100%;
    min-height: 70px;
}

/* Professional Panel Styles */
.antique-overview-dashboard,
.antique-admin-panel,
.antique-expert-panel,
.antique-user-panel {
    direction: rtl;
    background: #f8fafc;
    min-height: 100vh;
}

/* Professional Header */
.antique-panel-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.antique-panel-header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.antique-panel-header p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 13px;
}

/* Professional Tabs */
.antique-tabs-wrapper {
    background: white;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.antique-tab-button {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.antique-tab-button:hover {
    background: #f1f5f9;
    color: #475569;
    transform: translateY(-1px);
}

.antique-tab-button.active {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.antique-tab-button.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Professional Cards */
.antique-admin-panel .card,
.antique-expert-panel .card,
.antique-user-panel .card,
.antique-overview-dashboard .card,
.antique-unified-registration .card,
.antique-unified-login .card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.antique-admin-panel .card::before,
.antique-expert-panel .card::before,
.antique-user-panel .card::before,
.antique-overview-dashboard .card::before,
.antique-unified-registration .card::before,
.antique-unified-login .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.antique-admin-panel .card:hover,
.antique-expert-panel .card:hover,
.antique-user-panel .card:hover,
.antique-overview-dashboard .card:hover,
.antique-unified-registration .card:hover,
.antique-unified-login .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.antique-admin-panel .card h2,
.antique-admin-panel .card h3,
.antique-expert-panel .card h2,
.antique-expert-panel .card h3,
.antique-user-panel .card h2,
.antique-user-panel .card h3,
.antique-overview-dashboard .card h2,
.antique-overview-dashboard .card h3,
.antique-unified-registration .card h2,
.antique-unified-registration .card h3,
.antique-unified-login .card h2,
.antique-unified-login .card h3 {
    margin: 0 0 16px;
    color: #1e293b;
    font-weight: 600;
}

.antique-admin-panel .card h2,
.antique-expert-panel .card h2,
.antique-user-panel .card h2,
.antique-overview-dashboard .card h2,
.antique-unified-registration .card h2,
.antique-unified-login .card h2 {
    font-size: 20px;
}

.antique-admin-panel .card h3,
.antique-expert-panel .card h3,
.antique-user-panel .card h3,
.antique-overview-dashboard .card h3,
.antique-unified-registration .card h3,
.antique-unified-login .card h3 {
    font-size: 16px;
}

/* Professional Tables */
.antique-admin-panel .wp-list-table,
.antique-expert-panel .wp-list-table,
.antique-user-panel .wp-list-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.antique-admin-panel .wp-list-table th,
.antique-expert-panel .wp-list-table th,
.antique-user-panel .wp-list-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    font-weight: 600;
    padding: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.antique-admin-panel .wp-list-table td,
.antique-expert-panel .wp-list-table td,
.antique-user-panel .wp-list-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.antique-admin-panel .wp-list-table tr:hover td,
.antique-expert-panel .wp-list-table tr:hover td,
.antique-user-panel .wp-list-table tr:hover td {
    background: #f8fafc;
}

.antique-admin-panel .wp-list-table tr:last-child td,
.antique-expert-panel .wp-list-table tr:last-child td,
.antique-user-panel .wp-list-table tr:last-child td {
    border-bottom: none;
}

/* Professional Buttons */
.antique-admin-panel .button,
.antique-expert-panel .button,
.antique-user-panel .button,
.antique-unified-registration .button,
.antique-unified-login .button {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.antique-admin-panel .button-primary,
.antique-expert-panel .button-primary,
.antique-user-panel .button-primary,
.antique-unified-registration .button-primary,
.antique-unified-login .button-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.antique-admin-panel .button-primary:hover,
.antique-expert-panel .button-primary:hover,
.antique-user-panel .button-primary:hover,
.antique-unified-registration .button-primary:hover,
.antique-unified-login .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

.antique-admin-panel .button-secondary,
.antique-expert-panel .button-secondary,
.antique-user-panel .button-secondary,
.antique-unified-registration .button-secondary,
.antique-unified-login .button-secondary {
    background: #64748b;
    color: white;
}

.antique-admin-panel .button-secondary:hover,
.antique-expert-panel .button-secondary:hover,
.antique-user-panel .button-secondary:hover,
.antique-unified-registration .button-secondary:hover,
.antique-unified-login .button-secondary:hover {
    background: #475569;
    transform: translateY(-1px);
    color: white;
}

/* Professional Forms */
.antique-admin-panel .form-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    padding: 16px;
    border-radius: 8px 0 0 8px;
}

.antique-admin-panel .form-table td {
    padding: 16px;
    background: white;
    border-radius: 0 8px 8px 0;
}

.antique-admin-panel .form-table input,
.antique-admin-panel .form-table textarea,
.antique-admin-panel .form-table select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    width: 100%;
}

.antique-admin-panel .form-table input:focus,
.antique-admin-panel .form-table textarea:focus,
.antique-admin-panel .form-table select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Professional Notices */
.antique-admin-panel .notice,
.antique-expert-panel .notice,
.antique-user-panel .notice {
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.antique-admin-panel .notice-success,
.antique-expert-panel .notice-success,
.antique-user-panel .notice-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.antique-admin-panel .notice-error,
.antique-expert-panel .notice-error,
.antique-user-panel .notice-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.antique-admin-panel .notice-warning,
.antique-expert-panel .notice-warning,
.antique-user-panel .notice-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.antique-admin-panel .notice-info,
.antique-expert-panel .notice-info,
.antique-user-panel .notice-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

/* Professional Stats Grid */
.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    margin: 0 0 12px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.stat-change {
    font-size: 12px;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.stat-change.positive {
    background: #dcfce7;
    color: #166534;
}

.stat-change.negative {
    background: #fee2e2;
    color: #991b1b;
}

/* Professional Charts */
.antique-admin-panel .chart-container,
.antique-expert-panel .chart-container,
.antique-user-panel .chart-container,
.antique-overview-dashboard .chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.antique-admin-panel .chart-card,
.antique-expert-panel .chart-card,
.antique-user-panel .chart-card,
.antique-overview-dashboard .chart-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.antique-admin-panel .chart-card h3,
.antique-expert-panel .chart-card h3,
.antique-user-panel .chart-card h3,
.antique-overview-dashboard .chart-card h3 {
    margin: 0 0 20px;
    color: #1e293b;
    font-weight: 600;
    text-align: center;
}

/* Professional Profile Cards */
.antique-admin-panel .profile-card,
.antique-expert-panel .profile-card,
.antique-user-panel .profile-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.antique-admin-panel .profile-avatar,
.antique-expert-panel .profile-avatar,
.antique-user-panel .profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e2e8f0;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.antique-admin-panel .profile-avatar img,
.antique-expert-panel .profile-avatar img,
.antique-user-panel .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Professional Form Groups */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Enhanced Panel Styles */
.antique-panel-container {
    background: #f8fafc;
    min-height: 100vh;
    padding: 20px;
}

.antique-panel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Enhanced Welcome Card */
.antique-welcome-card {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.antique-welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.antique-welcome-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
    /* اضافه شده برای جلوگیری از بیرون زدن تصویر */
    flex-shrink: 0;
    margin-right: 15px;
}

.antique-welcome-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.antique-welcome-card .welcome-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.antique-welcome-card .welcome-text h1 {
    font-size: 24px;
    margin: 0 0 8px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.antique-welcome-card .welcome-text p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.5;
}

.antique-welcome-card .logout-section {
    position: relative;
    z-index: 2;
}

.antique-welcome-card .logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.antique-welcome-card .logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
}

/* Enhanced Tabs */
.antique-tabs-wrapper {
    background: white;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 1px solid #e2e8f0;
}

.antique-tab-button {
    padding: 14px 28px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    text-align: center;
}

.antique-tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.antique-tab-button:hover::before {
    left: 100%;
}

.antique-tab-button:hover {
    background: #f1f5f9;
    color: #475569;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.antique-tab-button.active {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.antique-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

/* Enhanced Cards */
.antique-admin-panel .card,
.antique-expert-panel .card,
.antique-user-panel .card,
.antique-overview-dashboard .card,
.antique-unified-registration .card,
.antique-unified-login .card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.antique-admin-panel .card::before,
.antique-expert-panel .card::before,
.antique-user-panel .card::before,
.antique-overview-dashboard .card::before,
.antique-unified-registration .card::before,
.antique-unified-login .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 16px 16px 0 0;
}

.antique-admin-panel .card::after,
.antique-expert-panel .card::after,
.antique-user-panel .card::after,
.antique-overview-dashboard .card::after,
.antique-unified-registration .card::after,
.antique-unified-login .card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.antique-admin-panel .card:hover,
.antique-expert-panel .card:hover,
.antique-user-panel .card:hover,
.antique-overview-dashboard .card:hover,
.antique-unified-registration .card:hover,
.antique-unified-login .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.antique-admin-panel .card:hover::after,
.antique-expert-panel .card:hover::after,
.antique-user-panel .card:hover::after,
.antique-overview-dashboard .card:hover::after,
.antique-unified-registration .card:hover::after,
.antique-unified-login .card:hover::after {
    opacity: 1;
}

.antique-admin-panel .card h2,
.antique-admin-panel .card h3,
.antique-expert-panel .card h2,
.antique-expert-panel .card h3,
.antique-user-panel .card h2,
.antique-user-panel .card h3,
.antique-overview-dashboard .card h2,
.antique-overview-dashboard .card h3,
.antique-unified-registration .card h2,
.antique-unified-registration .card h3,
.antique-unified-login .card h2,
.antique-unified-login .card h3 {
    margin: 0 0 20px;
    color: #1e293b;
    font-weight: 700;
    position: relative;
}

.antique-admin-panel .card h2,
.antique-expert-panel .card h2,
.antique-user-panel .card h2,
.antique-overview-dashboard .card h2,
.antique-unified-registration .card h2,
.antique-unified-login .card h2 {
    font-size: 22px;
}

.antique-admin-panel .card h3,
.antique-expert-panel .card h3,
.antique-user-panel .card h3,
.antique-overview-dashboard .card h3,
.antique-unified-registration .card h3,
.antique-unified-login .card h3 {
    font-size: 18px;
}

/* Enhanced Tables */
.antique-admin-panel .wp-list-table,
.antique-expert-panel .wp-list-table,
.antique-user-panel .wp-list-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-top: 20px;
}

.antique-admin-panel .wp-list-table th,
.antique-expert-panel .wp-list-table th,
.antique-user-panel .wp-list-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    font-weight: 700;
    padding: 20px 16px;
    border-bottom: 3px solid #e2e8f0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.antique-admin-panel .wp-list-table td,
.antique-expert-panel .wp-list-table td,
.antique-user-panel .wp-list-table td {
    padding: 18px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    font-size: 14px;
}

.antique-admin-panel .wp-list-table tr:hover td,
.antique-expert-panel .wp-list-table tr:hover td,
.antique-user-panel .wp-list-table tr:hover td {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: scale(1.01);
}

.antique-admin-panel .wp-list-table tr:last-child td,
.antique-expert-panel .wp-list-table tr:last-child td,
.antique-user-panel .wp-list-table tr:last-child td {
    border-bottom: none;
}

/* Enhanced Buttons */
.antique-admin-panel .button,
.antique-expert-panel .button,
.antique-user-panel .button,
.antique-unified-registration .button,
.antique-unified-login .button {
    padding: 12px 24px !important;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex !important;
    /* تغییر به flex */
    align-items: center !important;
    /* مرکز کردن عمودی */
    justify-content: center !important;
    /* مرکز کردن افقی */
    gap: 8px;
    /* فاصله بین متن و spinner */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: visible;
    /* تغییر برای نمایش spinner */
    font-size: 14px;
    text-align: center;
    line-height: 1.5 !important;
    /* line-height بهتر */
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.antique-admin-panel .button::before,
.antique-expert-panel .button::before,
.antique-user-panel .button::before,
.antique-unified-registration .button::before,
.antique-unified-login .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.antique-admin-panel .button:hover::before,
.antique-expert-panel .button:hover::before,
.antique-user-panel .button:hover::before,
.antique-unified-registration .button:hover::before,
.antique-unified-login .button:hover::before {
    left: 100%;
}

.antique-admin-panel .button-primary,
.antique-expert-panel .button-primary,
.antique-user-panel .button-primary,
.antique-unified-registration .button-primary,
.antique-unified-login .button-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.antique-admin-panel .button-primary:hover,
.antique-expert-panel .button-primary:hover,
.antique-user-panel .button-primary:hover,
.antique-unified-registration .button-primary:hover,
.antique-unified-login .button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    color: white;
}

.antique-admin-panel .button-secondary,
.antique-expert-panel .button-secondary,
.antique-user-panel .button-secondary,
.antique-unified-registration .button-secondary,
.antique-unified-login .button-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}

.antique-admin-panel .button-secondary:hover,
.antique-expert-panel .button-secondary:hover,
.antique-user-panel .button-secondary:hover,
.antique-unified-registration .button-secondary:hover,
.antique-unified-login .button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
    color: white;
}

/* Enhanced Forms */
.antique-admin-panel .form-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    font-weight: 700;
    padding: 20px 16px;
    border-radius: 12px 0 0 12px;
    border: 2px solid #e2e8f0;
}

.antique-admin-panel .form-table td {
    padding: 20px 16px;
    background: white;
    border-radius: 0 12px 12px 0;
    border: 2px solid #e2e8f0;
    border-right: none;
}

.antique-admin-panel .form-table input,
.antique-admin-panel .form-table textarea,
.antique-admin-panel .form-table select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 14px;
}

.antique-admin-panel .form-table input:focus,
.antique-admin-panel .form-table textarea:focus,
.antique-admin-panel .form-table select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
    transform: translateY(-1px);
}

/* Enhanced Notices */
.antique-admin-panel .notice,
.antique-expert-panel .notice,
.antique-user-panel .notice {
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.antique-admin-panel .notice::before,
.antique-expert-panel .notice::before,
.antique-user-panel .notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.antique-admin-panel .notice-success,
.antique-expert-panel .notice-success,
.antique-user-panel .notice-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.antique-admin-panel .notice-error,
.antique-expert-panel .notice-error,
.antique-user-panel .notice-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.antique-admin-panel .notice-warning,
.antique-expert-panel .notice-warning,
.antique-user-panel .notice-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.antique-admin-panel .notice-info,
.antique-expert-panel .notice-info,
.antique-user-panel .notice-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

/* Enhanced Stats Grid */
.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Charts */
.chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 28px;
    margin: 35px 0;
}

.chart-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.chart-card h3 {
    margin: 0 0 24px;
    color: #1e293b;
    font-weight: 700;
    text-align: center;
    font-size: 18px;
}

/* Enhanced Profile Cards */
.profile-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #e2e8f0;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhanced Form Groups */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
    transform: translateY(-1px);
}

/* Tab Content Styles */
.antique-tab-content {
    display: none;
}

.antique-tab-content.active {
    display: block;
}

/* Unified Registration/Login Styles */
.antique-unified-registration,
.antique-unified-login {
    direction: rtl;
    background: #f8fafc;
    min-height: 100vh;
    padding: 20px;
}

.antique-unified-registration .antique-registration-container,
.antique-unified-login .antique-registration-container {
    max-width: 800px;
    margin: 0 auto;
}

.antique-login-link,
.antique-registration-link {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.antique-login-link a,
.antique-registration-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.antique-login-link a:hover,
.antique-registration-link a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Professional Responsive Design */
@media (max-width: 768px) {
    .antique-tabs-wrapper {
        flex-direction: column;
    }

    .antique-tab-button {
        text-align: center;
        min-width: 100%;
    }

    .overview-stats-grid {
        grid-template-columns: 1fr;
    }

    .chart-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        min-width: 100%;
    }

    .antique-welcome-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .antique-welcome-card .avatar {
        width: 100px;
        height: 100px;
        font-size: 32px;
    }

    .antique-unified-registration,
    .antique-unified-login {
        padding: 10px;
    }
}

/* Overview Dashboard Styles */
.antique-overview-dashboard {
    direction: rtl;
}

.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    color: #2c3e50;
}

.stat-card.requests .stat-number {
    color: #3498db;
}

.stat-card.experts .stat-number {
    color: #e74c3c;
}

.stat-card.customers .stat-number {
    color: #2ecc71;
}

.stat-card.financial .stat-number {
    color: #f39c12;
}

.stat-card.support .stat-number {
    color: #9b59b6;
}

.stat-card.settlements .stat-number {
    color: #1abc9c;
}

.chart-section {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.chart-section h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #2c3e50;
}

.chart-container {
    position: relative;
    height: 300px;
}

.summary-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.summary-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
}

.summary-card h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #666;
    font-size: 14px;
}

.summary-value {
    font-weight: bold;
    color: #2c3e50;
}

.summary-value.positive {
    color: #27ae60;
}

.summary-value.negative {
    color: #e74c3c;
}

.summary-value.warning {
    color: #f39c12;
}

.quick-actions {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.quick-actions h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.quick-actions .button {
    margin: 5px 10px 5px 0;
}

/* Responsive Design for Overview */
@media screen and (max-width: 768px) {
    .overview-stats-grid {
        grid-template-columns: 1fr;
    }

    .summary-section {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 250px;
    }
}

/* Expert Panel Overrides */
.antique-expert-panel {
    min-height: auto;
}

@media (min-width: 768px) {
    .antique-expert-panel .chart-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* two columns, each ~50% */
        gap: 24px;
    }

    .antique-expert-panel .chart-container .chart-card {
        max-width: 100%;
    }
}

/* Canvas/page container spacing (Elementor Canvas, no header/footer) */
.antique-expert-panel,
.antique-user-panel,
.antique-unified-registration,
.antique-unified-login {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 16px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}




/* یکسان‌سازی دکمه‌ها */
.button,
button,
input[type="button"],
input[type="submit"] {
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    /* تغییر به flex */
    align-items: center !important;
    /* مرکز کردن عمودی */
    justify-content: center !important;
    /* مرکز کردن افقی */
    gap: 6px;
    /* فاصله بین متن و آیکون */
    line-height: 1.4 !important;
    /* line-height بهتر */
    min-height: 32px !important;
    box-sizing: border-box !important;
    /* padding داخل ارتفاع */
    vertical-align: middle !important;
}

.button-primary,
button.button-primary,
input[type="submit"].button-primary {
    background: #0073aa !important;
    color: white !important;
    border-color: #0073aa !important;
}

.button-primary:hover {
    background: #005a87 !important;
    border-color: #005a87 !important;
}

.button-secondary,
button.button-secondary,
input[type="button"].button-secondary {
    background: #f7f7f7 !important;
    color: #555 !important;
    border-color: #ccc !important;
}

.button-secondary:hover {
    background: #f0f0f0 !important;
    border-color: #999 !important;
}

/* باکس مدیریت قوانین و مقررات */
.antique-terms-management-box {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.antique-terms-management-box h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.antique-terms-form .form-group {
    margin-bottom: 20px;
}

.antique-terms-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.antique-terms-form .form-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* باکس مدیریت حوزه‌های تخصص */
.antique-expertise-management-box {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.antique-expertise-management-box h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.expertise-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.expertise-management-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.expertise-management-table th {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    padding: 12px 16px;
    text-align: right;
    border-bottom: 2px solid #e2e8f0;
}

.expertise-management-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.expertise-management-table tr:hover {
    background: #f8fafc;
}

/* تنظیم عرض ستون‌ها */
.expertise-name-col {
    width: 25%;
    min-width: 150px;
}

.expertise-desc-col {
    width: 45%;
    min-width: 200px;
}

.expertise-active-col {
    width: 15%;
    text-align: center;
}

.expertise-action-col {
    width: 15%;
    text-align: center;
}

/* استایل فیلدهای ورودی */
.expertise-name-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.expertise-name-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.expertise-desc-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    min-height: 60px;
    transition: border-color 0.2s ease;
}

.expertise-desc-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* استایل چک‌باکس سفارشی */
.expertise-checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.expertise-checkbox {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.expertise-checkbox:checked+.checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.expertise-checkbox:checked+.checkmark:after {
    display: block;
}

/* دکمه حذف */
.expertise-remove-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.expertise-remove-btn:hover {
    background: #b91c1c;
}

/* دکمه‌های فرم */
.expertise-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}


/* نمایش مستقیم قوانین و مقررات */
.terms-display {
    margin: 20px 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.terms-display-content {
    background: white;
}

.terms-display-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff !important;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    /* وسط‌چین کردن عنوان */
}

.terms-display-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    font-family: 'IRANYekan', sans-serif !important;
    color: #ffffff !important;
    /* سفید */
    text-align: center;
    /* وسط‌چین */
}

.terms-display-body {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.terms-display-body::-webkit-scrollbar {
    width: 8px;
}

.terms-display-body::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 4px;
}

.terms-display-body::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.terms-display-body::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.terms-display-text {
    word-wrap: break-word;
    font-family: 'IRANYekan', sans-serif !important;
    text-align: right !important;
    /* راست‌چین - نه وسط */
    direction: rtl !important;
    /* جهت فارسی */
    color: #1f2937 !important;
    /* رنگ روشن‌تر */
}

.terms-display-text h4 {
    color: #1f2937 !important;
    /* رنگ روشن‌تر */
    font-size: 15px;
    font-weight: 600;
    margin: 15px 0 8px 0;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 6px;
    font-family: 'IRANYekan', sans-serif !important;
    text-align: right !important;
    /* راست‌چین */
}

.terms-display-text h4:first-child {
    margin-top: 0;
}

.terms-display-text p {
    color: #374151 !important;
    /* رنگ روشن‌تر */
    line-height: 1.8;
    margin: 0 0 12px 0;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'IRANYekan', sans-serif !important;
    text-align: right !important;
    /* راست‌چین */
}

/* استایل‌های اضافی از تنظیمات پنل */
.terms-display-text strong,
.terms-display-text b {
    font-weight: 700;
    color: #1f2937 !important;
    /* روشن‌تر */
}

.terms-display-text ul,
.terms-display-text ol {
    margin: 10px 0 10px 20px;
    padding-right: 20px;
    text-align: right !important;
}

.terms-display-text li {
    margin-bottom: 8px;
    line-height: 1.8;
    color: #374151 !important;
    text-align: right !important;
}

/* حفظ همه استایل‌های HTML از ویرایشگر */
.terms-display-text * {
    text-align: right !important;
    direction: rtl !important;
}

.terms-display-text * {
    word-wrap: break-word;
}


/* Expert panel: align header and tabs exactly like customer panel */
.antique-expert-panel .antique-welcome-card {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.antique-expert-panel .antique-welcome-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
    /* اضافه شده برای جلوگیری از بیرون زدن تصویر */
    flex-shrink: 0;
    margin-right: 15px;
}

.antique-expert-panel .antique-welcome-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* استایل‌های آواتار برای پنل کاربری */
.antique-user-panel .antique-welcome-card .avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
    /* اضافه شده برای جلوگیری از بیرون زدن تصویر */
    flex-shrink: 0;
    margin-right: 15px;
}

.antique-user-panel .antique-welcome-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.antique-expert-panel .antique-welcome-card .welcome-text h1 {
    font-size: 18px;
}

.antique-expert-panel .antique-welcome-card .welcome-text p {
    font-size: 13px;
}

.antique-expert-panel .card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.antique-expert-panel .antique-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.antique-expert-panel .antique-tab-button {
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    cursor: pointer;
    transition: all .3s ease;
    font-size: 13px;
    color: inherit;
}

.antique-expert-panel .antique-tab-button:hover {
    background: #e2e8f0;
    transform: none;
    box-shadow: none;
}

.antique-expert-panel .antique-tab-button.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    box-shadow: none;
    transform: none;
}

/* بهبود خوانایی متن در پنل کارشناس */
.antique-expert-panel .antique-welcome-card,
.antique-expert-panel .antique-welcome-card * {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.antique-expert-panel .card,
.antique-expert-panel .card * {
    color: #1e293b !important;
    text-shadow: none;
}

.antique-expert-panel .antique-stats-card {
    color: #1e293b !important;
    text-shadow: none;
}

.antique-expert-panel .antique-stats-card h3,
.antique-expert-panel .antique-stats-card .antique-stat-number {
    color: #1e293b !important;
    text-shadow: none;
}

/* استایل‌های پیام‌های خالی */
.antique-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    margin: 20px 0;
    font-family: 'IRANYekan', sans-serif !important;
}

.antique-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.antique-empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
    font-family: 'IRANYekan', sans-serif !important;
}

.antique-empty-state p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    font-family: 'IRANYekan', sans-serif !important;
}

/* استایل‌های قدرت رمز عبور */
.password-strength {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
}

.password-strength.weak {
    color: #ef4444;
}

.password-strength.medium {
    color: #f59e0b;
}

.password-strength.strong {
    color: #10b981;
}

.password-strength.very-strong {
    color: #059669;
}

/* استایل‌های ریسپانسیو برای پروفایل */
@media (max-width: 768px) {
    .profile-columns {
        flex-direction: column !important;
    }

    .profile-column {
        min-width: 100% !important;
    }

    .profile-avatar {
        margin: 0 auto 15px !important;
    }
}