/* اعمال استایل‌های یکپارچه به همه عناصر پنل کاربری */
.panelino-container,
.panelino-container *,
.panelino-container *::before,
.panelino-container *::after,
.panelino-modal,
.panelino-modal *,
.panelino-modal *::before,
.panelino-modal *::after,
.panelino-toast,
.panelino-toast *,
.panelino-toast *::before,
.panelino-toast *::after,
.panelino-confirm-modal,
.panelino-confirm-modal *,
.panelino-confirm-modal *::before,
.panelino-confirm-modal *::after {
    
}

/* ========================================
   Override استایل‌های قالب وردپرس برای دکمه‌های افزونه
   
   این بخش استایل‌های عمومی قالب وردپرس را override می‌کند که باعث مشکل می‌شوند:
   [type=button], [type=submit], button {
       border-radius: 3px;
       color: #c36;
       padding: .5rem 1rem;
       white-space: nowrap;
       ...
   }
======================================== */

/* Override با specificity بالا برای تمام دکمه‌های افزونه - جلوگیری از استایل‌های قالب وردپرس */
/* این override فقط border قرمز (#c36) را reset می‌کند - color را override نمی‌کند تا استایل‌های خود دکمه‌ها حفظ شوند */
.panelino-container button,
.panelino-container [type="button"],
.panelino-container [type="submit"],
.panelino-container .panelino-modal button,
.panelino-container .panelino-modal [type="button"],
.panelino-container .panelino-modal [type="submit"],
.panelino-container .panelino-dashboard-new button,
.panelino-container .panelino-dashboard-new [type="button"],
.panelino-container .panelino-dashboard-new [type="submit"],
.panelino-container .panelino-auth-container button,
.panelino-container .panelino-auth-container [type="button"],
.panelino-container .panelino-auth-container [type="submit"] {
    /* Override فقط border قرمز - color را override نمی‌کنیم تا استایل‌های خود دکمه‌ها (مثل color: white) حفظ شوند */
    border: 0 !important;
    border-color: transparent !important;
}

/* Override برای دکمه‌هایی که کلاس panelino دارند - فقط border را override می‌کنیم */
.panelino-container [type="button"][class*="panelino-"],
.panelino-container [type="submit"][class*="panelino-"],
.panelino-container button[class*="panelino-"],
.panelino-modal [type="button"][class*="panelino-"],
.panelino-modal [type="submit"][class*="panelino-"],
.panelino-modal button[class*="panelino-"],
.panelino-dashboard-new [type="button"][class*="panelino-"],
.panelino-dashboard-new [type="submit"][class*="panelino-"],
.panelino-dashboard-new button[class*="panelino-"] {
    /* فقط border را override می‌کنیم - color از استایل‌های خود دکمه استفاده می‌کند */
    border: 0 !important;
    border-color: transparent !important;
}

/* Override color قرمز قالب فقط برای دکمه‌هایی که هیچ کلاس خاصی ندارند */
.panelino-container button:not([class*="panelino-"]):not([class]),
.panelino-container [type="button"]:not([class*="panelino-"]):not([class]),
.panelino-container [type="submit"]:not([class*="panelino-"]):not([class]) {
    /* فقط برای دکمه‌های بدون کلاس، color قرمز را override می‌کنیم */
    color: #333 !important;
}

/* استایل‌های پنل کاربری */
.panelino-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
    background: var(--panelino-bg);
    min-height: 100vh;
}

.panelino-container.panelino-full-width-dashboard {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* =====================
   Full Screen Dashboard Fix
   CRITICAL: Use body.panelino-panel-page guard to prevent position:fixed
   from creating an invisible click-blocking overlay on non-panel pages.
   position:fixed is ONLY applied on the actual panel page (PHP injects the body class).
   ===================== */

body.panelino-panel-page .panelino-container.panelino-full-width-dashboard {
    position: fixed !important;
    top: 0 !important;
    inset-inline-end: 0 !important;
    inset-inline-start: 0 !important;
    width: auto !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;

    /* Sit above theme elements but below WP admin bar */
    z-index: 99998 !important;

    /* Make scrollable */
    overflow-y: auto !important;

    /* Ensure background covers everything */
    background: var(--panelino-bg-main) !important;
    max-width: none !important;
}

/* ======================================================
   Force Theme Headers/Footers to Hide — ONLY on panel page.
   CRITICAL: This guard ensures theme headers on OTHER pages
   are NOT hidden by Panelino styles.
   ====================================================== */
body.panelino-panel-page header:not(.panelino-desktop-header),
body.panelino-panel-page .site-header,
body.panelino-panel-page #masthead,
body.panelino-panel-page footer:not(.panelino-footer),
body.panelino-panel-page .elementor-location-header,
body.panelino-panel-page .elementor-location-footer {
    display: none !important;
}

/* ======================================================
   WP Admin Bar Offset — CSS only, no JS needed.
   Admin bar is position:fixed with z-index:99999 and
   height:32px on desktop, 46px on narrow screens.
   ====================================================== */
body.panelino-panel-page.admin-bar .panelino-container.panelino-full-width-dashboard {
    top: 32px !important;
    height: calc(100vh - 32px) !important;
}

@media screen and (max-width: 782px) {
    body.panelino-panel-page.admin-bar .panelino-container.panelino-full-width-dashboard {
        top: 46px !important;
        height: calc(100vh - 46px) !important;
    }
}

/* حالت موبایل: حذف کامل سایدبار و همبرگر و فعال شدن نوار پایین */
@media (max-width: 992px) {

    /* ========== تنظیمات کلی موبایل ========== */
    .panelino-dashboard-new {
        flex-direction: column;
        gap: 8px;
    }

    .panelino-sidebar,
    .panelino-sidebar-toggle {
        display: none !important;
    }

    .panelino-main-content {
        width: 100% !important;
        padding-bottom: 88px;
        margin: 0 !important;
    }

    .panelino-bottom-nav.menu {
        display: flex;
    }

    @media screen and (max-width: 50em) {
        .panelino-bottom-nav.menu {
            font-size: .8em;
        }
    }

    .panelino-container {
        padding: 10px;
        padding-bottom: 0;
        background: var(--panelino-bg);
        margin: 0;
    }

    /* ========== کاهش وزن و سایز فونت‌ها ========== */
    .panelino-app-brand {
        font-weight: 600 !important;
        font-size: 14px !important;
    }

    .panelino-header h2 {
        font-size: 20px !important;
        font-weight: 600 !important;
        margin-bottom: 15px !important;
    }

    .panelino-header {
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
    }

    /* ========== کاهش فاصله‌ها ========== */
    .panelino-home {
        gap: 12px !important;
    }

    .panelino-home-stats {
        gap: 10px !important;
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .panelino-home-card {
        padding: 10px 8px !important;
        gap: 6px !important;
        grid-template-columns: 40px 1fr auto !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .panelino-home-card .panelino-home-card-icon {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0 !important;
    }

    .panelino-home-card .panelino-home-card-info {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .panelino-home-card .panelino-home-card-title {
        font-size: 11px !important;
        font-weight: 500 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .panelino-home-card .panelino-home-card-value {
        font-size: 14px !important;
        font-weight: 700 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .panelino-home-card .panelino-currency {
        font-size: 9px !important;
    }

    .panelino-home-card .panelino-home-card-action {
        flex-shrink: 0 !important;
        padding: 0 2px !important;
    }

    .panelino-home-section {
        gap: 10px !important;
    }

    .panelino-home-section-title {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .panelino-services-grid {
        gap: 10px !important;
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .panelino-service-box {
        padding: 16px 12px !important;
        gap: 8px !important;
        min-height: 70px !important;
        border-radius: 16px !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .panelino-service-box:hover {
        transform: translateY(-4px) scale(1.01) !important;
    }

    .panelino-service-box .panelino-icon-svg {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }

    .panelino-service-box:hover .panelino-icon-svg {
        transform: scale(1.2) rotate(5deg) !important;
    }

    .panelino-service-box span {
        font-size: 13px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .panelino-active-orders {
        padding: 12px !important;
        gap: 10px !important;
    }

    .panelino-active-orders .panelino-label {
        font-weight: 500 !important;
        font-size: 13px !important;
    }

    .panelino-active-orders .panelino-count {
        font-weight: 700 !important;
        font-size: 16px !important;
    }

    .panelino-active-orders-action {
        padding: 8px 12px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

    /* ========== پروفایل ========== */
    .panelino-profile-section {
        padding: 20px !important;
        margin-bottom: 15px !important;
        border-radius: 16px !important;
    }

    .panelino-profile-section h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 15px !important;
    }

    /* ========== بخش هدر پروفایل موبایل ========== */
    .panelino-profile-header-section {
        padding: 15px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }

    .panelino-profile-info {
        gap: 12px !important;
    }

    .panelino-profile-avatar-large {
        width: 70px !important;
        height: 70px !important;
        border-width: 2px !important;
    }

    .panelino-profile-name {
        font-size: 16px !important;
        font-weight: 600 !important;
        margin-bottom: 4px !important;
    }

    .panelino-profile-phone {
        font-size: 13px !important;
    }

    .panelino-profile-edit-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        border-radius: 8px !important;
    }

    /* ========== کارت‌های آماری موبایل ========== */
    .panelino-profile-stats-cards {
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .panelino-profile-stat-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .panelino-stat-card-icon {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 10px !important;
        border-radius: 10px !important;
    }

    .panelino-stat-card-icon .panelino-icon-svg {
        width: 28px !important;
        height: 28px !important;
    }

    .panelino-stat-card-value {
        font-size: 20px !important;
        font-weight: 700 !important;
        margin-bottom: 4px !important;
    }

    .panelino-stat-card-label {
        font-size: 12px !important;
        font-weight: 500 !important;
    }

    /* ========== بخش‌های منو موبایل ========== */
    .panelino-profile-menu-section {
        padding: 15px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }

    .panelino-menu-section-header {
        gap: 8px !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }

    .panelino-menu-section-header .panelino-icon-svg {
        width: 22px !important;
        height: 22px !important;
    }

    .panelino-menu-section-header h4 {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .panelino-menu-badge {
        font-size: 11px !important;
        padding: 3px 8px !important;
        border-radius: 10px !important;
        min-width: 20px !important;
    }

    .panelino-menu-item {
        padding: 12px 0 !important;
    }

    .panelino-menu-item-text {
        font-size: 14px !important;
        font-weight: 500 !important;
    }

    .panelino-menu-item .panelino-icon-svg {
        width: 20px !important;
        height: 20px !important;
    }

    .panelino-welcome {
        padding: 20px !important;
        margin-bottom: 20px !important;
        gap: 15px !important;
    }

    .panelino-welcome-text h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
    }

    .panelino-welcome-text p {
        font-size: 13px !important;
    }

    .panelino-avatar {
        width: 60px !important;
        height: 60px !important;
    }

    .panelino-form-group {
        margin-bottom: 15px !important;
    }

    .panelino-form-group label {
        font-size: 13px !important;
        font-weight: 500 !important;
        margin-bottom: 6px !important;
    }

    .panelino-form-group .panelino-ui-input,
    .panelino-form-group select,
    .panelino-form-group textarea {
        font-size: 14px !important;
        padding: 10px 12px !important;
    }

    .panelino-form-group small {
        font-size: 11px !important;
    }

    /* ========== دکمه‌ها ========== */
    .panelino-ui-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        border-radius: 10px !important;
    }

    .panelino-ui-btn-primary {
        padding: 10px 20px !important;
    }

    /* ========== بخش‌های عمومی ========== */
    .panelino-section,
    .panelino-section-header {
        padding: 20px !important;
        margin-bottom: 15px !important;
        border-radius: 16px !important;
    }

    .panelino-section-header {
        margin-bottom: 15px !important;
        padding-bottom: 12px !important;
    }

    .panelino-section-title,
    .panelino-section-header h3,
    .panelino-tab-content h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .panelino-section-header p {
        font-size: 12px !important;
    }

    /* ========== سفارشات ========== */
    .panelino-orders-section .panelino-section-header h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .panelino-orders-section .panelino-section-header p {
        font-size: 12px !important;
    }

    .panelino-order-card {
        padding: 15px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }

    .panelino-order-header h4 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .panelino-order-header p {
        font-size: 12px !important;
    }

    .panelino-order-status {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    .panelino-order-details {
        gap: 10px !important;
        margin-top: 12px !important;
    }

    .panelino-order-detail-item {
        font-size: 12px !important;
    }

    .panelino-order-detail-item strong {
        font-weight: 600 !important;
    }

    .panelino-order-actions {
        gap: 8px !important;
        margin-top: 12px !important;
    }

    .panelino-order-actions .panelino-ui-btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }

    .panelino-no-orders {
        padding: 30px 20px !important;
    }

    .panelino-no-orders .panelino-empty-icon {
        font-size: 40px !important;
        margin-bottom: 15px !important;
    }

    .panelino-no-orders h4 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .panelino-no-orders p {
        font-size: 13px !important;
    }

    /* ========== آدرس‌ها ========== */
    .panelino-addresses-header {
        margin-bottom: 20px !important;
        gap: 12px !important;
    }

    .panelino-addresses-header h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .panelino-addresses-header p {
        font-size: 12px !important;
    }

    .panelino-addresses-grid {
        gap: 12px !important;
    }

    .panelino-address-card {
        padding: 15px !important;
        border-radius: 12px !important;
    }

    .panelino-address-card-header {
        margin-bottom: 12px !important;
    }

    .panelino-address-card-header h4 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .panelino-address-card-body {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .panelino-address-card-actions {
        gap: 8px !important;
        margin-top: 12px !important;
    }

    .panelino-address-card-actions .panelino-ui-btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }

    .panelino-default-badge {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    .panelino-no-addresses {
        padding: 30px 20px !important;
    }

    .panelino-no-addresses .panelino-empty-icon {
        font-size: 40px !important;
        margin-bottom: 15px !important;
    }

    .panelino-no-addresses h4 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .panelino-no-addresses p {
        font-size: 13px !important;
    }

    /* ========== پشتیبانی و تیکت ========== */
    .panelino-tickets-section {
        padding: 20px !important;
    }

    .panelino-tickets-section .panelino-section-header h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .panelino-ticket-card {
        padding: 15px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }

    .panelino-ticket-header h4 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .panelino-ticket-status {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }

    .panelino-ticket-body {
        font-size: 13px !important;
        margin-top: 10px !important;
    }

    .panelino-ticket-meta {
        font-size: 11px !important;
        margin-top: 10px !important;
    }

    /* ========== اعلانات ========== */
    .panelino-notifications-header {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }

    .panelino-notifications-header h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .panelino-notif-filter-btn,
    .panelino-notif-action-btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .panelino-notification-item {
        padding: 18px !important;
        border-radius: 16px !important;
        flex-wrap: wrap !important;
        gap: 14px !important;
    }

    .panelino-notif-status {
        width: 56px !important;
        height: 56px !important;
    }

    .panelino-notif-buttons {
        flex-direction: row !important;
        width: 100% !important;
        justify-content: flex-end !important;
    }

    .panelino-notif-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .panelino-notif-content h4 {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .panelino-notif-content p {
        font-size: 12px !important;
    }

    .panelino-notif-meta {
        font-size: 11px !important;
    }

    .panelino-notif-buttons {
        gap: 6px !important;
    }

    .panelino-notif-btn {
        width: 32px !important;
        height: 32px !important;
    }

    .panelino-help-card {
        padding: 15px !important;
        gap: 12px !important;
    }

    .panelino-help-icon {
        font-size: 28px !important;
    }

    .panelino-help-content h4 {
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-bottom: 10px !important;
    }

    .panelino-help-content li {
        font-size: 12px !important;
        margin: 4px 0 !important;
    }

    /* ========== محصولات ========== */
    .panelino-products-showcase {
        padding: 20px !important;
        margin-bottom: 15px !important;
        border-radius: 16px !important;
    }

    .panelino-products-showcase .panelino-section-header {
        margin-bottom: 20px !important;
    }

    .panelino-products-showcase .panelino-section-header h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .panelino-products-showcase .panelino-section-header p {
        font-size: 13px !important;
    }

    .panelino-products-grid {
        gap: 12px !important;
    }

    .panelino-product-card {
        padding: 20px 15px !important;
        border-radius: 12px !important;
    }

    .panelino-product-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
    }

    .panelino-product-title {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .panelino-product-desc {
        font-size: 12px !important;
    }

    .panelino-product-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

    /* ========== پیگیری سفارش ========== */
    .panelino-order-tracking {
        padding: 15px !important;
        margin: 15px 0 !important;
        border-radius: 12px !important;
    }

    .panelino-tracking-header {
        margin-bottom: 15px !important;
    }

    .panelino-tracking-header h5 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .panelino-tracking-step {
        margin-bottom: 15px !important;
    }

    .panelino-step-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }

    .panelino-step-content h6 {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .panelino-step-content p {
        font-size: 12px !important;
    }

    .panelino-step-content small {
        font-size: 11px !important;
    }

    /* ========== مودال‌ها ========== */
    .panelino-modal-content {
        padding: 20px !important;
        border-radius: 16px !important;
        max-width: 95% !important;
    }

    .panelino-modal-content h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 15px !important;
    }

    /* ========== هدر اپ ========== */
    .panelino-app-header {
        padding: 10px 12px !important;
        margin-bottom: 10px !important;
        border-radius: 12px !important;
    }

    .panelino-header-btn {
        width: 44px !important;
        height: 44px !important;
    }

    .panelino-header-btn .panelino-icon-svg {
        width: 24px !important;
        height: 24px !important;
    }

    .panelino-header-badge {
        font-size: 11px !important;
        min-width: 18px !important;
        height: 18px !important;
    }

    /* ========== آیکون‌ها در موبایل ========== */
    .panelino-icon-svg {
        min-width: 20px !important;
        min-height: 20px !important;
    }

    /* آیکون‌های نوتیفیکیشن */
    .panelino-notif-type-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .panelino-notif-type-icon .panelino-icon-svg {
        width: 20px !important;
        height: 20px !important;
    }

    .panelino-notif-icon .panelino-icon-svg {
        width: 28px !important;
        height: 28px !important;
    }

    /* آیکون‌های کارت‌های خانه */
    .panelino-home-card-icon .panelino-icon-svg {
        width: 28px !important;
        height: 28px !important;
    }

    /* آیکون‌های خدمات */
    .panelino-service-box .panelino-icon-svg {
        width: 32px !important;
        height: 32px !important;
    }

    /* آیکون‌های کارت‌های آماری */
    .panelino-stat-card-icon .panelino-icon-svg {
        width: 26px !important;
        height: 26px !important;
    }

    /* آیکون‌های منو */
    .panelino-menu-item .panelino-icon-svg {
        width: 20px !important;
        height: 20px !important;
    }

    .panelino-menu-section-header .panelino-icon-svg {
        width: 20px !important;
        height: 20px !important;
    }

    /* آیکون‌های تراکنش */
    .panelino-transaction-icon .panelino-icon-svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* آیکون‌های دکمه‌ها */
    .panelino-btn-icon .panelino-icon-svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* آیکون‌های پروفایل */
    .panelino-profile-logout-btn .panelino-icon-svg {
        width: 20px !important;
        height: 20px !important;
    }

    /* آیکون‌های فیلتر و اکشن */
    .panelino-notif-action-btn .panelino-icon-svg,
    .panelino-notif-filter-btn .panelino-icon-svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* آیکون‌های خالی */
    .panelino-empty-notif-icon .panelino-icon-svg {
        width: 40px !important;
        height: 40px !important;
    }

    /* ========== فرم‌ها ========== */
    .panelino-form-row {
        gap: 12px !important;
        margin-bottom: 15px !important;
    }

    /* ========== کارت‌های عمومی ========== */
    .panelino-card {
        padding: 15px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
    }

    .panelino-card h4 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .panelino-card p {
        font-size: 13px !important;
    }

    /* ========== متن‌های کوچک ========== */
    small {
        font-size: 11px !important;
    }

    /* ========== جداکننده ========== */
    .panelino-section-divider {
        margin: 20px 0 !important;
    }

    /* ========== کارت‌های آماری ========== */
    .panelino-stats {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }

    .panelino-stat-card {
        padding: 18px !important;
        border-radius: 12px !important;
        gap: 12px !important;
    }

    .panelino-stat-icon {
        font-size: 32px !important;
        min-width: 32px !important;
    }

    .panelino-stat-info h4 {
        font-size: 12px !important;
        font-weight: 500 !important;
        margin-bottom: 4px !important;
    }

    .panelino-stat-info p {
        font-size: 20px !important;
        font-weight: 700 !important;
    }

    /* ========== Empty State ========== */
    .panelino-empty-state {
        padding: 40px 20px !important;
        border-radius: 12px !important;
    }

    .panelino-empty-state-icon {
        font-size: 48px !important;
        margin-bottom: 15px !important;
    }

    .panelino-empty-state h4 {
        font-size: 16px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
    }

    .panelino-empty-state p {
        font-size: 13px !important;
    }

    /* ========== Sidebar Navigation ========== */
    .panelino-sidebar {
        display: none !important;
    }

    /* نمایش دکمه خروج در تب پروفایل برای موبایل */
    .panelino-profile-logout-section {
        margin-top: 24px !important;
    }

    .panelino-profile-logout-btn {
        padding: 14px 20px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
    }

    /* ========== بخش آدرس‌ها در پروفایل موبایل ========== */
    .panelino-profile-addresses-section {
        padding: 15px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }

    .panelino-profile-addresses-section .panelino-menu-section-header {
        gap: 8px !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }

    .panelino-profile-addresses-section .panelino-addresses-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .panelino-profile-addresses-section .panelino-address-card {
        padding: 15px !important;
        border-radius: 12px !important;
    }

    .panelino-profile-addresses-section .panelino-address-header {
        margin-bottom: 12px !important;
        gap: 10px !important;
    }

    .panelino-profile-addresses-section .panelino-address-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .panelino-profile-addresses-section .panelino-address-header h4 {
        font-size: 16px !important;
    }

    .panelino-profile-addresses-section .panelino-info-row {
        padding: 6px 0 !important;
        font-size: 12px !important;
    }

    .panelino-profile-addresses-section .panelino-info-row .panelino-label {
        font-size: 12px !important;
    }

    .panelino-profile-addresses-section .panelino-info-row .panelino-value {
        font-size: 12px !important;
    }

    .panelino-profile-addresses-section .panelino-address-actions {
        gap: 6px !important;
        padding-top: 8px !important;
    }

    .panelino-profile-addresses-section .panelino-address-btn {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
    }

    .panelino-profile-addresses-section .panelino-address-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    .panelino-profile-addresses-section .panelino-no-addresses {
        padding: 30px 15px !important;
        border-radius: 12px !important;
    }

    .panelino-profile-addresses-section .panelino-no-addresses .panelino-empty-icon {
        font-size: 40px !important;
        margin-bottom: 12px !important;
    }

    .panelino-profile-addresses-section .panelino-no-addresses h4 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    .panelino-profile-addresses-section .panelino-no-addresses p {
        font-size: 12px !important;
        margin-bottom: 15px !important;
    }

    .panelino-profile-addresses-section .panelino-addresses-action-bar {
        margin-top: 15px !important;
        padding-top: 12px !important;
    }

    .panelino-profile-addresses-section .panelino-addresses-action-bar .panelino-ui-btn {
        padding: 12px 16px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }

    /* ========== Tab Content ========== */
    .panelino-tab-content {
        padding: 0 !important;
    }

    /* ========== Grid های عمومی ========== */
    .panelino-grid {
        gap: 12px !important;
    }

    /* ========== Badge ها ========== */
    .panelino-badge {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }

    /* ========== Input ها ========== */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    select,
    textarea {
        font-size: 14px !important;
        padding: 10px 12px !important;
        border-radius: 8px !important;
    }

    /* ========== Table ها ========== */
    .panelino-table {
        font-size: 13px !important;
    }

    .panelino-table th {
        font-size: 12px !important;
        font-weight: 600 !important;
        padding: 10px 8px !important;
    }

    .panelino-table td {
        font-size: 12px !important;
        padding: 10px 8px !important;
    }

    /* ========== Alert ها ========== */
    .panelino-alert,
    .panelino-notice {
        padding: 12px 15px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
        margin-bottom: 12px !important;
    }

    .panelino-alert h4,
    .panelino-notice h4 {
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-bottom: 6px !important;
    }

    /* ========== Pagination ========== */
    .panelino-pagination {
        gap: 6px !important;
    }

    .panelino-pagination a,
    .panelino-pagination span {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    /* ========== Tooltip ========== */
    .panelino-tooltip {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }

    /* ========== Progress Bar ========== */
    .panelino-progress {
        height: 8px !important;
        border-radius: 4px !important;
    }

    .panelino-progress-bar {
        font-size: 11px !important;
    }

    /* ========== Tabs ========== */
    .panelino-tabs {
        gap: 8px !important;
    }

    .panelino-tab-btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

    /* ========== Accordion ========== */
    .panelino-accordion-item {
        margin-bottom: 10px !important;
    }

    .panelino-accordion-header {
        padding: 12px 15px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .panelino-accordion-body {
        padding: 12px 15px !important;
        font-size: 13px !important;
    }

    /* ========== Dropdown ========== */
    .panelino-dropdown-menu {
        font-size: 13px !important;
        padding: 8px 0 !important;
    }

    .panelino-dropdown-item {
        padding: 8px 15px !important;
        font-size: 13px !important;
    }

    /* ========== Spinner ========== */
    .panelino-spinner {
        width: 24px !important;
        height: 24px !important;
    }

    /* ========== Toast ========== */
    .panelino-toast {
        padding: 12px 15px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }

    .panelino-toast-title {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .panelino-toast-message {
        font-size: 12px !important;
    }
}

/* نمایش هدر اپ فقط در موبایل؛ مخفی در دسکتاپ */
@media (min-width: 992px) {
    .panelino-app-header {
        display: none !important;
    }
}

/* هدر داشبورد */
.panelino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.panelino-header h2 {
    margin: 0;
    color: #333;
    font-size: 28px;
}

/* دکمه‌های مدرن */
/* دکمه‌های UI - جلوگیری از تداخل با قالب */
.panelino-ui-btn {
    padding: 13px 32px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    letter-spacing: -0.01em !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.panelino-ui-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: white !important;
    width: 30%;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2) !important;
}

.panelino-ui-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.panelino-ui-btn-primary:active {
    transform: translateY(0);
}

.panelino-logout-btn {
    background: #f44336;
    color: white !important;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.panelino-logout-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

/* بخش خوش آمدگویی */
.panelino-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 15px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.panelino-avatar {
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.panelino-avatar img {
    display: block;
    border-radius: 50%;
}

.panelino-welcome-text h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.panelino-welcome-text p {
    margin: 0;
    opacity: 0.9;
}

/* کارت‌های آماری مدرن */
.panelino-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.panelino-stat-card {
    background: var(--panelino-bg-card);
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.panelino-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.panelino-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    border-color: #e0e7ff;
}

.panelino-stat-icon {
    font-size: 42px;
    line-height: 1;
    min-width: 42px;
}

.panelino-stat-info {
    flex: 1;
}

.panelino-stat-info h4 {
    margin: 0 0 6px 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.panelino-stat-info p {
    margin: 0;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Empty State مدرن */
.panelino-empty-state {
    text-align: center;
    padding: 60px 30px;
    background: var(--panelino-bg-card);
    border-radius: 18px;
    border: 2px dashed #e5e7eb;
}

.panelino-empty-state-icon {
    font-size: 64px;
    opacity: 0.3;
    margin-bottom: 20px;
}

.panelino-empty-state h4 {
    font-size: 18px;
    color: #374151;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.panelino-empty-state p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

/* بخش پروفایل مدرن */
.panelino-profile-section {
    background: var(--panelino-bg-card);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
}

.panelino-profile-section h3 {
    margin: 0 0 28px 0;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
}

/* ========== بخش هدر پروفایل ========== */
.panelino-profile-header-section {
    background: var(--panelino-bg-card);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
}

.panelino-profile-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.panelino-profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #e5e7eb;
}

.panelino-profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panelino-profile-details {
    flex: 1;
    min-width: 0;
}

.panelino-profile-name {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.panelino-profile-phone {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.panelino-profile-edit-btn {
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.panelino-profile-edit-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ========== کارت‌های آماری پروفایل ========== */
.panelino-profile-stats-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.panelino-profile-stat-card {
    background: var(--panelino-bg-card);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s;
}

.panelino-profile-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.panelino-profile-stat-card.panelino-points {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #93c5fd;
}

.panelino-profile-stat-card.panelino-orders {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fcd34d;
}

.panelino-stat-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
}

.panelino-stat-card-icon .panelino-icon-svg {
    width: 28px;
    height: 28px;
    stroke: #1f2937;
}

.panelino-stat-card-value {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.panelino-stat-card-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* ========== بخش‌های منو ========== */
.panelino-profile-menu-section {
    background: var(--panelino-bg-card);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
}

.panelino-menu-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.panelino-menu-section-header .panelino-icon-svg {
    width: 20px;
    height: 20px;
    stroke: #3b82f6;
}

.panelino-menu-section-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

.panelino-menu-badge {
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
}

.panelino-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.panelino-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    text-decoration: none;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s;
}

.panelino-menu-item:last-child {
    border-bottom: none;
}

.panelino-menu-item:hover {
    color: #3b82f6;
    padding-inline-start: 5px;
}

.panelino-menu-item-text {
    font-size: 15px;
    font-weight: 500;
}

.panelino-menu-item .panelino-icon-svg {
    width: 18px;
    height: 18px;
    stroke: #9ca3af;
    transition: all 0.3s;
}

.panelino-menu-item:hover .panelino-icon-svg {
    stroke: #3b82f6;
}

/* ========== بخش آدرس‌ها در پروفایل ========== */
.panelino-profile-addresses-section {
    background: var(--panelino-bg-card);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
}

.panelino-addresses-container {
    margin-top: 15px;
}

.panelino-addresses-action-bar {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.panelino-addresses-action-bar .panelino-ui-btn {
    width: 100%;
    justify-content: center;
}

/* تنظیمات برای آدرس‌ها در پروفایل */
.panelino-profile-addresses-section .panelino-addresses-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

@media (min-width: 768px) {
    .panelino-profile-addresses-section .panelino-addresses-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (min-width: 992px) {
    .panelino-profile-addresses-section .panelino-addresses-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

.panelino-profile-addresses-section .panelino-address-card {
    padding: 18px;
    border-radius: 14px;
}

.panelino-profile-addresses-section .panelino-no-addresses {
    padding: 40px 20px;
    border-radius: 16px;
    margin: 10px 0;
}

.panelino-profile-addresses-section .panelino-no-addresses .panelino-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.panelino-profile-addresses-section .panelino-no-addresses h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.panelino-profile-addresses-section .panelino-no-addresses p {
    font-size: 13px;
    margin-bottom: 20px;
}

/* فرم‌های مدرن */
.panelino-form {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.panelino-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .panelino-form-row {
        grid-template-columns: 1fr;
    }
}

.panelino-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.panelino-form-group label {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.panelino-form-group label .panelino-required {
    color: #ef4444;
    margin-inline-start: 3px;
}

/* اینپوت‌های UI - جلوگیری از تداخل با قالب */
.panelino-form-group .panelino-ui-input,
.panelino-form-group .panelino-ui-input[type="email"],
.panelino-form-group .panelino-ui-input[type="text"],
.panelino-form-group .panelino-ui-input[type="password"],
.panelino-form-group input,
.panelino-form-group input[type="email"],
.panelino-form-group input[type="text"],
.panelino-form-group input[type="password"],
.panelino-form-group input[type="number"],
.panelino-form-group input[type="tel"],
.panelino-form-group textarea,
.panelino-form-group select {
    padding: 13px 16px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    width: 100% !important;
    box-sizing: border-box !important;
    background: var(--panelino-surface-muted) !important;
    color: #111827 !important;
    margin: 0 !important;
    outline: none !important;
}

.panelino-form-group .panelino-ui-input:focus,
.panelino-form-group .panelino-ui-input[type="email"]:focus,
.panelino-form-group .panelino-ui-input[type="text"]:focus,
.panelino-form-group .panelino-ui-input[type="password"]:focus,
.panelino-form-group input:focus,
.panelino-form-group input[type="email"]:focus,
.panelino-form-group input[type="text"]:focus,
.panelino-form-group input[type="password"]:focus,
.panelino-form-group input[type="number"]:focus,
.panelino-form-group input[type="tel"]:focus,
.panelino-form-group textarea:focus,
.panelino-form-group select:focus {
    outline: none;
    border-color: #6366f1;
    background: var(--panelino-bg-card);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.panelino-form-group .panelino-ui-input.panelino-error,
.panelino-form-group input.error,
.panelino-form-group textarea.error,
.panelino-form-group select.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.panelino-form-group .panelino-ui-input.panelino-error:focus,
.panelino-form-group input.error:focus,
.panelino-form-group textarea.error:focus,
.panelino-form-group select.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* بخش احراز هویت */
.panelino-auth-container {
    max-width: 450px;
    margin: 0 auto;
    background: var(--panelino-bg-card);
    padding: 24px 32px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* کاهش margin برای صفحه لاگین */
.panelino-container:has(.panelino-auth-container),
.panelino-standalone-auth .panelino-container {
    min-height: auto;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.panelino-container:has(.panelino-auth-container) .panelino-auth-container,
.panelino-standalone-auth .panelino-auth-container {
    margin: auto;
}

/* محتوای تب‌ها در بخش احراز هویت */
.panelino-auth-container .panelino-tab-content {
    display: none;
}

.panelino-auth-container .panelino-tab-content.active,
.panelino-auth-container .panelino-tab-content.panelino-active {
    display: block !important;
}

/* هدر صفحه ورود - لوگو و برند */
.panelino-login-header {
    text-align: center;
    margin-bottom: 20px;
}

.panelino-logo-container {
    margin-bottom: 10px;
}

.panelino-logo,
.panelino-logo-placeholder {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto;
}

.panelino-logo {
    object-fit: contain;
}

.panelino-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panelino-logo-placeholder svg {
    width: 100%;
    height: 100%;
}

.panelino-brand-name {
    font-size: 20px;
    font-weight: 600;
    color: #1a73e8;
    margin: 0;
    font-family: inherit;
}

/* پیام خوش‌آمدگویی */
.panelino-welcome-message {
    text-align: center;
    margin-bottom: 10px;
}

.panelino-welcome-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    font-family: inherit;
}

.panelino-welcome-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* گروه فیلد شماره تماس */
.panelino-phone-group {
    margin-bottom: 18px;
}

.panelino-phone-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    text-align: start;
}

.panelino-ui-phone-input-container {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 0 15px;
    background: var(--panelino-bg-card);
    transition: all 0.3s ease;
}

.panelino-phone-icon {
    color: #666;
    margin-inline-end: 12px;
    flex-shrink: 0;
}

.panelino-ui-phone-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 16px;
    background: transparent;
    color: #333;
    text-align: start;
}

.panelino-ui-phone-input::placeholder {
    color: #999;
    font-size: 14px;
}

/* جداکننده - حذف شده */
.panelino-separator {
    display: none;
}

/* دکمه‌های ورود اجتماعی - حذف شده */
.panelino-social-login {
    display: none;
}

/* دکمه ورود */
.panelino-login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    margin-bottom: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.panelino-login-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* لینک قوانین */
.panelino-terms-link {
    display: block;
    text-align: center;
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    margin-bottom: 20px;
}

.panelino-terms-link:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* لینک ثبت نام */
.panelino-register-link-wrapper {
    text-align: center;
    margin-top: 0px;
    padding-top: 3px;
    border-top: 1px solid #e0e0e0;
}

.panelino-register-link-text {
    color: #666;
    font-size: 12px;
    margin-inline-end: 5px;
    line-height: 1.4;
}

.panelino-register-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.panelino-register-link:hover {
    color: #1557b0;
    text-decoration: underline;
}

/* تب‌ها */
.panelino-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.panelino-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.panelino-tab.panelino-active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: bold;
}

.panelino-tab:hover {
    color: #667eea;
}

/* محتوای تب */
.panelino-tab-content {
    display: none;
}

.panelino-tab-content.panelino-active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.panelino-tab-content h2 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
    text-align: center;
}

/* ========== سیستم نوتیفیکیشن مدرن ========== */

/* کانتینر نوتیفیکیشن */
.panelino-toast-container {
    position: fixed;
    top: 20px;
    inset-inline-end: 20px;
    z-index: 999999;
    pointer-events: none;
}

/* پاپ‌آپ نوتیفیکیشن مدرن */
.panelino-toast {
    pointer-events: all;
    min-width: 320px;
    max-width: 420px;
    padding: 18px 22px;
    margin-bottom: 16px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--panelino-bg-card);
    border-inline-start: 4px solid #6366f1;
    animation: slideInRight 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* انیمیشن ورود نرم */
@keyframes slideInRight {
    from {
        transform: translateX(-100%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* انیمیشن خروج نرم */
@keyframes slideOutRight {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    to {
        transform: translateX(-120%) scale(0.9);
        opacity: 0;
    }
}

.panelino-toast.hiding {
    animation: slideOutRight 0.35s cubic-bezier(0.4, 0, 1, 1) forwards;
}

/* نوار پیشرفت خودکار مدرن */
.panelino-toast::before {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    animation: progress 5s linear forwards;
    border-radius: 0 0 16px 16px;
}

@keyframes progress {
    from {
        width: 100%;
        opacity: 1;
    }

    to {
        width: 0%;
        opacity: 0.5;
    }
}

/* آیکون نوتیفیکیشن مدرن */
.panelino-toast-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* محتوای نوتیفیکیشن */
.panelino-toast-content {
    flex: 1;
}

.panelino-toast-title {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 5px 0;
    color: #111827;
    letter-spacing: -0.01em;
}

.panelino-toast-message {
    font-size: 13px;
    margin: 0;
    color: #666;
    line-height: 1.4;
}

/* دکمه بستن */
.panelino-toast-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    color: #999;
    transition: all 0.2s ease;
}

.panelino-toast-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: scale(1.15);
}

/* انواع نوتیفیکیشن */

/* موفقیت */
.panelino-toast.panelino-success {
    border-inline-start-color: #10b981;
}

.panelino-toast.panelino-success .panelino-toast-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.panelino-toast.panelino-success::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

/* خطا */
.panelino-toast.panelino-error {
    border-inline-start-color: #ef4444;
}

.panelino-toast.panelino-error .panelino-toast-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.panelino-toast.panelino-error::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* هشدار */
.panelino-toast.warning {
    border-inline-start-color: #f59e0b;
}

.panelino-toast.warning .panelino-toast-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.panelino-toast.warning::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* اطلاعات */
.panelino-toast.info {
    border-inline-start-color: #3b82f6;
}

.panelino-toast.info .panelino-toast-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.panelino-toast.info::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

/* پیام‌های قدیمی (برای سازگاری با قبل) */
.panelino-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.panelino-message.panelino-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.panelino-message.panelino-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== بخش کیف پول ========== */

.panelino-wallet-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
}

/* هدر کیف پول مدرن - طراحی موبایل */
.panelino-wallet-header {
    background: transparent;
    padding: 20px;
    border-radius: 0;
    color: #333;
}

.panelino-wallet-balance-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: var(--panelino-bg-card);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.panelino-balance-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.panelino-balance-icon .panelino-icon-svg {
    width: 48px;
    height: 48px;
    stroke: #3b82f6;
}

.panelino-balance-info {
    flex: 1;
    text-align: center;
    width: 100%;
}

.panelino-balance-label {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.panelino-balance-amount {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #3b82f6;
    display: inline-block;
}

.panelino-balance-currency {
    font-size: 16px;
    color: #3b82f6;
    margin-inline-start: 5px;
    font-weight: 600;
}

.panelino-balance-status {
    text-align: center;
    margin-top: 10px;
}

.panelino-status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.panelino-status-badge.panelino-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.panelino-balance-status small {
    display: block;
    color: #9ca3af;
    font-size: 12px;
    margin-top: 5px;
}

/* آمار */
.panelino-wallet-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    background: transparent;
}

.panelino-stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    background: var(--panelino-surface-muted);
    transition: all 0.3s;
}

.panelino-stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.panelino-stat-box.panelino-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-inline-start: 4px solid #10b981;
}

.panelino-stat-box.danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-inline-start: 4px solid #ef4444;
}

.panelino-stat-box.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-inline-start: 4px solid #f59e0b;
}

.panelino-stat-box.info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-inline-start: 4px solid #3b82f6;
}

.panelino-stat-icon {
    font-size: 32px;
}

.panelino-stat-content {
    display: flex;
    flex-direction: column;
}

.panelino-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.panelino-stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* دکمه‌های عملیات - طراحی موبایل */
.panelino-wallet-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
}

.panelino-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--panelino-bg-card);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    min-height: 90px;
}

.panelino-action-btn.panelino-charge {
    background: var(--panelino-bg-card);
    color: #333;
    border-color: #e5e7eb;
}

.panelino-action-btn.panelino-charge .panelino-btn-icon {
    color: #3b82f6;
}

.panelino-action-btn.panelino-withdraw {
    background: var(--panelino-bg-card);
    color: #333;
    border-color: #e5e7eb;
}

.panelino-action-btn.panelino-withdraw .panelino-btn-icon {
    color: #ef4444;
}

.panelino-action-btn.panelino-coupon {
    background: var(--panelino-bg-card);
    color: #333;
    border-color: #e5e7eb;
}

.panelino-action-btn.panelino-coupon .panelino-btn-icon {
    color: #f59e0b;
}

.panelino-action-btn.panelino-points {
    background: var(--panelino-bg-card);
    color: #333;
    border-color: #e5e7eb;
}

.panelino-action-btn.panelino-points .panelino-btn-icon {
    color: #8b5cf6;
}

.panelino-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: var(--panelino-surface-muted);
}

.panelino-btn-icon {
    font-size: 28px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panelino-btn-icon .panelino-icon-svg {
    width: 28px;
    height: 28px;
}

.panelino-btn-text {
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
}

/* بخش تراکنش‌ها */
.panelino-transactions-section {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: var(--panelino-surface-muted);
}

.panelino-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.panelino-section-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1f2937;
    font-weight: 700;
}

.panelino-transaction-filters select {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.panelino-transaction-filters select:focus {
    outline: none;
    border-color: #667eea;
}

/* لیست تراکنش‌ها */
.panelino-transactions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panelino-no-transactions {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.panelino-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.panelino-no-transactions p {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #666;
}

.panelino-no-transactions small {
    font-size: 14px;
    color: #999;
}

.panelino-transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--panelino-bg-card);
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    margin-bottom: 8px;
}

.panelino-transaction-item:hover {
    background: var(--panelino-surface-muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.panelino-transaction-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: var(--panelino-surface-subtle);
}

.panelino-transaction-icon.panelino-positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.panelino-transaction-icon.panelino-negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.panelino-transaction-icon .panelino-icon-svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.panelino-transaction-details {
    flex: 1;
    min-width: 0;
}

.panelino-transaction-details h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.panelino-transaction-details p {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #6b7280;
}

.panelino-transaction-details small {
    font-size: 12px;
    color: #9ca3af;
    display: block;
    margin-top: 4px;
}

.panelino-transaction-amount {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    text-align: end;
}

.panelino-transaction-amount.panelino-positive {
    color: #10b981;
}

.panelino-transaction-amount.panelino-negative {
    color: #ef4444;
}

/* بخش کوپن‌های اختصاصی */
.panelino-exclusive-coupons-section {
    padding: 20px 40px 40px 40px;
}

.panelino-no-coupons {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
}

.panelino-no-coupons .panelino-empty-icon {
    font-size: 56px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.panelino-no-coupons h4 {
    font-size: 18px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 10px 0;
}

.panelino-no-coupons p {
    color: #b45309;
    font-size: 14px;
    margin: 0;
}

/* Grid کارت‌های کوپن */
.panelino-coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* کارت کوپن */
.panelino-coupon-card {
    background: var(--panelino-bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.panelino-coupon-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    height: 4px;
    background: linear-gradient(90deg, #d1d5db, #9ca3af);
    transition: background 0.3s ease;
}

.panelino-coupon-card.panelino-active {
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

.panelino-coupon-card.panelino-active::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.panelino-coupon-card.inactive {
    opacity: 0.7;
}

.panelino-coupon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* هدر کوپن */
.panelino-coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.panelino-coupon-badge span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.panelino-badge-active {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.panelino-badge-used {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    color: #4b5563;
}

.panelino-badge-expired {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

/* درصد تخفیف */
.panelino-coupon-percent {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 10px 20px;
    border-radius: 12px;
}

.panelino-percent-number {
    font-size: 28px;
    font-weight: 900;
    color: #92400e;
    line-height: 1;
}

.panelino-percent-label {
    font-size: 11px;
    color: #b45309;
    margin-top: 2px;
}

/* نمایش کد */
.panelino-coupon-code-box {
    background: var(--panelino-surface-muted);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
}

.panelino-coupon-code-box label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 600;
}

.panelino-code-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.panelino-coupon-code {
    background: var(--panelino-bg-card);
    border: 2px dashed #10b981;
    padding: 10px 15px;
    border-radius: 8px;
    
    font-size: 16px;
    font-weight: 700;
    color: #059669;
    letter-spacing: 1px;
    flex: 1;
    text-align: center;
}

.panelino-copy-btn {
    background: #10b981;
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.panelino-copy-btn:hover {
    background: #059669;
    transform: scale(1.1);
}

/* جزئیات کوپن */
.panelino-coupon-details {
    margin-bottom: 12px;
}

.panelino-coupon-expiry {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    font-size: 13px;
    font-weight: 600;
}

.panelino-coupon-expiry svg {
    color: #10b981;
}

.panelino-coupon-used-date,
.panelino-coupon-expired-date {
    font-size: 13px;
    color: #6b7280;
}

.panelino-coupon-description {
    background: var(--panelino-surface-subtle);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.panelino-coupon-description small {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

/* دکمه استفاده */
.panelino-use-coupon-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.panelino-use-coupon-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

/* بخش کش بک */
.panelino-cashback-section {
    padding: 20px 40px 40px 40px;
}

.panelino-cashback-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 12px;
    border-inline-start: 4px solid #f59e0b;
}

.panelino-cashback-icon {
    font-size: 48px;
}

.panelino-cashback-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
}

.panelino-cashback-content p {
    margin: 0 0 12px 0;
    color: #666;
    font-size: 14px;
}

.panelino-cashback-example {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    font-size: 13px;
    color: #333;
}

/* مودال‌های کیف پول */
.panelino-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.panelino-modal.panelino-active,
.panelino-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.panelino-modal-overlay {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.panelino-modal-content {
    position: relative;
    background: var(--panelino-bg-card);
    padding: 35px;
    border-radius: 20px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-40px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.panelino-modal-close {
    position: absolute !important;
    top: 16px !important;
    inset-inline-end: 16px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    border: none !important;
    background: var(--panelino-surface-subtle) !important;
    font-size: 20px !important;
    line-height: 38px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.panelino-modal-close:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35) !important;
    transform: scale(1.08) rotate(90deg) !important;
}

.panelino-modal-content h3 {
    margin: 0 0 28px 0;
    font-size: 24px;
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.panelino-cashback-info {
    padding: 16px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #155724;
}

.panelino-cashback-info strong {
    color: #10b981;
    font-size: 18px;
}

/* ========== بخش اعلانات ========== */

.panelino-notifications-container {
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

/* هدر اعلانات - طراحی مدرن */
.panelino-notifications-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding: 35px 40px;
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #3b82f6 100%);
    border-radius: 24px;
    color: white;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.panelino-notifications-header::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: notificationHeaderShimmer 8s ease-in-out infinite;
    pointer-events: none;
}

.panelino-notifications-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.45);
}

@keyframes notificationHeaderShimmer {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(0);
    }

    50% {
        opacity: 0.8;
        transform: translateX(10px);
    }
}

.panelino-notif-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.panelino-notif-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.panelino-notifications-header:hover .panelino-notif-icon {
    transform: rotate(5deg) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    animation: notificationIconPulse 2s ease-in-out infinite;
}

.panelino-notif-icon .panelino-icon-svg {
    width: 32px;
    height: 32px;
    color: white;
    animation: notificationIconFloat 3s ease-in-out infinite;
}

@keyframes notificationIconPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

@keyframes notificationIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.panelino-notif-info {
    flex: 1;
}

.panelino-notif-info h2 {
    margin: 0 0 8px 0;
    text-align: start;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.panelino-notif-info p {
    margin: 0;
    opacity: 0.95;
    font-size: 15px;
    font-weight: 500;
}

.panelino-notif-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.panelino-notif-action-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.panelino-notif-action-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.panelino-notif-action-btn .panelino-icon-svg {
    width: 16px;
    height: 16px;
}

.panelino-notif-filter-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.panelino-notif-filter-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.panelino-notif-filter-btn .panelino-icon-svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.panelino-notif-filter-btn.panelino-active .panelino-icon-svg {
    transform: rotate(180deg);
}

/* بج تعداد اعلانات */
.panelino-notification-badge {
    display: inline-block;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    line-height: 20px;
    text-align: center;
    margin-inline-start: 6px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* لیست اعلانات */
.panelino-notifications-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panelino-no-notifications {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--panelino-surface-muted) 0%, var(--panelino-surface-subtle) 100%);
    border-radius: 24px;
    border: 2px dashed #cbd5e1;
    position: relative;
    overflow: hidden;
}

.panelino-no-notifications::before {
    content: '';
    position: absolute;
    top: -50%;
    inset-inline-end: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    animation: emptyNotificationFloat 6s ease-in-out infinite;
}

@keyframes emptyNotificationFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg);
    }
}

.panelino-empty-notif-icon {
    position: relative;
    z-index: 1;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    animation: emptyIconFloat 3s ease-in-out infinite;
}

.panelino-empty-notif-icon .panelino-icon-svg {
    width: 48px;
    height: 48px;
    color: #3b82f6;
}

@keyframes emptyIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.panelino-no-notifications h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.panelino-no-notifications p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
}

/* آیتم اعلان - طراحی مدرن */
.panelino-notification-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--panelino-bg-card);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: notificationItemFadeIn 0.5s ease-out backwards;
}

.panelino-notification-item:nth-child(1) {
    animation-delay: 0.1s;
}

.panelino-notification-item:nth-child(2) {
    animation-delay: 0.2s;
}

.panelino-notification-item:nth-child(3) {
    animation-delay: 0.3s;
}

.panelino-notification-item:nth-child(4) {
    animation-delay: 0.4s;
}

.panelino-notification-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes notificationItemFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.panelino-notification-item::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.panelino-notification-item:hover::before {
    transform: translateX(100%);
}

.panelino-notification-item.panelino-unread {
    /* Disable unread gradient background, blue border, and extra shadows to keep standard clean design */
    /* background: linear-gradient(135deg, #ffffff 0%, #dbeafe 50%, #ffffff 100%); */
    /* border-inline-start: 5px solid #93c5fd; */
    /* box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15); */
    position: relative;
}

.panelino-notification-item.panelino-unread::after {
    /* Hide the pulsing blue dot for a cleaner look */
    display: none;
    content: '';
    position: absolute;
    top: 20px;
    inset-inline-start: 20px;
    width: 10px;
    height: 10px;
    background: #93c5fd;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    animation: notificationDotPulse 2s ease-in-out infinite;
}

@keyframes notificationDotPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
}

.panelino-notification-item:hover {
    background: linear-gradient(135deg, var(--panelino-bg-card) 0%, var(--panelino-surface-muted) 100%);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #93c5fd;
}

.panelino-notif-status {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.panelino-notification-item:hover .panelino-notif-status {
    transform: rotate(5deg) scale(1.1);
    box-shadow: none;
}

.panelino-notif-status.panelino-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: none;
}

.panelino-notif-status.panelino-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: none;
}

.panelino-notif-status.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: none;
}

.panelino-notif-status.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: none;
}

.panelino-notif-type-icon {
    width: auto;
    height: auto;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.panelino-notification-item:hover .panelino-notif-type-icon {
    transform: scale(1.15);
    animation: notificationIconBounce 0.6s ease;
}

@keyframes notificationIconBounce {

    0%,
    100% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(1.3) rotate(10deg);
    }
}

.panelino-notif-content {
    flex: 1;
    min-width: 0;
}

.panelino-notif-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.panelino-notification-item:hover .panelino-notif-content h4 {
    color: #3b82f6;
}

.panelino-notif-content p {
    margin: 0 0 14px 0;
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    font-weight: 500;
}

.panelino-notif-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.panelino-notif-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    padding: 6px 12px;
    background: var(--panelino-surface-subtle);
    border-radius: 8px;
}

.panelino-notif-time svg {
    width: 14px;
    height: 14px;
    color: #64748b;
}

.panelino-notifications-container .panelino-notif-badge,
.panelino-notification-item .panelino-notif-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    padding: 6px 14px;
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
    backdrop-filter: none;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
    }
}

.panelino-notif-link {
    display: none !important;
}

.panelino-notif-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.panelino-notif-btn {
    width: 50px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: var(--panelino-surface-subtle);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.panelino-notif-btn svg {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    stroke: #64748b;
}

.panelino-notif-btn:hover {
    background: #93c5fd;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.panelino-notif-btn:hover svg {
    stroke: white;
    transform: scale(1.1);
}

.panelino-notif-btn.panelino-delete-notif:hover {
    background: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.panelino-notif-btn::before,
.panelino-notif-btn::after,
.panelino-notif-btn:hover::before,
.panelino-notif-btn:hover::after,
.panelino-notif-btn:focus::before,
.panelino-notif-btn:focus::after,
.panelino-mark-read::before,
.panelino-mark-read::after,
.panelino-delete-notif::before,
.panelino-delete-notif::after {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
    width: 0 !important;
    height: 0 !important;
}

.panelino-notif-btn {
    background: var(--panelino-surface-subtle) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    border: none !important;
    outline: none !important;
}

.panelino-notif-btn:hover {
    background: #93c5fd !important;
    box-shadow: none !important;
}

.panelino-notif-btn:focus,
.panelino-notif-btn:active,
.panelino-notif-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.panelino-notification-item::before,
.panelino-notification-item::after,
.panelino-notification-item.panelino-unread::before,
.panelino-notification-item.panelino-unread::after {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* راهنما - طراحی مدرن */
.panelino-notifications-help {
    margin-top: 35px;
    padding: 0;
}

.panelino-help-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.panelino-help-card::before {
    content: '';
    position: absolute;
    top: -50%;
    inset-inline-start: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: helpCardShine 4s ease-in-out infinite;
}

@keyframes helpCardShine {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg);
    }
}

.panelino-help-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.panelino-help-icon {
    font-size: 36px;
}

/* بخش خروج از حساب در تب پروفایل */
.panelino-profile-logout-section {
    margin-top: 30px;
    padding: 0;
}

.panelino-profile-logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.panelino-profile-logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: logoutBtnShimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoutBtnShimmer {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(0);
    }

    50% {
        opacity: 0.8;
        transform: translateX(10px);
    }
}

.panelino-profile-logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
}

.panelino-profile-logout-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.panelino-profile-logout-btn .panelino-icon-svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.panelino-profile-logout-btn:hover .panelino-icon-svg {
    transform: translateX(-3px);
}

.panelino-profile-logout-btn span {
    position: relative;
    z-index: 1;
}

.panelino-help-content h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #333;
}

.panelino-help-content ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.panelino-help-content li {
    margin: 6px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ========== بخش محصولات و سفارشات ========== */

.panelino-products-orders-section {
    width: 100%;
}

/* بخش محصولات */
.panelino-products-showcase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.panelino-products-showcase .panelino-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.panelino-products-showcase .panelino-section-header h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.panelino-products-showcase .panelino-section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

/* Grid محصولات */
.panelino-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* کارت محصول */
.panelino-product-card {
    background: var(--panelino-bg-card);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.panelino-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.panelino-product-card:hover::before {
    transform: scaleX(1);
}

.panelino-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

/* آیکون محصول */
.panelino-product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.panelino-product-card:hover .panelino-product-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #667eea25, #764ba225);
}

/* عنوان محصول */
.panelino-product-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

/* توضیحات محصول */
.panelino-product-desc {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* ویژگی‌های محصول */
.panelino-product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.panelino-product-features span {
    color: #10b981;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* دکمه محصول */
.panelino-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.panelino-product-btn:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.panelino-product-btn svg {
    transition: transform 0.3s ease;
}

.panelino-product-btn:hover svg {
    transform: translateX(-3px);
}

/* جداکننده */
.panelino-section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 40px 0;
    position: relative;
}

.panelino-section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-end: 50%;
    transform: translate(-50%, -50%);
    background: var(--panelino-bg-card);
    color: #9ca3af;
    font-size: 20px;
    padding: 0 15px;
}

/* ========== بخش سفارشات ========== */

.panelino-orders-section .panelino-section-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
}

.panelino-orders-section .panelino-section-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.panelino-orders-section .panelino-section-header p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* حالت خالی سفارشات */
.panelino-no-orders {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 20px;
    padding: 60px 30px;
    text-align: center;
}

.panelino-no-orders .panelino-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.panelino-no-orders h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.panelino-no-orders p {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

.panelino-orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* کارت سفارش */
.panelino-order-card {
    background: var(--panelino-surface-muted);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.panelino-order-card:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
}

.panelino-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.panelino-order-header h4 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.panelino-order-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.panelino-status-completed {
    background: #d4edda;
    color: #155724;
}

.panelino-status-processing {
    background: var(--panelino-alert-warning-bg);
    color: #856404;
}

.panelino-status-pending {
    background: #d1ecf1;
    color: #0c5460;
}

.panelino-status-cancelled,
.panelino-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.panelino-order-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

/* آیتم‌های سفارش */
.panelino-order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.panelino-order-item {
    display: flex;
    background: var(--panelino-bg-card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    flex-wrap: wrap;
    justify-content: space-around;
}

.panelino-item-info h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
}

.panelino-item-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.panelino-item-upload {
    margin-top: 15px;
}

.panelino-ui-btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.panelino-upload-status {
    color: #28a745;
    font-size: 13px;
    font-weight: 600;
}

/* محتوای آپلود شده - استایل ریسپانسیو */
.panelino-existing-content {
    margin-bottom: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.panelino-existing-content * {
    max-width: 100%;
    box-sizing: border-box;
}

.panelino-existing-content strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #1e293b;
}

.panelino-existing-content>div {
    margin-top: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Container برای فایل‌ها و تصاویر */
.panelino-existing-content>div>div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
    max-width: 100%;
    overflow: hidden;
}

/* فایل‌ها */
.panelino-existing-content a[target="_blank"] {
    display: inline-block;
    margin: 0;
    padding: 5px 10px;
    background: var(--panelino-bg-card);
    border-radius: 3px;
    text-decoration: none;
    color: #0066cc;
    word-break: break-all;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

/* تصاویر */
.panelino-existing-content>div>div a[target="_blank"] {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.panelino-existing-content img {
    max-width: 25px !important;
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
    object-fit: cover;
    display: block;
}

/* ویس (Audio Player) */
.panelino-existing-content audio {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 5px;
}

/* توضیحات */
.panelino-existing-content p {
    margin: 5px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    overflow: hidden;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .panelino-existing-content {
        padding: 12px;
        margin-bottom: 15px;
    }

    .panelino-existing-content strong {
        font-size: 13px;
    }

    .panelino-existing-content>div {
        margin-top: 8px;
    }

    /* Container برای فایل‌ها و تصاویر در موبایل */
    .panelino-existing-content>div>div {
        gap: 8px;
    }

    /* فایل‌ها در موبایل */
    .panelino-existing-content a[target="_blank"] {
        display: block;
        width: 100%;
        margin: 0;
        padding: 8px 10px;
        white-space: normal;
        word-break: break-all;
        max-width: 100%;
        flex: 1 1 100%;
    }

    /* تصاویر در موبایل */
    .panelino-existing-content img {
        max-width: 80px !important;
        max-height: 80px !important;
    }

    /* ویس در موبایل */
    .panelino-existing-content audio {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* توضیحات در موبایل */
    .panelino-existing-content p {
        font-size: 13px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .panelino-existing-content {
        padding: 10px;
    }

    .panelino-existing-content>div>div {
        gap: 6px;
    }

    .panelino-existing-content img {
        max-width: 60px !important;
        max-height: 60px !important;
    }

    .panelino-existing-content a[target="_blank"] {
        padding: 6px 8px;
        font-size: 12px;
    }

    /* آیکون‌ها در موبایل کوچک */
    .panelino-header-btn {
        width: 48px !important;
        height: 48px !important;
    }

    .panelino-header-btn .panelino-icon-svg {
        width: 26px !important;
        height: 26px !important;
    }

    .panelino-notif-type-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .panelino-notif-type-icon .panelino-icon-svg {
        width: 22px !important;
        height: 22px !important;
    }

    .panelino-service-box .panelino-icon-svg {
        width: 36px !important;
        height: 36px !important;
    }

    .panelino-home-card-icon .panelino-icon-svg {
        width: 30px !important;
        height: 30px !important;
    }

    .panelino-stat-card-icon .panelino-icon-svg {
        width: 28px !important;
        height: 28px !important;
    }

    .panelino-btn-icon .panelino-icon-svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* ========== CRITICAL FIX: Force SVG Icons to Display ========== */
/* External CSS (theme/Elementor) is hiding SVG icons with display: none */
/* This override ensures all plugin icons are visible */

.panelino-icon-svg,
.panelino-home-card-icon .panelino-icon-svg,
.panelino-home-card-action .panelino-icon-svg,
.panelino-nav-icon .panelino-icon-svg,
.panelino-stat-card-icon .panelino-icon-svg,
.panelino-service-box .panelino-icon-svg,
.panelino-menu-item .panelino-icon-svg,
.panelino-header-btn .panelino-icon-svg {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure SVG elements inside icons are also visible */
.panelino-icon-svg svg,
.panelino-icon-svg path,
.panelino-icon-svg line,
.panelino-icon-svg rect,
.panelino-icon-svg circle,
.panelino-icon-svg polyline,
.panelino-icon-svg polygon {
    display: inline !important;
    visibility: visible !important;
}


/* فرم آپلود */
.panelino-upload-form {
    margin-top: 20px;
    padding: 20px;
    background: var(--panelino-surface-subtle);
    border-radius: 8px;
    border: 1px dashed #999;
}

.panelino-upload-form .panelino-form-group {
    margin-bottom: 20px;
}

.panelino-upload-form .panelino-form-group:last-child {
    margin-bottom: 0;
}

.panelino-upload-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.panelino-file-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: var(--panelino-bg-card);
    cursor: pointer;
    transition: all 0.3s ease;
}

.panelino-file-input:hover {
    border-color: #667eea;
}

.panelino-upload-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.panelino-upload-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.panelino-upload-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.panelino-current-file {
    margin-bottom: 10px;
    padding: 10px;
    background: #e3f2fd;
    border-radius: 5px;
}

.panelino-current-file a {
    color: #1976d2;
    text-decoration: none;
    font-size: 14px;
}

.panelino-current-file a:hover {
    text-decoration: underline;
}

/* پیام اطلاعات */
.panelino-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* اعلان‌ها */
.panelino-notice {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.panelino-notice-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.panelino-notice-error p {
    margin: 0;
}

/* ========== مودال تأیید مدرن ========== */

.panelino-confirm-modal {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999998;
    animation: fadeInModal 0.3s ease;
}

.panelino-confirm-modal.panelino-active {
    display: flex;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.panelino-confirm-content {
    background: var(--panelino-bg-card);
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.panelino-confirm-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.panelino-confirm-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    text-align: center;
}

.panelino-confirm-message {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px 0;
    text-align: center;
}

.panelino-confirm-buttons {
    display: flex;
    gap: 12px;
}

.panelino-confirm-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.panelino-confirm-btn-cancel {
    background: var(--panelino-surface-subtle);
    color: #666;
}

.panelino-confirm-btn-cancel:hover {
    background: #e5e7eb;
}

.panelino-confirm-btn-confirm {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.panelino-confirm-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .panelino-container {
        padding: 15px;
    }

    .panelino-form-row {
        grid-template-columns: 1fr;
    }

    .panelino-stats {
        grid-template-columns: 1fr;
    }

    .panelino-welcome {
        flex-direction: column;
        text-align: center;
    }

    .panelino-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .panelino-auth-container {
        padding: 25px;
    }

    .panelino-order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .panelino-order-meta {
        flex-direction: column;
        gap: 10px;
    }

    .panelino-tabs {
        flex-direction: column;
    }

    .panelino-orders-section {
        padding: 20px;
    }

    /* نوتیفیکیشن‌ها در موبایل */
    .panelino-toast-container {
        top: 10px;
        inset-inline-end: 10px;
        inset-inline-start: 10px;
        width: auto;
    }

    .panelino-toast {
        min-width: auto;
        width: 100%;
        padding: 14px 16px;
    }

    .panelino-toast-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .panelino-toast-title {
        font-size: 13px;
    }

    .panelino-toast-message {
        font-size: 12px;
    }

    /* کیف پول در موبایل */
    .panelino-wallet-header {
        padding: 15px;
    }

    .panelino-wallet-balance-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 24px 16px;
        border-radius: 12px;
    }

    .panelino-balance-icon {
        width: 50px;
        height: 50px;
    }

    .panelino-balance-icon .panelino-icon-svg {
        width: 40px;
        height: 40px;
    }

    .panelino-balance-amount {
        font-size: 28px;
    }

    .panelino-balance-currency {
        font-size: 14px;
    }

    .panelino-balance-status {
        text-align: center;
    }

    .panelino-wallet-stats {
        padding: 15px;
        gap: 12px;
    }

    .panelino-wallet-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .panelino-action-btn {
        min-height: 85px;
        padding: 12px 6px;
    }

    .panelino-btn-icon {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

    .panelino-btn-icon .panelino-icon-svg {
        width: 24px;
        height: 24px;
    }

    .panelino-btn-text {
        font-size: 11px;
    }

    .panelino-transactions-section {
        padding: 15px;
    }

    .panelino-section-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .panelino-section-header h3 {
        font-size: 16px;
    }

    .panelino-transaction-item {
        padding: 12px;
        gap: 10px;
    }

    .panelino-transaction-icon {
        width: 40px;
        height: 40px;
    }

    .panelino-transaction-icon .panelino-icon-svg {
        width: 20px;
        height: 20px;
    }

    .panelino-transaction-details h4 {
        font-size: 14px;
    }

    .panelino-transaction-details p {
        font-size: 12px;
    }

    .panelino-transaction-details small {
        font-size: 11px;
    }

    .panelino-transaction-amount {
        font-size: 15px;
        text-align: end;
    }

    /* استایل برای تبلت (600px تا 992px) */
    @media (min-width: 600px) {
        .panelino-wallet-actions {
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }

        .panelino-action-btn {
            min-height: 90px;
        }
    }

    .panelino-cashback-section {
        padding: 20px;
    }

    .panelino-cashback-card {
        flex-direction: column;
        text-align: center;
    }

    /* کوپن‌های اختصاصی در موبایل */
    .panelino-exclusive-coupons-section {
        padding: 20px;
    }

    .panelino-coupons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .panelino-coupon-card {
        padding: 15px;
    }

    .panelino-coupon-header {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .panelino-coupon-percent {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }

    .panelino-percent-number {
        font-size: 24px;
    }

    .panelino-code-display {
        flex-direction: column;
        gap: 10px;
    }

    .panelino-copy-btn {
        width: 100%;
    }

    .panelino-no-coupons {
        padding: 40px 20px;
    }

    /* محصولات و سفارشات در موبایل */
    .panelino-products-showcase {
        padding: 25px 20px;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .panelino-products-showcase .panelino-section-header h3 {
        font-size: 22px;
    }

    .panelino-products-showcase .panelino-section-header p {
        font-size: 14px;
    }

    .panelino-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .panelino-product-card {
        padding: 25px 20px;
    }

    .panelino-product-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .panelino-product-title {
        font-size: 18px;
    }

    .panelino-product-desc {
        font-size: 13px;
    }

    .panelino-product-btn {
        width: 100%;
        justify-content: center;
    }

    .panelino-section-divider {
        margin: 30px 0;
    }

    .panelino-no-orders {
        padding: 40px 20px;
    }

    .panelino-no-orders .panelino-empty-icon {
        font-size: 48px;
    }

    .panelino-no-orders h4 {
        font-size: 18px;
    }

    .panelino-no-orders p {
        font-size: 14px;
    }

    /* اعلانات در موبایل */
    .panelino-notifications-header {
        padding: 24px 20px;
        border-radius: 18px;
        flex-direction: column;
        gap: 20px;
    }

    .panelino-notif-header-content {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        text-align: center;
    }

    .panelino-notif-actions {
        width: 100%;
        flex-direction: column;
    }

    .panelino-notif-filter,
    .panelino-notif-action-btn {
        width: 100%;
    }

    .panelino-notification-item {
        flex-wrap: wrap;
    }

    .panelino-notif-buttons {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .panelino-help-card {
        flex-direction: column;
        text-align: center;
    }

    /* پیگیری سفارش در موبایل */
    .panelino-order-tracking {
        padding: 15px;
    }

    .panelino-tracking-timeline {
        flex-direction: column;
    }

    .panelino-tracking-step {
        flex-direction: row;
        align-items: center;
        margin-bottom: 20px;
    }

    .panelino-step-line {
        display: none;
    }

    .panelino-step-content {
        text-align: start;
        margin-inline-start: 15px;
    }

    /* آدرس‌ها در موبایل */
    .panelino-addresses-header {
        flex-direction: column;
        align-items: stretch;
    }

    .panelino-addresses-header button {
        width: 100%;
    }

    .panelino-addresses-grid {
        grid-template-columns: 1fr;
    }

    .panelino-address-card {
        padding: 15px;
    }

    .panelino-default-badge {
        inset-inline-end: 15px;
        top: 15px;
    }



    .panelino-form-row {
        flex-direction: column;
    }
}

/* ========== پیگیری سفارش ========== */

.panelino-order-tracking {
    background: linear-gradient(135deg, var(--panelino-surface-muted), var(--panelino-surface-subtle));
    border-radius: 16px;
    padding: 25px;
    margin: 20px 0;
    border: 2px solid #e2e8f0;
}

.panelino-tracking-header {
    margin-bottom: 20px;
}

.panelino-tracking-header h5 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Timeline */
.panelino-tracking-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
}

/* مرحله */
.panelino-tracking-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* دایره مرحله */
.panelino-step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.panelino-tracking-step.panelino-active .panelino-step-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    animation: pulseActive 2s ease-in-out infinite;
}

.panelino-tracking-step.panelino-current .panelino-step-circle {
    animation: bounceScale 1.5s ease-in-out infinite;
}

@keyframes pulseActive {

    0%,
    100% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }
}

@keyframes bounceScale {

    0%,
    100% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes pulseActive {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    }
}

/* آیکون مرحله */
.panelino-step-icon {
    margin-top: 10px;
    font-size: 24px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.panelino-tracking-step.panelino-active .panelino-step-icon {
    filter: grayscale(0%);
    opacity: 1;
    animation: iconBounce 1.5s ease-in-out infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

/* حلقه Pulse */
.panelino-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid;
    border-color: inherit;
    opacity: 0.6;
    animation: pulseRing 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* خط اتصال */
.panelino-step-line {
    position: absolute;
    top: 25px;
    inset-inline-start: 0;
    width: 100%;
    height: 3px;
    background: #cbd5e1;
    z-index: 1;
    transition: all 0.6s ease;
}

.panelino-step-line.panelino-completed {
    background: linear-gradient(90deg, #10b981, #059669);
    animation: lineProgress 1.5s ease-in-out;
}

@keyframes lineProgress {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}

.panelino-step-line.panelino-completed::after {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* محتوای مرحله */
.panelino-step-content {
    margin-top: 12px;
    text-align: center;
}

.panelino-step-content h6 {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 5px 0;
    transition: all 0.3s ease;
}

.panelino-tracking-step.panelino-active .panelino-step-content h6 {
    color: #1e293b;
}

.panelino-tracking-step.panelino-current .panelino-step-content h6 {
    font-size: 14px;
    font-weight: 700;
}

.panelino-step-content small {
    display: block;
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
    margin-top: 5px;
}

/* ========== بخش آدرس‌ها ========== */

.panelino-addresses-section {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    max-width: 100%;
    position: relative;
    overflow-x: hidden;
    /* جلوگیری از overflow افقی */
}

/* اطمینان از قرارگیری درست داخل tab-content */
.panelino-tab-content .panelino-addresses-section {
    width: 100%;
    max-width: 100%;
    position: relative;
    inset-inline-end: auto;
    inset-inline-start: auto;
    margin-inline-end: 0;
    margin-inline-start: 0;
    overflow-x: hidden;
    /* جلوگیری از overflow افقی */
    box-sizing: border-box;
}

/* هدر بخش آدرس‌ها - بدون تداخل */
.panelino-addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.panelino-addresses-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.panelino-addresses-header p {
    color: #6b7280;
    font-size: 14px;
    margin: 5px 0 0 0;
}

/* حالت خالی */
.panelino-no-addresses {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-radius: 20px;
    padding: 60px 30px;
    text-align: center;
}

.panelino-no-addresses .panelino-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.panelino-no-addresses h4 {
    font-size: 20px;
    font-weight: 700;
    color: #5b21b6;
    margin: 0 0 10px 0;
}

.panelino-no-addresses p {
    color: #7c3aed;
    font-size: 15px;
    margin: 0 0 25px 0;
}

/* Grid آدرس‌های مدرن */
.panelino-addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* کارت آدرس مدرن */
.panelino-address-card {
    background: var(--panelino-bg-card);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.panelino-address-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    height: 3px;
    background: linear-gradient(90deg, #e5e7eb, #d1d5db);
    border-radius: 18px 18px 0 0;
    transition: background 0.3s ease;
}

.panelino-address-card.default::before {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.panelino-address-card.default {
    border-color: #c7d2fe;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.panelino-address-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

/* بج پیش‌فرض مدرن */
.panelino-default-badge {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    background: linear-gradient(135deg, #ddd6fe, #c7d2fe);
    color: #5b21b6;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.panelino-default-badge svg {
    fill: #f59e0b;
}

/* هدر کارت */
.panelino-address-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.panelino-address-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panelino-address-icon svg {
    color: #667eea;
}

.panelino-address-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* اطلاعات آدرس */
.panelino-address-info {
    margin-bottom: 15px;
}

.panelino-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 10px;
}

.panelino-info-row:last-child {
    border-bottom: none;
}

.panelino-info-row.full {
    flex-direction: column;
}

.panelino-info-row .panelino-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.panelino-info-row .panelino-value {
    font-size: 13px;
    color: #1f2937;
    text-align: end;
}

.panelino-info-row.full .panelino-value {
    text-align: start;
    line-height: 1.6;
}

/* دکمه‌های عملیات */
.panelino-address-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

.panelino-address-btn {
    width: 50px !important;
    height: 40px !important;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.panelino-address-btn.panelino-btn-default {
    background: #e0e7ff;
    color: #6366f1;
}

.panelino-address-btn.panelino-btn-default:hover {
    background: #c7d2fe;
    transform: scale(1.05) rotate(5deg);
}

.panelino-address-btn.panelino-btn-map {
    background: #dbeafe;
    color: #3b82f6;
}

.panelino-address-btn.panelino-btn-map:hover {
    background: #bfdbfe;
    transform: scale(1.05) rotate(-5deg);
}

.panelino-address-btn.panelino-btn-edit {
    background: #d1fae5;
    color: #10b981;
}

.panelino-address-btn.panelino-btn-edit:hover {
    background: #a7f3d0;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.panelino-address-btn.panelino-btn-delete {
    background: #fee2e2;
    color: #ef4444;
}

.panelino-address-btn.panelino-btn-delete:hover {
    background: #fecaca;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* مودال بزرگ */
.panelino-modal-large {
    max-width: 800px !important;
}

/* نقشه */
.panelino-map-container {
    margin-bottom: 25px;
}

.panelino-map-search {
    position: relative;
    margin-bottom: 15px;
    z-index: 10;
}

.panelino-map-search input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--panelino-bg-card);
}

.panelino-map-search input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.panelino-search-results {
    position: absolute;
    top: 100%;
    inset-inline-end: 0;
    inset-inline-start: 0;
    background: var(--panelino-bg-card);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.panelino-search-results.panelino-active {
    display: block;
}

.panelino-search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.panelino-search-result-item:last-child {
    border-bottom: none;
}

.panelino-search-result-item:hover {
    background: var(--panelino-surface-muted);
}

.panelino-search-result-title {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
}

.panelino-search-result-address {
    font-size: 13px;
    color: #6b7280;
}



/* Checkbox label */
.panelino-checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
}

.panelino-checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
}

/* ========== Layout دو ستونه منسجم: Sidebar + Content ========== */

.panelino-dashboard-new {
    display: flex;
    flex-direction: row-reverse;
    /* sidebar در راست، content در چپ */
    min-height: 100vh;
    background: var(--panelino-surface-muted);
    position: relative;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    gap: 0;
    overflow-x: hidden;
    /* جلوگیری از overflow افقی */
    overflow-y: visible;
    /* اجازه overflow عمودی */
}

/* ========== Sidebar (سمت راست) - ثابت و sticky ========== */

.panelino-sidebar {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    background: var(--panelino-bg-card);
    border-inline-end: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    order: 2;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    overflow: hidden;
}

/* دکمه همبرگر (مخفی در دسکتاپ) */
.panelino-sidebar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin: 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: fixed;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 1001;
}

.panelino-sidebar-toggle span {
    width: 20px;
    height: 2px;
    background: var(--panelino-bg-card);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* پروفایل مدرن در sidebar */
.panelino-sidebar-profile {
    padding: 35px 20px 30px;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
    background: linear-gradient(180deg, var(--panelino-surface-muted) 0%, var(--panelino-bg-card) 100%);
}

.panelino-profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f1f3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.panelino-profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.panelino-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panelino-online-status {
    position: absolute;
    bottom: 2px;
    inset-inline-start: 2px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: 2px solid var(--panelino-bg-card);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
}

.panelino-profile-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.panelino-profile-email {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 10px;
    font-weight: 400;
}

/* منوی ناوبری مدرن */
.panelino-sidebar-nav {
    padding: 15px 12px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.panelino-sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.panelino-sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.panelino-sidebar-nav::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 10px;
}

.panelino-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 6px;
    border-radius: 14px;
    text-decoration: none;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.panelino-nav-item:hover {
    background: var(--panelino-surface-muted);
    color: #374151;
    transform: translateX(-3px);
}

.panelino-nav-item.panelino-active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    font-weight: 600;
}

.panelino-nav-item.panelino-active::before {
    content: '';
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--panelino-bg-card);
    border-radius: 0 3px 3px 0;
}

.panelino-nav-icon {
    font-size: 19px;
    margin-inline-end: 12px;
    min-width: 22px;
    width: 22px;
    height: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.panelino-nav-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* استایل پایه برای SVG آیکون‌ها */
.panelino-icon-svg {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    fill: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* انیمیشن برای آیکون‌های هدر */
.panelino-header-btn .panelino-icon-svg {
    width: 20px;
    height: 20px;
}

.panelino-header-btn:hover .panelino-icon-svg {
    transform: scale(1.1);
    animation: iconPulse 0.6s ease;
}

/* انیمیشن برای آیکون‌های سایدبار */
.panelino-nav-item .panelino-icon-svg {
    width: 20px;
    height: 20px;
}

.panelino-nav-item:hover .panelino-icon-svg {
    transform: scale(1.15) rotate(5deg);
}

.panelino-nav-item.panelino-active .panelino-icon-svg {
    animation: iconBounce 0.5s ease;
    transform: scale(1.1);
}

/* انیمیشن برای آیکون‌های کارت‌های خانه */
.panelino-home-card-icon .panelino-icon-svg {
    width: 32px;
    height: 32px;
}

.panelino-home-card:hover .panelino-home-card-icon .panelino-icon-svg {
    transform: scale(1.2) rotate(-5deg);
    animation: iconShake 0.5s ease;
}

.panelino-home-card-action .panelino-icon-svg {
    width: 16px;
    height: 16px;
}

.panelino-home-card-action:hover .panelino-icon-svg {
    transform: translateX(-3px);
}

/* انیمیشن برای آیکون‌های خدمات */
.panelino-service-box .panelino-icon-svg {
    width: 28px;
    height: 28px;
}

/* استایل‌های قدیمی حذف شدند - از استایل‌های جدید در بخش .panelino-service-box استفاده می‌شود */

/* انیمیشن‌های کلیدی */
@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.2) translateY(-5px);
    }
}

@keyframes iconShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* انیمیشن stroke برای آیکون‌های فعال */
.panelino-nav-item.panelino-active .panelino-icon-svg {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
    animation: iconDraw 0.8s ease forwards;
}

@keyframes iconDraw {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* رنگ و لعاب برای آیکون‌های کیف پول */
.panelino-balance-icon .panelino-icon-wallet {
    color: #3b82f6;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.panelino-stat-icon .panelino-icon-star {
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.panelino-stat-icon .panelino-icon-gift {
    color: #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.panelino-action-btn.panelino-charge .panelino-icon-svg {
    color: #10b981;
}

.panelino-action-btn.panelino-withdraw .panelino-icon-svg {
    color: #ef4444;
}

.panelino-action-btn.panelino-coupon .panelino-icon-svg {
    color: #8b5cf6;
}

.panelino-action-btn.panelino-points .panelino-icon-svg {
    color: #06b6d4;
}

.panelino-transaction-icon.panelino-positive .panelino-icon-svg {
    color: #10b981;
}

.panelino-transaction-icon.panelino-negative .panelino-icon-svg {
    color: #ef4444;
}

.panelino-cashback-icon .panelino-icon-svg {
    color: #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

/* رنگ برای آیکون‌های محصولات */
.panelino-product-icon .panelino-icon-svg {
    color: #6366f1;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
    transition: all 0.3s ease;
}

.panelino-product-card:hover .panelino-product-icon .panelino-icon-svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
}

/* رنگ برای آیکون‌های سفارشات */
.panelino-step-icon .panelino-icon-svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.panelino-tracking-step.panelino-active .panelino-step-icon .panelino-icon-svg {
    animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {

    0%,
    100% {
        filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.6));
    }
}

/* رنگ برای آیکون‌های پشتیبانی */
.panelino-support-stat-card .panelino-icon-svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* رنگ برای آیکون‌های اعلانات */
.panelino-notif-icon .panelino-icon-svg {
    color: #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.panelino-notif-type-icon .panelino-icon-svg {
    color: white;
}

.panelino-notification-item.panelino-success .panelino-notif-type-icon .panelino-icon-svg {
    color: #10b981;
}

.panelino-notification-item.panelino-error .panelino-notif-type-icon .panelino-icon-svg {
    color: #ef4444;
}

.panelino-notification-item.warning .panelino-notif-type-icon .panelino-icon-svg {
    color: #f59e0b;
}

.panelino-notification-item.info .panelino-notif-type-icon .panelino-icon-svg {
    color: #3b82f6;
}

/* انیمیشن کلیک برای آیکون‌ها */
.panelino-icon-svg {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:active .panelino-icon-svg,
.panelino-action-btn:active .panelino-icon-svg {
    transform: scale(0.95);
}

/* انیمیشن hover برای آیکون‌های تعاملی */
.panelino-action-btn:hover .panelino-icon-svg {
    transform: scale(1.1) rotate(5deg);
}

.panelino-product-card:hover .panelino-product-icon .panelino-icon-svg {
    animation: iconFloat 1.5s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) scale(1.1);
    }

    50% {
        transform: translateY(-5px) scale(1.15);
    }
}

/* رنگ برای آیکون‌های آدرس */
.panelino-address-icon .panelino-icon-svg {
    color: #3b82f6;
}

.panelino-empty-icon .panelino-icon-svg {
    color: #94a3b8;
    opacity: 0.6;
}

/* انیمیشن برای آیکون‌های خالی */
.panelino-empty-icon .panelino-icon-svg {
    animation: iconFade 2s ease-in-out infinite;
}

@keyframes iconFade {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
    }
}

.panelino-nav-text {
    flex: 1;
    line-height: 1.4;
}

.panelino-nav-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

.panelino-nav-item.panelino-active .panelino-nav-badge {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* فوتر sidebar مدرن (دکمه خروج) */
.panelino-sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid #f3f4f6;
    background: var(--panelino-surface-muted);
}

.panelino-logout-btn-new {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: var(--panelino-bg-card);
    border: 1px solid #fee2e2;
    border-radius: 12px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.panelino-logout-btn-new:hover {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #dc2626 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.15) !important;
}

.panelino-logout-btn-new svg {
    width: 16px;
    height: 16px;
}

/* ========== محتوای اصلی (سمت چپ) - بدون تداخل با sidebar ========== */

.panelino-main-content {
    flex: 1;
    min-width: 0;
    padding: 20px 30px;
    background: transparent;
    position: relative;
    box-sizing: border-box;
    order: 1;
    z-index: 1;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Scrollbar مدرن برای محتوای اصلی */
.panelino-main-content::-webkit-scrollbar {
    width: 8px;
}

.panelino-main-content::-webkit-scrollbar-track {
    background: transparent;
}

.panelino-main-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.panelino-main-content::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* استایل‌های محتوای تب‌ها - بدون float و absolute */
.panelino-tab-content {
    display: none;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.panelino-tab-content.panelino-active {
    display: block;
}

/* تضمین قرارگیری صحیح محتوا */
.panelino-main-content .panelino-tab-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    padding: 0;
}

/* جلوگیری از تداخل با سایدبار */
.panelino-tab-content>* {
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Container های اصلی تب‌ها */
.panelino-addresses-container,
.panelino-orders-container,
.panelino-products-container,
.panelino-wallet-container,
.panelino-notifications-container,
.panelino-support-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* استایل برای wrapper محتوای تب‌های سفارشی */
.panelino-custom-tab-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* استایل برای محتوای صفحات در تب‌های سفارشی */
.panelino-page-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: var(--panelino-bg-card);
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
    margin-bottom: 24px;
}

/* استایل برای WooCommerce در تب‌های سفارشی */
.panelino-woocommerce-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: var(--panelino-bg-card);
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
    margin-bottom: 24px;
}

.panelino-woocommerce-wrapper .woocommerce {
    width: 100%;
    max-width: 100%;
}

.panelino-woocommerce-wrapper .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.panelino-woocommerce-wrapper .product {
    width: 100%;
    box-sizing: border-box;
}

/* استایل برای محتوای المنتور در تب‌های سفارشی */
.panelino-tab-content .elementor {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.panelino-tab-content .elementor-section {
    max-width: 100%;
    box-sizing: border-box;
}

.panelino-tab-content .elementor-container {
    max-width: 100%;
    box-sizing: border-box;
}

/* Grid های محتوا */
.panelino-addresses-grid,
.panelino-orders-grid,
.panelino-products-grid,
.panelino-tickets-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* استایل یکپارچه برای تمام بخش‌ها */
.panelino-section,
.panelino-profile-section {
    background: var(--panelino-bg-card);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.panelino-profile-section {
    margin-top: 30px !important;
}

/* حذف position و float از همه جا */
.panelino-tab-content *:not(.panelino-modal):not(.panelino-toast):not(.panelino-sidebar-toggle) {
    float: none !important;
}

.panelino-tab-content>*,
.panelino-tab-content>*>* {
    position: relative;
}

.panelino-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.panelino-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -0.02em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panelino-tab-content h3 {
    font-size: 23px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 24px 0;
    padding: 0px 20px 0px 20px;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
    letter-spacing: -0.02em;
}

.panelino-tab-content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    inset-inline-start: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

/* ========== Responsive - حفظ ساختار دو ستونه ========== */

@media (max-width: 1200px) {
    .panelino-sidebar {
        width: 260px;
        min-width: 260px;
        max-width: 260px;
    }

    .panelino-main-content {
        padding: 20px 25px;
    }
}

@media (max-width: 992px) {
    .panelino-container {
        padding: 0px;
        margin: 20px auto;
    }

    .panelino-dashboard-new {
        flex-direction: column;
        min-height: auto;
    }

    .panelino-sidebar {
        position: fixed;
        top: 0;
        inset-inline-start: -280px;
        width: 280px;
        max-width: 280px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1000;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
        order: 2;
        border-radius: 0;
        border-inline-end: none;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .panelino-sidebar.panelino-active {
        inset-inline-start: 0;
    }

    .panelino-sidebar-toggle {
        display: flex;
    }

    body.panelino-sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        inset-inline-end: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
        backdrop-filter: blur(2px);
    }

    .panelino-main-content {
        padding: 20px 15px 20px;
        width: 100%;
        order: 1;
    }

    .panelino-tab-content h3 {
        font-size: 22px;
    }

    /* تضمین عدم تداخل در موبایل */
    .panelino-tab-content,
    .panelino-tab-content>* {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .panelino-container {
        padding: 0px;
        margin: 10px auto;
    }

    .panelino-sidebar {
        width: 280px;
        inset-inline-start: -280px;
    }

    .panelino-main-content {
        padding: 20px 12px 15px;
    }

    .panelino-sidebar-profile {
        padding: 25px 15px 20px;
    }

    .panelino-profile-avatar {
        width: 70px;
        height: 70px;
    }

    .panelino-profile-name {
        font-size: 15px;
    }

    .panelino-profile-email {
        font-size: 11px;
    }

    .panelino-nav-item {
        padding: 11px 14px;
        font-size: 13px;
    }

    .panelino-tab-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .panelino-section,
    .panelino-profile-section {
        padding: 20px;
    }
}

/* ========================================
   استایل‌های سیستم تیکتینگ و پشتیبانی
======================================== */

/* کانتینر پشتیبانی - layout منسجم */
.panelino-support-container {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

/* تضمین عدم تداخل با سایدبار */
.panelino-tab-content .panelino-support-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 1;
}

/* اطمینان از قرارگیری محتوا در سمت چپ سایدبار */
#tab-tickets {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#tab-tickets .panelino-support-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* هدر پشتیبانی مدرن */
.panelino-support-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding: 35px 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 24px;
    color: white;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.panelino-support-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.45);
}

.panelino-support-header-bg {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: headerShimmer 8s ease-in-out infinite;
}

@keyframes headerShimmer {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.panelino-support-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.panelino-support-header-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.panelino-support-header:hover .panelino-support-header-icon-wrapper {
    transform: rotate(5deg) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    animation: headerIconPulse 2s ease-in-out infinite;
}

.panelino-support-header-icon {
    width: 32px;
    height: 32px;
    color: white;
    animation: headerIconFloat 3s ease-in-out infinite;
}

@keyframes headerIconPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

@keyframes headerIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.panelino-support-header-text {
    flex: 1;
}

.panelino-support-header-content h2 {
    margin: 0 0 8px 0;
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.panelino-support-subtitle {
    margin: 0;
    opacity: 0.95;
    font-size: 15px;
    font-weight: 400;
}

.panelino-ui-btn-new-ticket {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 14px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.panelino-ui-btn-new-ticket:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.panelino-ui-btn-icon {
    display: inline-block;
    margin-inline-end: 8px;
    font-size: 18px;
}

/* کارت‌های آمار پشتیبانی */
.panelino-support-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

.panelino-support-stat-card {
    position: relative;
    background: var(--panelino-bg-card);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.panelino-support-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.panelino-support-stat-card:hover::before {
    transform: translateX(100%);
}

.panelino-support-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.panelino-stat-card-glow {
    position: absolute;
    top: -50%;
    inset-inline-start: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.panelino-support-stat-card:hover .panelino-stat-card-glow {
    opacity: 1;
}

.panelino-stat-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.panelino-stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.panelino-support-stat-card:hover .panelino-stat-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    animation: iconFloat 2s ease-in-out infinite;
}

.panelino-stat-icon .panelino-icon-svg {
    width: 36px;
    height: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* انیمیشن‌های اختصاصی برای آیکون‌های کارت‌های آمار */
.panelino-stat-icon-1 .panelino-icon-svg {
    animation: calendarPulse 3s ease-in-out infinite;
}

.panelino-stat-icon-2 .panelino-icon-svg {
    animation: clockFloat 3s ease-in-out infinite;
}

.panelino-stat-icon-2 .panelino-icon-svg polyline {
    transform-origin: 12px 12px;
    animation: clockHand 2s linear infinite;
}

.panelino-stat-icon-2 .clock-center {
    animation: centerPulse 1.5s ease-in-out infinite;
}

@keyframes clockFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

@keyframes clockHand {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.panelino-stat-icon-3 .panelino-icon-svg {
    animation: messageFloat 2.5s ease-in-out infinite;
}

.panelino-stat-icon-3 .panelino-notification-dot {
    animation: notificationPulse 1.5s ease-in-out infinite;
}

.panelino-stat-icon-4 .panelino-icon-svg {
    animation: checkRotate 3s ease-in-out infinite;
}

.panelino-stat-icon-4 .panelino-check-pulse {
    animation: checkPulse 1.2s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes calendarPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes centerPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes messageFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-2px) rotate(1deg);
    }

    75% {
        transform: translateY(2px) rotate(-1deg);
    }
}

@keyframes notificationPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

@keyframes checkRotate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

@keyframes checkPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

/* رنگ‌های اختصاصی برای فیلترها */
.panelino-filter-btn[data-filter="all"] {
    --filter-color: #6366f1;
}

.panelino-filter-btn[data-filter="all"]:hover,
.panelino-filter-btn[data-filter="all"].panelino-active {
    border-color: var(--filter-color);
    color: var(--filter-color);
}

.panelino-filter-btn[data-filter="all"].panelino-active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: white !important;
}

.panelino-filter-btn[data-filter="pending"] {
    --filter-color: #f59e0b !important;
}

.panelino-filter-btn[data-filter="pending"]:hover,
.panelino-filter-btn[data-filter="pending"].panelino-active {
    border-color: var(--filter-color) !important;
    color: var(--filter-color) !important;
}

.panelino-filter-btn[data-filter="pending"].panelino-active {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%) !important;
    color: white !important;
}

.panelino-filter-btn[data-filter="waiting"] {
    --filter-color: #ef4444 !important;
}

.panelino-filter-btn[data-filter="waiting"]:hover,
.panelino-filter-btn[data-filter="waiting"].panelino-active {
    border-color: var(--filter-color) !important;
    color: var(--filter-color) !important;
}

.panelino-filter-btn[data-filter="waiting"].panelino-active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
}

.panelino-filter-btn[data-filter="answered"] {
    --filter-color: #3b82f6 !important;
}

.panelino-filter-btn[data-filter="answered"]:hover,
.panelino-filter-btn[data-filter="answered"].panelino-active {
    border-color: var(--filter-color) !important;
    color: var(--filter-color) !important;
}

.panelino-filter-btn[data-filter="answered"].panelino-active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
}

.panelino-filter-btn[data-filter="closed"] {
    --filter-color: #10b981 !important;
}

.panelino-filter-btn[data-filter="closed"]:hover,
.panelino-filter-btn[data-filter="closed"].panelino-active {
    border-color: var(--filter-color) !important;
    color: var(--filter-color) !important;
}

.panelino-filter-btn[data-filter="closed"].panelino-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
}

.panelino-stat-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.panelino-stat-content h3 {
    margin: 0 0 6px 0;
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.panelino-support-stat-card:hover .panelino-stat-content h3 {
    color: #6366f1;
}

.panelino-stat-content p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.panelino-stat-decoration {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.panelino-support-stat-card:hover .panelino-stat-decoration {
    opacity: 1;
}

.panelino-stat-card-1:hover .panelino-stat-decoration {
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.panelino-stat-card-2:hover .panelino-stat-decoration {
    background: linear-gradient(90deg, transparent, rgba(245, 87, 108, 0.5), transparent);
}

.panelino-stat-card-3:hover .panelino-stat-decoration {
    background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.5), transparent);
}

.panelino-stat-card-4:hover .panelino-stat-decoration {
    background: linear-gradient(90deg, transparent, rgba(67, 233, 123, 0.5), transparent);
}

/* فیلترهای تیکت */
.panelino-support-filters {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
    padding: 24px;
    background: linear-gradient(135deg, var(--panelino-bg-card) 0%, var(--panelino-surface-muted) 100%);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    flex-wrap: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.panelino-filter-btn {
    position: relative !important;
    padding: 12px 24px !important;
    border: 2px solid #e5e7eb !important;
    background: var(--panelino-bg-card) !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: hidden !important;
}

.panelino-filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-end: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.panelino-filter-btn:hover::before {
    width: 200px;
    height: 200px;
}

.panelino-filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

.panelino-filter-btn:hover .panelino-filter-icon {
    color: var(--filter-color, #6366f1);
}

.panelino-filter-btn.panelino-active {
    border-color: transparent !important;
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4) !important;
    transform: translateY(-2px) !important;
}

.panelino-filter-btn.panelino-active::before {
    background: rgba(255, 255, 255, 0.2) !important;
}

.panelino-filter-btn.panelino-active .panelino-filter-icon {
    color: white !important;
}

.panelino-filter-icon-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.panelino-filter-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.panelino-filter-btn:hover .panelino-filter-icon {
    transform: scale(1.2) rotate(5deg);
}

.panelino-filter-btn.panelino-active .panelino-filter-icon {
    transform: scale(1.15) !important;
    animation: iconPulse 2s ease-in-out infinite !important;
}

.panelino-filter-btn[data-filter="pending"] .panelino-filter-icon .panelino-pulse-dot {
    animation: pulseDot 1.5s ease-in-out infinite;
}

.panelino-filter-btn[data-filter="answered"] .panelino-filter-icon {
    animation: checkBounce 0.6s ease;
}

.panelino-filter-btn[data-filter="closed"] .panelino-filter-icon {
    animation: lockShake 0.5s ease;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(1.25);
    }
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

@keyframes checkBounce {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lockShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

.panelino-filter-btn span:not(.panelino-filter-icon-wrapper) {
    position: relative;
    z-index: 1;
}

/* لیست تیکت‌ها */
.panelino-tickets-list {
    display: grid;
    gap: 20px;
}

.panelino-ticket-card {
    position: relative;
    background: var(--panelino-bg-card);
    border-radius: 18px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    border-inline-start: 6px solid transparent;
    overflow: hidden;
}

.panelino-ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.panelino-ticket-card:hover::before {
    opacity: 1;
}

.panelino-ticket-card:hover {
    transform: translateX(-8px) translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.panelino-ticket-card.panelino-status-pending {
    border-inline-start-color: #f59e0b;
    background: linear-gradient(to left, rgba(245, 158, 11, 0.05) 0%, white 10%);
}

.panelino-ticket-card.panelino-status-pending:hover {
    border-inline-start-color: #f59e0b;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
}

.panelino-ticket-card.panelino-status-waiting {
    border-inline-start-color: #ef4444;
    background: linear-gradient(to left, rgba(239, 68, 68, 0.05) 0%, white 10%);
}

.panelino-ticket-card.panelino-status-waiting:hover {
    border-inline-start-color: #ef4444;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.25);
}

.panelino-ticket-card.panelino-status-answered {
    border-inline-start-color: #3b82f6;
    background: linear-gradient(to left, rgba(59, 130, 246, 0.05) 0%, white 10%);
}

.panelino-ticket-card.panelino-status-answered:hover {
    border-inline-start-color: #3b82f6;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
}

.panelino-ticket-card.panelino-status-closed {
    border-inline-start-color: #10b981;
    background: linear-gradient(to left, rgba(16, 185, 129, 0.05) 0%, white 10%);
}

.panelino-ticket-card.panelino-status-closed:hover {
    border-inline-start-color: #10b981;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.25);
}

.panelino-ticket-header {
    display: flex;
    align-items: center;
}

.panelino-ticket-title-section {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.panelino-ticket-number {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.panelino-ticket-card:hover .panelino-ticket-number {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.panelino-ticket-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
    letter-spacing: -0.3px;
}

.panelino-ticket-card:hover .panelino-ticket-title {
    color: #6366f1;
}

.panelino-ticket-category {
    font-size: 13px;
    color: #7f8c8d;
}

.panelino-ticket-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.panelino-ticket-card:hover .panelino-ticket-status {
    transform: scale(1.05);
}

.panelino-ticket-status.panelino-status-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.panelino-ticket-status.panelino-status-waiting {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.panelino-ticket-status.panelino-status-answered {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.panelino-ticket-status.panelino-status-closed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.panelino-ticket-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
    font-size: 13px;
    color: #7f8c8d;
}

.panelino-ticket-date,
.panelino-ticket-replies {
    display: flex;
    align-items: center;
    gap: 5px;
}

.panelino-unread-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-inline-start: 10px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* حالت خالی */
.panelino-empty-state {
    text-align: center;
    padding: 80px 30px;
    background: linear-gradient(135deg, var(--panelino-bg-card) 0%, var(--panelino-surface-muted) 100%);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px dashed #e5e7eb;
    position: relative;
    overflow: hidden;
}

.panelino-empty-state::before {
    content: '';
    position: absolute;
    top: -50%;
    inset-inline-end: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    animation: emptyStateFloat 6s ease-in-out infinite;
}

@keyframes emptyStateFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }
}

.panelino-empty-icon-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.panelino-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.4s ease;
    animation: emptyIconFloat 3s ease-in-out infinite;
}

@keyframes emptyIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.panelino-empty-icon .panelino-icon-svg {
    width: 60px;
    height: 60px;
}

.panelino-empty-state h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.panelino-empty-state p {
    margin: 0 0 30px 0;
    color: #6b7280;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.panelino-ui-btn-empty-state {
    position: relative;
    z-index: 2;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
}

/* مودال‌ها */
.panelino-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.panelino-modal.panelino-active,
.panelino-modal.active {
    display: flex;
}

.panelino-modal-overlay {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.panelino-modal-content {
    position: relative;
    background: var(--panelino-bg-card);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: scroll;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panelino-ticket-modal-content {
    max-width: 700px;
}

.panelino-ticket-detail-modal-content {
    max-width: 900px;
    max-height: 95vh;
}

.panelino-modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.panelino-modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

/* .panelino-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none ;
    width: 40px ;
    height: 40px ;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.panelino-modal-close:hover {
    color: black;
    background: rgb(134 134 134 / 18%);
    transform: rotate(90deg);
} */

/* فرم تیکت */
.panelino-ticket-form {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.panelino-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.panelino-form-group {
    margin-bottom: 25px;
}

.panelino-form-group label {
    display: flex;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.panelino-form-group .panelino-required {
    color: #e74c3c;
}

.panelino-form-group .panelino-ui-input[type="text"],
.panelino-form-group select,
.panelino-form-group textarea {
    width: 100%;
    height: 50px;
    padding: 0px 0px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.panelino-form-group .panelino-ui-input[type="text"]:focus,
.panelino-form-group select:focus,
.panelino-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.panelino-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.panelino-form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #7f8c8d;
}

/* آپلود فایل */
.panelino-file-upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.panelino-file-upload-area:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.panelino-upload-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.panelino-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.panelino-upload-info {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    color: #7f8c8d;
}

.panelino-files-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.panelino-file-item {
    position: relative;
    background: var(--panelino-surface-muted);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.panelino-file-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.panelino-file-name {
    font-size: 11px;
    color: #555;
    word-break: break-all;
}

.panelino-file-remove {
    position: absolute;
    top: 5px;
    inset-inline-end: 5px;
    background: #e74c3c;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}

/* ضبط ویس */
.panelino-voice-recorder {
    display: flex;
    align-items: center;
    gap: 15px;
}

.panelino-voice-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.panelino-voice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.4);
}

.panelino-voice-btn.panelino-recording {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.panelino-voice-icon {
    font-size: 18px;
}

.panelino-voice-preview {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--panelino-surface-muted);
    border-radius: 10px;
}

.panelino-voice-preview audio {
    flex: 1;
    height: 35px;
}

/* دکمه‌های فرم */
.panelino-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.panelino-ui-btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.panelino-ui-btn-secondary:hover {
    background: #bdc3c7;
}

/* جزئیات تیکت */
.panelino-ticket-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.panelino-ticket-detail-body {
    display: flex;
    flex-direction: column;
    height: calc(90vh - 80px);
    overflow: hidden;
}

.panelino-ticket-info-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0px;
    padding: 5px 20px;
    background: var(--panelino-surface-muted);
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
    align-items: center;
}

.panelino-ticket-info-item {
    font-size: 13px;
}

.panelino-info-label {
    color: #7f8c8d;
    font-weight: 600;
    margin-inline-end: 5px;
}

/* چت باکس تیکت - طراحی موبایل */
.panelino-ticket-chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px 15px;
    background: var(--panelino-surface-muted);
    position: relative;
}

.panelino-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* پیام خوش‌آمدگویی */
.panelino-chat-welcome-message {
    background: var(--panelino-surface-subtle);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.panelino-chat-welcome-message .panelino-welcome-text {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin: 0;
}

.panelino-chat-welcome-message .panelino-welcome-text strong {
    color: #1f2937;
    font-weight: 600;
}

.panelino-chat-message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* پیام‌های کاربر در سمت راست */
.panelino-chat-message.panelino-user-message {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

/* پیام‌های ادمین در سمت چپ */
.panelino-chat-message.admin-message {
    flex-direction: row;
    justify-content: flex-start;
}

.panelino-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background: #e5e7eb;
    border: 2px solid white;
}

.panelino-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panelino-chat-bubble {
    max-width: 75%;
    padding: 10px 20px;
    border-radius: 16px;
    background: var(--panelino-bg-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    word-wrap: break-word;
    position: relative;
}

/* پیام‌های کاربر - رنگ آبی */
.panelino-user-message .panelino-chat-bubble {
    background: #3b82f6;
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* پیام‌های ادمین - سمت چپ */
.panelino-admin-message .panelino-chat-bubble {
    background: var(--panelino-bg-card);
    color: #1f2937;
    border-bottom-left-radius: 4px;
    border: 1px solid #e5e7eb;
}

.panelino-chat-sender {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.panelino-user-message .panelino-chat-sender {
    color: rgba(255, 255, 255, 0.95);
}

.panelino-admin-message .panelino-chat-sender {
    color: #6b7280;
}

.panelino-chat-text {
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.panelino-user-message .panelino-chat-text {
    color: #ffffff;
    font-weight: 400;
}

.panelino-admin-message .panelino-chat-text {
    color: #1f2937;
}

.panelino-chat-time {
    font-size: 11px;
    margin-top: 6px;
    opacity: 0.7;
}

.panelino-user-message .panelino-chat-time {
    color: rgba(255, 255, 255, 0.85);
}

.panelino-admin-message .panelino-chat-time {
    color: #9ca3af;
}

.panelino-chat-attachment {
    margin-top: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.panelino-user-message .panelino-chat-attachment {
    background: rgba(255, 255, 255, 0.2);
}

/* فرم پاسخ تیکت - طراحی موبایل */
#panelino-send-message-form {
    width: 85% !important;
}

.panelino-ticket-reply-form {
    padding: 12px 15px;
    display: flex;
    gap: 10px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: var(--panelino-bg-card);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.panelino-reply-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--panelino-surface-subtle);
    border-radius: 24px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
}

.panelino-reply-input-wrapper textarea {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 14px;
    resize: none;
    max-height: 100px;
    min-height: 40px;
    line-height: 1.5;
    color: #1f2937;
    transition: all 0.3s ease;
}

.panelino-reply-input-wrapper textarea::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

.panelino-reply-input-wrapper textarea:focus {
    outline: none;
    background: var(--panelino-bg-card);
}

.panelino-reply-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.panelino-attach-btn,
.panelino-voice-btn-small {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    color: #6b7280;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panelino-attach-btn:hover,
.panelino-voice-btn-small:hover {
    background: #e5e7eb;
    color: #3b82f6;
}

.panelino-send-btn {
    background: #3b82f6 !important;
    color: white !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.panelino-send-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.panelino-send-btn:active {
    transform: translateY(0);
}

.panelino-send-btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

/* استایل موبایل برای چت */
@media (max-width: 992px) {
    .panelino-ticket-chat-container {
        padding: 15px 12px !important;
    }

    .panelino-chat-welcome-message {
        padding: 16px !important;
        margin-bottom: 15px !important;
        border-radius: 12px !important;
    }

    .panelino-chat-welcome-message .panelino-welcome-text {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .panelino-chat-message {
        margin-bottom: 10px !important;
        gap: 8px !important;
    }

    .panelino-chat-avatar {
        width: 36px !important;
        height: 36px !important;
    }

    .panelino-chat-bubble {
        max-width: 80% !important;
        padding: 10px 14px !important;
        border-radius: 14px !important;
    }

    .panelino-chat-sender {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }

    .panelino-chat-text {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .panelino-chat-time {
        font-size: 10px !important;
        margin-top: 4px !important;
    }

    .panelino-ticket-reply-form {
        padding: 10px 12px !important;
        padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    }

    .panelino-reply-input-wrapper {
        padding: 6px 10px !important;
        border-radius: 20px !important;
    }

    .panelino-reply-input-wrapper textarea {
        font-size: 13px !important;
        padding: 8px 10px !important;
        min-height: 36px !important;
    }

    .panelino-send-btn {
        min-width: 40px !important;
        height: 40px !important;
        padding: 8px 12px !important;
    }

    .panelino-send-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
}

.panelino-reply-attachments {
    margin-top: 10px;
}

.panelino-ticket-actions {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-end;
}

.panelino-ui-btn-danger {
    background: #e74c3c !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.panelino-ui-btn-danger:hover {
    background: #c0392b !important;
    transform: translateY(-2px) !important;
}

.panelino-ui-btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.panelino-ticket-closed-notice {
    padding: 20px 30px;
    background: var(--panelino-alert-warning-bg);
    border-top: 1px solid #ffeeba;
    text-align: center;
    flex-shrink: 0;
}

.panelino-ticket-closed-notice p {
    margin: 0;
    color: #856404;
    font-weight: 600;
}

/* Dark Mode */
body.panelino-dark-mode .panelino-support-container,
body.dark-mode .panelino-support-container {
    color: #e0e0e0;
}

body.panelino-dark-mode .panelino-support-stat-card,
body.panelino-dark-mode .panelino-support-filters,
body.panelino-dark-mode .panelino-ticket-card,
body.panelino-dark-mode .panelino-empty-state,
body.panelino-dark-mode .panelino-chat-welcome-message,
body.panelino-dark-mode .panelino-ticket-reply-form,
body.panelino-dark-mode .panelino-skeleton-ticket,
body.dark-mode .panelino-support-stat-card,
body.dark-mode .panelino-support-filters,
body.dark-mode .panelino-ticket-card,
body.dark-mode .panelino-empty-state,
body.dark-mode .panelino-chat-welcome-message,
body.dark-mode .panelino-ticket-reply-form,
body.dark-mode .panelino-skeleton-ticket {
    background: #2c3e50;
    color: #ecf0f1;
}

body.dark-mode .panelino-ticket-title,
body.dark-mode .panelino-stat-content h3 {
    color: #ecf0f1;
}

body.dark-mode .panelino-modal-content {
    background: #34495e;
    color: #ecf0f1;
}

body.panelino-dark-mode .panelino-ticket-info-bar,
body.panelino-dark-mode .panelino-ticket-chat-container,
body.dark-mode .panelino-ticket-info-bar,
body.dark-mode .panelino-ticket-chat-container {
    background: #2c3e50;
}

body.panelino-dark-mode .panelino-admin-message .panelino-chat-bubble,
body.dark-mode .panelino-admin-message .panelino-chat-bubble {
    background: #34495e;
    color: #ecf0f1;
}

body.panelino-dark-mode .panelino-ticket-reply-form,
body.dark-mode .panelino-ticket-reply-form {
    background: #2c3e50;
}

body.panelino-dark-mode .panelino-form-group .panelino-ui-input,
body.panelino-dark-mode .panelino-form-group select,
body.panelino-dark-mode .panelino-form-group textarea,
body.panelino-dark-mode .panelino-reply-input-wrapper,
body.panelino-dark-mode .panelino-reply-input-wrapper textarea,
body.dark-mode .panelino-form-group .panelino-ui-input,
body.dark-mode .panelino-form-group select,
body.dark-mode .panelino-form-group textarea,
body.dark-mode .panelino-reply-input-wrapper textarea {
    background: #34495e;
    color: #ecf0f1;
    border-color: #4a5f7f;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .panelino-ticket-reply-form {
        flex-wrap: nowrap !important;
    }

    .panelino-support-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 28px 24px;
    }

    .panelino-support-header-content {
        flex-direction: column;
        gap: 16px;
    }

    .panelino-support-header-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .panelino-support-header-icon {
        width: 28px;
        height: 28px;
    }

    .panelino-ui-btn-new-ticket {
        width: 100%;
        justify-content: center;
    }

    .panelino-support-stats {
        gap: 16px;
    }

    .panelino-support-stat-card {
        padding: 22px;
    }

    .panelino-stat-icon {
        width: 60px;
        height: 60px;
    }

    .panelino-stat-icon .panelino-icon-svg {
        width: 30px;
        height: 30px;
    }

    .panelino-support-filters {
        flex-direction: row;
        align-items: stretch;
        padding: 18px;
        gap: 10px;
    }

    .panelino-filter-btn {
        padding: 10px 16px;
        font-size: 13px;
        flex: 1;
        min-width: 0;
    }

    .panelino-filter-icon {
        font-size: 14px;
    }

    .panelino-ticket-card {
        padding: 20px;
    }

    .panelino-ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .panelino-ticket-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .panelino-form-row {
        grid-template-columns: 1fr;
    }

    .panelino-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .panelino-ticket-detail-modal-content {
        width: 100%;
        border-radius: 0;
    }

    .panelino-chat-bubble {
        max-width: 85%;
    }

    .panelino-ticket-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .panelino-support-header {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .panelino-support-header-content h2 {
        font-size: 24px;
    }

    .panelino-support-subtitle {
        font-size: 13px;
    }

    .panelino-support-header-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .panelino-support-stat-card {
        padding: 20px;
    }

    .panelino-stat-content h3 {
        font-size: 28px;
    }

    .panelino-stat-content p {
        font-size: 13px;
    }

    .panelino-support-filters {
        padding: 16px;
        gap: 8px;
    }

    .panelino-filter-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .panelino-filter-icon {
        display: none;
    }

    .panelino-ticket-title {
        font-size: 17px;
    }

    .panelino-ticket-number {
        font-size: 11px;
        padding: 5px 10px;
    }

    .panelino-ticket-status {
        padding: 8px 14px;
        font-size: 12px;
    }

    .panelino-empty-state {
        padding: 60px 20px;
    }

    .panelino-empty-icon {
        width: 100px;
        height: 100px;
    }

    .panelino-empty-icon .panelino-icon-svg {
        width: 50px;
        height: 50px;
    }

    .panelino-empty-state h3 {
        font-size: 20px;
    }

    .panelino-empty-state p {
        font-size: 14px;
    }

    .panelino-modal-header h3 {
        font-size: 18px;
    }
}

/* ========== سیستم OTP (کد یک‌بارمصرف) ========== */

/* مدیریت مراحل OTP */
.panelino-otp-step {
    display: none;
    animation: fadeIn 0.3s ease;
    position: relative;
}

.panelino-otp-step.panelino-active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* دکمه برگشت دایره‌ای */
.panelino-otp-back-btn-circle {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--panelino-surface-subtle);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.panelino-otp-back-btn-circle:hover {
    background: #e8e8e8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.panelino-otp-back-btn-circle svg {
    display: block;
    width: 16px;
    height: 16px;
}

/* لوگو و برند در صفحه OTP */
.panelino-otp-logo-section {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 10px;
}

.panelino-otp-logo-container {
    margin-bottom: 20px;
}

.panelino-otp-logo,
.panelino-otp-logo-placeholder {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto;
}

.panelino-otp-logo {
    object-fit: contain;
}

.panelino-otp-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panelino-otp-logo-placeholder svg {
    width: 100%;
    height: 100%;
}

.panelino-otp-brand-name {
    font-size: 24px;
    font-weight: 500;
    color: #3366FF;
    margin: 0;
    font-family: inherit;
}

/* عنوان و راهنما */
.panelino-otp-title-section {
    text-align: center;
    margin-bottom: 0px;
}

.panelino-otp-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 15px 0;
    font-family: inherit;
}

.panelino-otp-instruction {
    font-size: 16px;
    color: #666666;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* فرم OTP */
.panelino-otp-form {
    margin-top: 0;
    padding: 0;
}

/* اطلاعات شماره در صفحه OTP */
.panelino-otp-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--panelino-surface-muted);
    border-radius: 12px;
}

.panelino-otp-info p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 15px;
}

.panelino-otp-info span {
    font-weight: 600;
    color: #333;
    direction: ltr;
    display: inline-block;
}

.panelino-change-phone {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.panelino-change-phone:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ورودی شماره موبایل */
.panelino-ui-phone-input-wrapper {
    display: flex;
    flex-direction: row-reverse;
    /* در RTL: کد کشور سمت چپ، شماره سمت راست */
    gap: 10px;
    align-items: stretch;
    margin-bottom: 8px;
}

.panelino-country-code {
    padding: 14px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    background: var(--panelino-bg-card);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 90px;
    width: auto;
    flex-shrink: 0;
    direction: ltr;
    text-align: center;
    box-sizing: border-box;
}

.panelino-country-code:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.panelino-ui-phone-input-wrapper input[type="tel"] {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    direction: ltr;
    text-align: end;
    
}

.panelino-ui-phone-input-wrapper input[type="tel"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.panelino-phone-mask {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
    padding-inline-start: 10px;
    min-height: 20px;
    direction: ltr;
}

/* باکس‌های ورودی OTP */
.panelino-otp-inputs-wrapper {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

/* Override استایل‌های قالب وردپرس برای اینپوت‌های OTP */
.panelino-otp-inputs-wrapper input[type="text"],
.panelino-otp-inputs-wrapper .panelino-otp-input,
.panelino-otp-inputs-wrapper input.panelino-otp-input {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    flex: 0 0 56px !important;
    padding: 0 !important;
}

.panelino-otp-input {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    background: #FFFFFF;
    transition: all 0.3s ease;
    direction: ltr;
    
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 0 !important;
}

.panelino-otp-input:focus {
    outline: none;
    border-color: #3366FF;
    box-shadow: 0 0 0 2px rgba(51, 102, 255, 0.2);
}

.panelino-otp-input.filled {
    border-color: #3366FF;
    background: #FFFFFF;
}

.panelino-otp-input.panelino-error {
    border-color: #f44336;
    background: var(--panelino-alert-error-bg);
    animation: shake 0.4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* تایمر OTP */
.panelino-otp-timer-display {
    text-align: center;
    margin: 0px;
    display: none;
    /* در ابتدا مخفی است */
}

.panelino-otp-timer-text {
    font-size: 18px;
    font-weight: 400;
    color: #3366FF;
    direction: ltr;
    display: inline-block;
    
}

/* دکمه ارسال مجدد */
.panelino-otp-resend-link {
    display: block !important;
    text-align: center !important;
    color: #AAAAAA !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    margin: 10px 0px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color 0.3s ease !important;
    font-family: inherit !important;
}

.panelino-otp-resend-link:not(:disabled) {
    color: #3366FF;
    cursor: pointer;
}

.panelino-otp-resend-link:not(:disabled):hover {
    color: #1a4dcc;
    text-decoration: underline;
}

.panelino-otp-resend-link:disabled {
    pointer-events: none;
    opacity: 0.6;
}

/* دکمه بررسی کد */
.panelino-otp-verify-btn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 16px !important;
    background: #4267FF !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    display: block !important;
}

.panelino-otp-verify-btn:hover {
    background: #3366FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 103, 255, 0.3);
}

.panelino-otp-verify-btn:active {
    transform: translateY(0);
}

/* لینک بازگشت */
.panelino-otp-back-link {
    display: block;
    text-align: center;
    color: #FF4444;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s ease;
    font-family: inherit;
}

.panelino-otp-back-link:hover {
    color: #cc0000;
    text-decoration: underline;
}

/* پیام‌های خطا و وضعیت */
.panelino-field-error {
    color: #f44336;
    font-size: 13px;
    margin-top: 8px;
    padding-inline-start: 5px;
    min-height: 20px;
    display: none;
}

.panelino-field-error.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.panelino-status-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.panelino-status-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.panelino-status-message.panelino-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.panelino-status-message.panelino-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.panelino-status-message.warning {
    background: rgba(255, 152, 0, 0.12);
    color: #e65100;
    border: 1px solid #ffcc80;
}

.panelino-status-message.info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

/* ریسپانسیو OTP */
@media (max-width: 768px) {
    .panelino-otp-inputs-wrapper {
        gap: 8px;
        padding: 0 10px;
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
    }

    .panelino-tracking-timeline {
        gap: 50px;
    }

    .panelino-otp-input {
        width: calc((100% - 32px) / 5) !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 56px;
        font-size: 24px;
        flex: 1 1 calc((100% - 32px) / 5);
        box-sizing: border-box;
    }

    .panelino-otp-logo-section {
        margin-top: 60px;
        margin-bottom: 30px;
    }

    .panelino-otp-logo,
    .panelino-otp-logo-placeholder {
        width: 70px;
        height: 70px;
    }

    .panelino-otp-brand-name {
        font-size: 22px;
    }

    .panelino-otp-title {
        font-size: 22px;
    }

    .panelino-otp-instruction {
        font-size: 15px;
    }

    .panelino-ui-phone-input-wrapper {
        flex-direction: column;
    }

    .panelino-country-code {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .panelino-otp-inputs-wrapper {
        gap: 6px;
        padding: 0 5px;
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
    }

    .panelino-otp-input {
        width: calc((100% - 24px) / 5) !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 52px;
        font-size: 22px;
        flex: 1 1 calc((100% - 24px) / 5);
        box-sizing: border-box;
    }

    .panelino-otp-logo-section {
        margin-top: 50px;
        margin-bottom: 25px;
    }

    .panelino-otp-logo,
    .panelino-otp-logo-placeholder {
        width: 60px;
        height: 60px;
    }

    .panelino-otp-brand-name {
        font-size: 20px;
    }

    .panelino-otp-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .panelino-otp-instruction {
        font-size: 14px;
    }

    .panelino-otp-timer-text {
        font-size: 16px;
    }

    .panelino-otp-resend-link {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .panelino-otp-verify-btn {
        font-size: 15px;
        padding: 14px;
    }

    .panelino-otp-back-link {
        font-size: 15px;
    }

    .panelino-auth-container {
        padding: 20px 16px;
        margin: 10px auto;
        max-width: calc(100% - 20px);
    }

    .panelino-login-header {
        margin-bottom: 16px;
    }

    .panelino-logo,
    .panelino-logo-placeholder {
        width: 64px;
        height: 64px;
    }

    .panelino-brand-name {
        font-size: 18px;
    }

    .panelino-welcome-message {
        margin-bottom: 16px;
    }

    .panelino-welcome-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .panelino-welcome-subtitle {
        font-size: 12px;
    }

    .panelino-phone-group {
        margin-bottom: 14px;
    }

    .panelino-login-btn {
        padding: 12px;
        margin-bottom: 10px;
        font-size: 15px;
    }

    .panelino-terms-link {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .panelino-register-link-wrapper {
        margin-top: 10px;
        padding-top: 10px;
    }

    .panelino-register-link-text {
        font-size: 11px;
    }
}

/* حالت Dark Mode برای OTP */
body.dark-mode .panelino-otp-header {
    border-bottom-color: #333;
}

body.dark-mode .panelino-otp-header h3 {
    color: #fff;
}

body.dark-mode .panelino-back-btn {
    color: #9d7aff;
}

body.dark-mode .panelino-back-btn:hover {
    background: #333;
    color: #b794ff;
}

body.dark-mode .panelino-otp-info {
    background: #2a2a2a;
}

body.dark-mode .panelino-otp-info p {
    color: #ccc;
}

body.dark-mode .panelino-otp-info span {
    color: #fff;
}

body.dark-mode .panelino-change-phone {
    color: #9d7aff;
}

body.dark-mode .panelino-ui-phone-input-wrapper input[type="tel"],
body.dark-mode .panelino-country-code {
    background: #2a2a2a;
    border-color: #444;
    color: #fff;
}

body.dark-mode .panelino-ui-phone-input-wrapper input[type="tel"]:focus,
body.dark-mode .panelino-country-code:focus {
    border-color: #9d7aff;
    box-shadow: 0 0 0 3px rgba(157, 122, 255, 0.2);
}

body.dark-mode .panelino-otp-input {
    background: #2a2a2a;
    border-color: #444;
    color: #fff;
}

body.dark-mode .panelino-otp-input:focus {
    border-color: #9d7aff;
    box-shadow: 0 0 0 3px rgba(157, 122, 255, 0.2);
}

body.dark-mode .panelino-otp-input.filled {
    border-color: #9d7aff;
    background: #1f1f2e;
}

body.dark-mode .panelino-otp-input.panelino-error {
    border-color: #f44336;
    background: #3d1f1f;
}

body.dark-mode .panelino-otp-timer {
    background: #2a2a2a;
    color: #ccc;
}

body.dark-mode .panelino-ui-btn-resend:not(:disabled) {
    background: #2a2a2a;
    color: #9d7aff;
    border-color: #9d7aff;
}

body.dark-mode .panelino-ui-btn-resend:not(:disabled):hover {
    background: #9d7aff;
    color: #fff;
}

body.dark-mode .panelino-field-error {
    color: #ff6b6b;
}

body.dark-mode .panelino-status-message.panelino-success {
    background: #1b5e20;
    color: #a5d6a7;
    border-color: #2e7d32;
}

body.dark-mode .panelino-status-message.panelino-error {
    background: #b71c1c;
    color: #ef9a9a;
    border-color: #c62828;
}

body.dark-mode .panelino-status-message.warning {
    background: #e65100;
    color: #ffcc80;
    border-color: #ff9800;
}

/* ========== مودال تکمیل پروفایل (اجباری) ========== */
.panelino-profile-modal {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: panelino-modal-fade-in 0.3s ease;
}

.panelino-profile-modal-overlay {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.panelino-profile-modal-content {
    position: relative;
    background: var(--panelino-bg-card);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    animation: panelino-modal-slide-up 0.3s ease;
}

.panelino-profile-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.panelino-profile-modal-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.panelino-profile-modal-subtitle {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.panelino-profile-form {
    padding: 30px;
}

.panelino-profile-form-group {
    margin-bottom: 24px;
}

.panelino-profile-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.panelino-required {
    color: #f44336;
    margin-inline-start: 4px;
}

.panelino-ui-profile-input {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

.panelino-ui-profile-input:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.panelino-ui-profile-input:invalid:not(:placeholder-shown) {
    border-color: #f44336 !important;
}

.panelino-profile-error {
    display: block !important;
    margin-top: 6px !important;
    font-size: 13px !important;
    color: #f44336 !important;
    min-height: 20px !important;
}

.panelino-profile-form-actions {
    margin-top: 32px !important;
    display: flex !important;
    gap: 12px !important;
    justify-content: flex-end !important;
}

.panelino-profile-btn {
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 140px !important;
    justify-content: center !important;
}

.panelino-profile-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.panelino-profile-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.panelino-profile-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4) !important;
}

.panelino-profile-btn-spinner {
    display: inline-block !important;
    animation: panelino-spin 1s linear infinite !important;
}

@keyframes panelino-modal-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes panelino-modal-slide-up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes panelino-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .panelino-profile-modal-content {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 95vh;
    }

    .panelino-profile-modal-header,
    .panelino-profile-form {
        padding: 20px;
    }

    .panelino-profile-modal-title {
        font-size: 20px;
    }

    .panelino-profile-form-actions {
        flex-direction: column;
    }

    .panelino-profile-btn {
        width: 100%;
    }
}

/* حالت تاریک */
body.dark-mode .panelino-profile-modal-content {
    background: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode .panelino-profile-modal-title {
    color: #e0e0e0;
}

body.dark-mode .panelino-profile-modal-subtitle {
    color: #b0b0b0;
}

body.dark-mode .panelino-ui-profile-input {
    background: #2a2a2a;
    border-color: #404040;
    color: #e0e0e0;
}

body.dark-mode .panelino-ui-profile-input:focus {
    border-color: #667eea;
}

body.dark-mode .panelino-status-message.info {
    background: #0d47a1;
    color: #90caf9;
    border-color: #1565c0;
}

/* ========== استایل‌های پاپ‌آپ امتیازها ========== */

.panelino-points-modal .panelino-modal-content {
    max-width: 700px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    height: auto;
    min-height: 500px;
}

.panelino-points-popup-header {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 30px;
    text-align: center;
    color: white;
    position: relative;
}

.panelino-points-popup-icon {
    font-size: 64px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.panelino-points-popup-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.panelino-points-balance-card-popup {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #fff9e6 0%, #ffeaa7 100%);
    border-radius: 16px;
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

.panelino-balance-icon-popup {
    font-size: 56px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.panelino-balance-info-popup {
    flex: 1;
}

.panelino-balance-label-popup {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.panelino-balance-amount-popup {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.panelino-balance-currency-popup {
    display: block;
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

.panelino-points-info-popup {
    padding: 20px 0;
}

.panelino-info-card-popup {
    background: var(--panelino-surface-muted);
    padding: 20px;
    border-radius: 12px;
    border-inline-start: 4px solid #fbbf24;
}

.panelino-info-card-popup h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.panelino-info-card-popup ul {
    margin: 0;
    padding-inline-start: 20px;
    list-style: none;
}

.panelino-info-card-popup ul li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    position: relative;
}

.panelino-info-card-popup ul li:before {
    content: "";
    position: absolute;
    inset-inline-start: -20px;
    color: #10b981;
    font-weight: bold;
}

.panelino-points-balance-card-popup {
    margin: 20px 0;
}

.panelino-action-btn-popup {
    width: 100% !important;
    padding: 16px 24px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.panelino-action-btn-popup:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

.panelino-action-btn-popup.panelino-convert {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.panelino-action-btn-popup.panelino-convert:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

.panelino-points-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px 20px;
    min-height: 0;
}

.panelino-points-popup-body::-webkit-scrollbar {
    width: 8px;
}

.panelino-points-popup-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.panelino-points-popup-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.panelino-points-popup-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.panelino-points-convert-form-popup {
    background: var(--panelino-surface-muted);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.panelino-points-convert-form-popup h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.panelino-points-convert-form-popup .panelino-form-group {
    margin-bottom: 15px;
}

.panelino-points-convert-form-popup .panelino-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.panelino-points-convert-form-popup .panelino-form-group .panelino-ui-input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.panelino-points-convert-form-popup .panelino-form-group .panelino-ui-input[type="number"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.panelino-points-convert-form-popup .panelino-form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.panelino-conversion-info-inline {
    padding: 16px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 8px;
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    color: #155724;
}

.panelino-conversion-info-inline strong {
    color: #10b981;
    font-size: 18px;
}

.panelino-conversion-info-inline small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.panelino-points-no-balance-popup {
    text-align: center;
    padding: 30px 20px;
    background: var(--panelino-alert-warning-bg);
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #ffc107;
}

.panelino-points-no-balance-popup p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #856404;
    font-weight: 600;
}

.panelino-points-no-balance-popup small {
    font-size: 13px;
    color: #856404;
}

.panelino-points-history-section-popup {
    padding: 20px 0;
}

.panelino-section-header-popup {
    margin-bottom: 20px;
}

.panelino-section-header-popup h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.panelino-points-history-list-popup {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panelino-points-history-item-popup {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--panelino-bg-card);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.panelino-points-history-item-popup:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(-5px);
}

.panelino-history-icon-popup {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.panelino-history-icon-popup.panelino-positive {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.panelino-history-icon-popup.panelino-negative {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.panelino-history-details-popup {
    flex: 1;
}

.panelino-history-details-popup h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.panelino-history-details-popup p {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #666;
}

.panelino-history-details-popup small {
    font-size: 12px;
    color: #999;
}

.panelino-history-amount-popup {
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.panelino-history-amount-popup.panelino-positive {
    color: #10b981;
}

.panelino-history-amount-popup.panelino-negative {
    color: #ef4444;
}

.panelino-no-history-popup {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.panelino-no-history-popup .panelino-empty-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.panelino-no-history-popup p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #666;
}

.panelino-no-history-popup small {
    font-size: 13px;
    color: #999;
}

.panelino-conversion-info {
    padding: 16px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    color: #155724;
}

.panelino-conversion-info strong {
    color: #10b981;
    font-size: 18px;
}

.panelino-conversion-info small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .panelino-points-modal .panelino-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .panelino-points-balance-card-popup {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .panelino-balance-amount-popup {
        font-size: 28px;
    }

    .panelino-points-popup-header {
        padding: 20px;
    }

    .panelino-points-popup-header h2 {
        font-size: 22px;
    }

    .panelino-points-popup-icon {
        font-size: 48px;
    }
}

/* ========== اصلاح Layout دسکتاپ برای تب‌های Support و Addresses ========== */
@media (min-width: 992px) {

    /* اطمینان از flex layout صحیح */
    .panelino-dashboard-new {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        overflow-x: hidden;
    }

    /* اطمینان از شروع محتوا از بالای .panelino-main-content */
    .panelino-main-content {
        flex: 1 1 auto;
        width: auto;
        max-width: 100%;
        margin: 0 !important;
        padding-top: 20px !important;
        padding-inline-end: 30px !important;
        padding-inline-start: 30px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }

    /* حذف margin/padding اضافی از tab-content */
    .panelino-tab-content {
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        position: relative;
    }

    /* اطمینان از شروع محتوا از بالا در تب‌های support و addresses */
    #tab-support,
    #tab-addresses {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* حذف margin-top از containerهای support و addresses */
    .panelino-tab-content .panelino-support-container,
    .panelino-tab-content .panelino-addresses-section {
        margin: 0 !important;
        padding-top: 0 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* حذف margin-top از headerهای support و addresses */
    .panelino-support-header,
    .panelino-addresses-header {
        margin-top: 0 !important;
        margin-inline-end: 0 !important;
        margin-inline-start: 0 !important;
    }
}



.panelino-club-card-fix {
    flex: 1 !important;
    min-width: 250px !important;
    background: var(--panelino-bg-card) !important;
    border-radius: 25px !important;
    padding: 40px 15px !important;
    text-align: center !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid #f8faff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.panelino-club-card-fix:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
}

/* Global Fixes */
.panelino-desktop-only {
    display: block !important;
}

.panelino-mobile-only {
    display: none !important;
}

@media (max-width: 991px) {
    .panelino-desktop-only {
        display: none !important;
    }

    .panelino-mobile-only {
        display: block !important;
    }
}

/* ============================================
   UNIQUE BENTO GRID HOME PAGE DESIGN
   ============================================ */

/* Bento Grid Container */
.panelino-bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(120px, auto);
    gap: 20px;
    margin-top: 24px;
}

/* Hero Welcome Card - Spans 4 columns, 2 rows */
.panelino-hero-welcome {
    grid-column: span 4;
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 40px;
    color: white;
}

.panelino-welcome-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Animated Blobs */
.panelino-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: blobFloat 15s ease-in-out infinite;
}

.panelino-blob-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #f093fb 0%, #f5576c 100%);
    top: -100px;
    inset-inline-start: -50px;
}

.panelino-blob-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #4facfe 0%, #00f2fe 100%);
    bottom: -80px;
    inset-inline-end: -60px;
    animation-delay: -5s;
}

.panelino-blob-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ffeaa7 0%, #fdcb6e 100%);
    top: 50%;
    inset-inline-end: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.panelino-welcome-content {
    position: relative;
    z-index: 2;
}

.panelino-time-greeting {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
    animation: fadeInDown 0.6s ease;
}

.panelino-user-name-large {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.panelino-welcome-subtitle {
    font-size: 14px;
    opacity: 0.8;
    margin: 0 0 24px 0;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Inline Stats */
.panelino-inline-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.panelino-inline-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.panelino-stat-num {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.panelino-stat-label {
    font-size: 12px;
    opacity: 0.8;
}

.panelino-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Floating Avatar */
.panelino-floating-avatar {
    position: absolute;
    bottom: 30px;
    inset-inline-end: 40px;
    width: 120px;
    height: 120px;
    animation: avatarFloat 3s ease-in-out infinite;
}

.panelino-floating-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.panelino-avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes avatarFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Wallet Card - Spans 2 columns, 2 rows */
.panelino-wallet-card {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
    overflow: hidden;
}

.panelino-wallet-card .panelino-card-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.panelino-wallet-card .panelino-card-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0 0 16px 0;
}

.panelino-wallet-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.panelino-amount {
    font-size: 36px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.panelino-currency {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.panelino-card-action {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.panelino-card-action:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.panelino-card-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.1) 10px, rgba(255, 255, 255, 0.1) 20px);
}

/* Notifications Card - Spans 2 columns, 1 row */
.panelino-notif-card {
    grid-column: span 2;
    grid-row: span 1;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
}

.panelino-notif-card .panelino-card-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.panelino-notif-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.panelino-notif-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.panelino-notif-card .panelino-notif-badge {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.panelino-notif-card.panelino-has-unread .panelino-notif-badge {
    background: #ff4757;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Quick Actions Card - Spans 4 columns, 1 row */
.panelino-quick-actions-card {
    grid-column: span 4;
    grid-row: span 1;
    background: var(--panelino-bg-card);
}

.panelino-quick-actions-card .panelino-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #1e293b;
}

.panelino-action-bubbles {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.panelino-action-bubble {
    flex: 1;
    min-width: 120px;
    background: var(--panelino-surface-muted);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panelino-action-bubble:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.panelino-bubble-icon {
    font-size: 28px;
    animation: bubbleBounce 2s ease-in-out infinite;
}

.panelino-bubble-label {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-align: center;
}

.panelino-bubble-primary {
    border-color: #667eea;
}

.panelino-bubble-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.panelino-bubble-primary:hover .panelino-bubble-label {
    color: white;
}

.panelino-bubble-success {
    border-color: #10b981;
}

.panelino-bubble-success:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
}

.panelino-bubble-success:hover .panelino-bubble-label {
    color: white;
}

.panelino-bubble-info {
    border-color: #3b82f6;
}

.panelino-bubble-info:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
}

.panelino-bubble-info:hover .panelino-bubble-label {
    color: white;
}

.panelino-bubble-warning {
    border-color: #f59e0b;
}

.panelino-bubble-warning:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #f59e0b;
}

.panelino-bubble-warning:hover .panelino-bubble-label {
    color: white;
}

@keyframes bubbleBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Activity Card - Spans 6 columns, 2 rows */
.panelino-activity-card {
    grid-column: span 6;
    grid-row: span 2;
    background: var(--panelino-bg-card);
}

.panelino-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panelino-activity-count {
    font-size: 13px;
    color: #64748b;
    background: var(--panelino-surface-subtle);
    padding: 6px 12px;
    border-radius: 20px;
}

.panelino-activity-stream {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.panelino-activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--panelino-surface-muted);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.panelino-activity-item:hover {
    background: var(--panelino-surface-subtle);
    transform: translateX(-4px);
}

.panelino-activity-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.panelino-activity-content {
    flex: 1;
}

.panelino-activity-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.panelino-activity-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 4px 0;
}

.panelino-activity-time {
    font-size: 12px;
    color: #94a3b8;
}

.panelino-activity-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

.panelino-badge-completed {
    background: #d1fae5;
    color: #065f46;
}

.panelino-badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.panelino-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.panelino-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Slider Card - Spans 6 columns, 1 row */
.panelino-slider-card {
    grid-column: span 6;
    grid-row: span 1;
    background: var(--panelino-bg-card);
    overflow: hidden;
}

.panelino-mini-slider {
    position: relative;
    height: 100%;
}

.panelino-slider-wrapper {
    position: relative;
    height: 100%;
}

.panelino-slider-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.panelino-slider-slide.panelino-active {
    display: block;
}

.panelino-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.panelino-slider-dots {
    position: absolute;
    bottom: 16px;
    inset-inline-end: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.panelino-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.panelino-dot.panelino-active {
    background: var(--panelino-bg-card);
    width: 24px;
    border-radius: 4px;
}

/* Base Bento Item Styles */
.panelino-bento-item {
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.panelino-bento-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .panelino-bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .panelino-hero-welcome {
        grid-column: span 4;
    }

    .panelino-wallet-card {
        grid-column: span 2;
    }

    .panelino-notif-card {
        grid-column: span 2;
    }

    .panelino-quick-actions-card {
        grid-column: span 4;
    }

    .panelino-activity-card {
        grid-column: span 4;
    }

    .panelino-slider-card {
        grid-column: span 4;
    }
}

@media (max-width: 768px) {
    .panelino-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .panelino-bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .panelino-hero-welcome {
        padding: 24px;
    }

    .panelino-user-name-large {
        font-size: 24px;
    }

    .panelino-floating-avatar {
        width: 80px;
        height: 80px;
        bottom: 20px;
        inset-inline-end: 24px;
    }

    .panelino-action-bubbles {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   UNIQUE BENTO GRID HOME PAGE DESIGN
   ============================================ */

.panelino-bento-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    grid-auto-rows: minmax(120px, auto) !important;
    gap: 20px !important;
    margin-top: 24px !important;
}

.panelino-hero-welcome {
    grid-column: span 4 !important;
    grid-row: span 2 !important;
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    color: white !important;
}

.panelino-wallet-card {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: white !important;
}

.panelino-notif-card {
    grid-column: span 2 !important;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    color: white !important;
}

.panelino-quick-actions-card {
    grid-column: span 4 !important;
    background: var(--panelino-bg-card) !important;
}

.panelino-activity-card {
    grid-column: span 6 !important;
    grid-row: span 2 !important;
    background: var(--panelino-bg-card) !important;
}

.panelino-bento-item {
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}



.panelino-btn-withdrawal {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.panelino-btn-withdrawal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.panelino-btn-withdrawal:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panelino-btn-withdrawal {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.panelino-btn-withdrawal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.panelino-btn-withdrawal:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.panelino-profile-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    
    background: var(--panelino-bg-card);
    transition: all 0.3s ease;
    cursor: pointer;
}

.panelino-profile-form-select:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.panelino-profile-form-select:hover {
    border-color: #cbd5e1;
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bank Card Menu Dropdown */
.panelino-card-menu-dropdown {
    position: absolute;
    top: 35px;
    inset-inline-start: 0;
    background: var(--panelino-bg-card);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 150px;
}

.panelino-card-menu-dropdown button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-align: start;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    
    color: #334155;
    transition: background 0.2s ease;
}

.panelino-card-menu-dropdown button:hover {
    background: var(--panelino-surface-muted);
}

.panelino-card-menu-dropdown button:first-child {
    border-radius: 8px 8px 0 0;
}

.panelino-card-menu-dropdown button:last-child {
    border-radius: 0 0 8px 8px;
    color: #ef4444;
}

.panelino-bank-card-header {
    position: relative;
}

.panelino-bank-card-menu {
    cursor: pointer;
    user-select: none;
}

/* Fix RTL for card numbers */
.panelino-bank-card-number {
    direction: ltr;
    text-align: center;
}

/* ==========================================================================
   Frontend Audit Fixes (Mobile & Layout)
   ========================================================================== */

@media (max-width: 768px) {
    .panelino-container {
        margin: 0 auto !important;
        padding: 12px !important;
        min-height: 100vh;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }

    .panelino-app-header {
        top: 0;
        margin-bottom: 16px;
        border-radius: 0 0 16px 16px;
    }

    .panelino-bento-grid {
        gap: 12px !important;
        margin-top: 16px !important;
    }
}

@media (max-width: 992px) {
    .panelino-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        inset-inline-start: -280px;
        width: 280px;
        background: var(--panelino-bg-card);
        z-index: 9999;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        overflow-y: auto;
    }

    .panelino-sidebar.panelino-active {
        inset-inline-start: 0;
    }

    body.panelino-sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        inset-inline-end: 0;
        inset-inline-start: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9998;
        backdrop-filter: blur(2px);
        animation: fadeIn 0.3s ease;
    }
}

.panelino-container * {
    box-sizing: border-box;
}

.panelino-loading-spinner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    /* Reset incorrect properties if they bleed from elsewhere, though here we are overwriting */
    height: auto;
    border: none;
    animation: none;
}

.panelino-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--panelino-blue);
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.panelino-loading-spinner p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Auth Steps Animation & Visibility
   ======================================== */
.panelino-otp-step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.panelino-otp-step.panelino-active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Social Login
   ======================================== */
.panelino-social-login-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
    width: 100%;
}

.panelino-social-login-separator:before,
.panelino-social-login-separator:after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.panelino-social-login-separator span {
    padding: 0 10px;
    color: #999;
    font-size: 13px;
    background: var(--panelino-bg-card);
    z-index: 1;
}

.panelino-social-login-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}

.panelino-social-login-wrapper>div {
    display: block !important;
    width: 100% !important;
}

.g_id_signin iframe {
    width: 100% !important;
    display: block !important;
    margin: 0 auto !important;

}

/* Fallback Fix for missing icons - Ensure visibility */
.panelino-icon-svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    stroke: currentColor;
    fill: none;
}

.panelino-home-card-icon .panelino-icon-svg,
.panelino-stat-icon .panelino-icon-svg,
.panelino-card-icon .panelino-icon-svg {
    width: 32px !important;
    height: 32px !important;
}

.panelino-nav-icon .panelino-icon-svg {
    width: 20px !important;
    height: 20px !important;

    /* Specific rule for small button icons */
    .panelino-address-btn .panelino-icon-svg {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
    }
}

/* ========== COMPACT ADDRESS MODAL FIX ========== */
.panelino-address-modal .panelino-modal-content {
    max-width: 580px !important; /* Make it compact horizontally */
    padding: 20px 25px !important; /* Reduce padding from 35px */
    border-radius: 16px !important;
    max-height: 90vh !important;
    overflow-y: auto !important; /* Auto will hide scrollbar if content fits */
}

/* Adjust form row gaps */
.panelino-address-modal .panelino-form-row {
    gap: 12px 16px !important;
    margin-bottom: 12px !important;
}

/* Adjust form group labels and fields */
.panelino-address-modal .panelino-form-group {
    gap: 6px !important;
    margin-bottom: 0 !important;
}

.panelino-address-modal .panelino-form-group label {
    font-size: 13px !important;
    margin-bottom: 2px !important;
}

/* Compact padding for inputs, selects and textareas */
.panelino-address-modal .panelino-form-group .panelino-ui-input,
.panelino-address-modal .panelino-form-group input,
.panelino-address-modal .panelino-form-group select,
.panelino-address-modal .panelino-form-group textarea {
    padding: 9px 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    height: 38px !important;
    box-sizing: border-box !important;
}

/* Specific fix for textareas */
.panelino-address-modal .panelino-form-group textarea {
    height: 60px !important;
    min-height: 60px !important;
    resize: none !important;
}

/* Specific fix for checkbox spacing */
.panelino-address-modal .panelino-checkbox-label {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    font-size: 13px !important;
}

/* Compact submit button */
.panelino-address-modal button[type="submit"] {
    padding: 10px 16px !important;
    height: 42px !important;
    font-size: 14px !important;
    margin-top: 10px !important;
    border-radius: 8px !important;
}

/* ======================================================
   Modern Redesigned Service Subtabs & Segmented Control
   ====================================================== */
.panelino-services-subtabs-wrapper {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    margin-bottom: 28px;
    padding-bottom: 4px;
    display: flex;
    justify-content: flex-start;
}
.panelino-services-subtabs-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Webkit */
}

.panelino-services-subtabs {
    display: inline-flex;
    align-items: center;
    background: var(--panelino-bg-body, #f8fafc);
    padding: 6px;
    border-radius: 16px;
    gap: 8px;
    border: 1px solid var(--panelino-border-color, #e2e8f0);
}

.panelino-subtab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--panelino-text-secondary, #64748b) !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    user-select: none;
}

.panelino-subtab-link:hover {
    color: var(--panelino-text-main, #1e293b) !important;
    background: rgba(100, 116, 139, 0.08);
}

.panelino-subtab-link.active {
    color: #ffffff !important;
    background: var(--panelino-primary-color, #4f46e5) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.panelino-subtab-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.panelino-subtab-link:hover .dashicons {
    transform: scale(1.1);
}

.panelino-subtab-link.active .dashicons {
    color: #ffffff !important;
}

/* Badge Styling */
.panelino-subtab-link .subtab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 9999px;
    min-width: 18px;
    height: 18px;
    line-height: 1;
    margin-right: 6px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25);
    transition: all 0.25s ease;
}

.panelino-subtab-link.active .subtab-badge {
    background: var(--panelino-bg-card) !important;
    color: var(--panelino-primary-color, #4f46e5) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}



