body.supino-channel-page {
    --supino-color-shadow: #0f385eed;
    --supino-color-background: #1a2c3f;
    --supino-color-background-second: #112334;
    margin: 0;
    padding: 0;
    background: var(--supino-color-background);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.supino-channel-wrap {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--supino-color-background-second);
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
}

.supino-channel-wrap.no-join-footer {
    padding-bottom: 0 !important;
}
.supino-channel-header {
    background: transparent;
    padding: 10px 15px;
    margin: 15px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 15px;
    backdrop-filter: blur(4px);
    z-index: 100;
    border: 1px solid #ffffff36;
    border-radius: 40px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: inset 0px 0px 70px 0px var(--supino-color-shadow);
}
.channel-avatar { width: 42px; height: 42px; border-radius: 50%; overflow:hidden; flex-shrink: 0; }
.channel-info h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffffed;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
}
.channel-info span {
    font-size: 13px;
    color: #ffffffad;
}
.supino-pinned-message {
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    position: sticky;
    cursor: pointer;
    flex-shrink: 0;
    top: 90px;
    z-index: 90;
    background: transparent;
    padding: 10px 15px;
    margin: -5px 15px 0;
    backdrop-filter: blur(4px);
    border: 1px solid #ffffff36;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: inset 0px 0px 70px 0px var(--supino-color-shadow);
}
.supino-pinned-message:hover {
    background: #f5f5f529;
}
.pin-icon {
    color: #ffffffc7;
    display: flex;
    margin-left: 12px;
    justify-content: center;
    align-items: center;
}
.pin-content { flex:1; overflow:hidden; }
.pin-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}
.pin-text {
    font-size: 13px;
    color: #ffffffab;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pin-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.supino-messages-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}
.supino-messages-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    direction: ltr;
}
.message-bubble {
    color: #fff;
    padding: 8px 10px 5px 10px;
    border-radius: 20px 20px 20px 5px;
    max-width: 85%;
    margin-right: auto;
    margin-left: 0;
    position: relative;
    direction: rtl;
    align-self: flex-end;
    background-color: #2078b63d;
    text-align: right;
}
.message-bubble.is-ltr {
    direction: ltr;
    text-align: left;
    margin-right: 0;
    margin-left: auto; /* Keep it on the same side or opposite? Usually channels are one-sided. Telegram channels align all posts to left (in LTR app) or right (in RTL app). */
    /* Wait, in a Channel, all bubbles are aligned to the "start" edge.
       If the app is RTL, bubbles are on Right. 
       If text is LTR, the bubble stays on Right, but text aligns Left inside it? 
       Yes, that is how Telegram works. The bubble position doesn't change based on content, only based on 'who sent it' (and in channels, it's just the channel). */
    margin-right: auto; 
    margin-left: 0; /* Keep position same as RTL default */
}
.message-bubble.is-ltr .message-text {
    direction: ltr;
    text-align: left;
}

.message-text {
    font-size: 15px;
    line-height: 1.6;
    color: #ffffffd9;
    margin-bottom: 4px;
    word-break: break-word;
}
.message-text p { margin: 0 0 8px 0; }
.message-text p:last-child { margin-bottom:0; }
.message-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.message-text pre {
    background: #151f2b;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
    direction: ltr;
    text-align: left;
    white-space: pre;
    color: #e8eaed;
    border: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
}
.message-text pre::-webkit-scrollbar {
    height: 8px;
    background: rgba(255,255,255,0.05);
}
.message-text pre::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}
.message-text code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 7px;
    border-radius: 5px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
    color: #8bb4f7;
    border: 1px solid rgba(255,255,255,0.1);
}
.message-text pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    color: #e8eaed;
    border: none;
}
.message-text blockquote {
    margin: 8px 0;
    padding: 8px 12px;
    border-right: 3px solid #8bb4f7;
    background: rgba(139, 180, 247, 0.15);
    border-radius: 6px;
    color: #ffffffd0;
    font-style: normal;
}
.message-text blockquote p {
    margin: 4px 0;
}
.message-text a {
    color: #8bb4f7;
    text-decoration: none;
    transition: opacity 0.2s;
}
.message-text a:hover {
    text-decoration: underline;
    opacity: 0.8;
}
.message-text strong, .message-text b {
    font-weight: 600;
    color: #fff;
}
.message-text em, .message-text i {
    font-style: italic;
}
.message-text ul, .message-text ol {
    margin: 8px 0;
    padding-right: 20px;
}
.message-text li {
    margin: 4px 0;
}
.message-text hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 12px 0;
}
.supino-hashtag { 
    color: #8bb4f7;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}
.supino-hashtag:hover {
    opacity: 0.8;
}
.message-media.video-file , .message-media.audio-file {
    min-width: 350px;
}
.message-bubble.is-locked {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 15px;
    text-align: center;
}
.message-locked-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 0;
}
.message-locked-overlay .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    opacity: 0.5;
}
.message-locked-overlay .locked-post-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 4px;
}
.message-locked-overlay span:last-child {
    font-size: 13px;
}

.message-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px; /* Removed row-reverse */
    font-size: 11px;
    color: #ffffff90;
    margin-top: 2px;
}
.message-views { display: flex; align-items: center; gap: 3px; }
.message-views svg { opacity: 0.7; }

.load-more-btn {
    border:0; background: rgba(0,0,0,0.05); color: #3390ec; padding: 8px 20px; border-radius: 15px; font-size:13px; cursor: pointer;
}
.supino-join-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: inset 0px 0px 70px 0px var(--supino-color-shadow);
    backdrop-filter: blur(4px);
    padding: 15px 20px;
    z-index: 200;
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 25px 25px 0 0;
}
.supino-join-btn {
    background: #3390ec;
    color: #fff;
    border: 0;
    padding: 16px 25px;
    border-radius: 35px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    text-align: center;
    display: block;
}
.supino-join-btn:hover {
    background: #2f83d6;
}
.header-actions .header-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffffad;
    padding: 10px;
    border-radius: 15px;
}
.header-actions .header-btn:hover {
    background: #ffffff1a;
}
.supino-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 999;
    display: none; align-items: center; justify-content: center;
}
.supino-modal-content {
    background: #fff; width: 90%; max-width: 400px;
    border-radius: 12px; padding: 25px; text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
}
.supino-modal-close {
    position: absolute; top: 10px; left: 10px;
    background: none; border: 0; font-size: 24px; cursor: pointer; color: #999;
}
.supino-modal-input {
    width: 100%; padding: 12px; margin: 15px 0;
    border: 1px solid #ddd; border-radius: 8px; font-size: 16px;
    direction: ltr; text-align: center;
}
.supino-modal-submit {
    background: #3390ec; color: #fff; border: 0; padding: 12px 20px;
    border-radius: 8px; font-size: 15px; width: 100%; cursor: pointer;
}
.supino-date-divider {
    display: flex;
    justify-content: center;
    margin: 15px 0 10px 0;
    position: relative;
    z-index: 5;
    width: 100%;
    pointer-events: none;
    direction: rtl;
}

.supino-date-divider span {
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 500;
    backdrop-filter: blur(2px);
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
@media (max-width: 375px) {
    .supino-channel-header {
        padding: 10px 12px;
        margin: 15px 10px;
    }
    .supino-messages-list {
        padding: 15px 10px;
    }
    .supino-pinned-message {
        margin: -5px 10px 0;
    }
}
/* === Base Styles === */
.ticket-system-wrapper {
    padding: 0;
}

/* === Header Ticket Style === */
/* All header styles inherited from assets/css/admin-style.css */

/* === Layout === */
.supino-app-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 0;
}

.supino-admin-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.supino-admin-header {
    margin-top: 5px;
}

/* === سایدبار (ویرایشگر) === */
.supino-app-sidebar {
    width: 380px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f1;
    position: sticky;
    top: 50px;
    max-height: calc(100vh - 100px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* هدر سایدبار */
.sidebar-header {
    background: #ffffff;
    padding: 18px 25px;
    border-bottom: 2px solid #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidebar-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-new-post {
    width: 32px;
    height: 32px;
    background: #f0f6ff;
    color: var(--var-supino-main-color);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-new-post:hover {
    background: var(--var-supino-main-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3);
}

/* اسکرول سایدبار */
.sidebar-scroll {
    padding: 25px;
    overflow-y: auto;
    flex-grow: 1;
}
.sidebar-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

/* فرم مدرن */
.supino-form-clean {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.supino-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.supino-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0;
}
.supino-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0; /* Default border */
    border-radius: 8px; /* Smooth corners */
    font-size: 14px;
    background: #fff;
    color: #1f2937;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.supino-form-control:focus {
    border-color: var(--var-supino-main-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}
.ltr-input { direction: ltr; font-family: monospace; }
.helper-text-modern {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
    line-height: 1.5;
}
.supino-app-sidebar button#btn-save .spinner {
    display: none;
}
/* دکمه‌های نوع محتوا مدرن */
.media-type-selector-wrapper { margin-bottom: 15px; }
.type-buttons-modern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    background: #f8fafc;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #edf2f7;
}
.type-btn-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 6px;
}
.type-btn-modern .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}
.type-btn-modern:hover {
    background: #fff;
    color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.type-btn-modern.active {
    background: #fff;
    color: var(--var-supino-main-color);
    border-color: var(--var-supino-main-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    font-weight: 700;
}

/* ویرایشگر WP Editor */
.editor-wrapper-modern {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
/* TinyMCE Fixes */
.wp-editor-wrap .wp-editor-media-buttons { padding: 4px 10px; border-bottom: 1px solid #f0f0f1; background: #fafafa; }
.wp-editor-container { border: none !important; border-radius: 0 0 8px 8px; }
div.mce-toolbar-grp { background: #fafafa; border-bottom: 1px solid #f0f0f1; }

/* آپلود فایل مدرن */
.upload-area-wrapper {
    animation: fadeIn 0.3s ease;
}
.attachment-preview-modern {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}
.attachment-preview-modern:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}
.placeholder-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    gap: 8px;
}
.placeholder-modern .dashicons { font-size: 32px; width: 32px; height: 32px; }
.placeholder-modern .text { font-size: 13px; font-weight: 500; }
.attachment-preview-modern img, .attachment-preview-modern video {
    max-width: 100%; max-height: 140px; object-fit: contain;
}
.file-preview {
    display: flex; flex-direction: column; align-items: center; gap: 5px; color: #475569; font-weight: 500; font-size: 13px; padding: 10px; text-align: center;
}

/* تنظیمات پیشرفته (آکاردئونی) */
.form-section-toggle-modern {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.toggle-checkbox { display: none !important; }
.toggle-label-modern {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
    font-size: 13px;
    transition: background 0.2s;
    user-select: none;
    gap: 8px;
}
.toggle-label-modern:hover { background: #f1f5f9; color: #1e293b; }
.toggle-arrow { margin-right: auto; transition: transform 0.3s; color: #94a3b8; }
.toggle-checkbox:checked + .toggle-label-modern {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    color: var(--var-supino-main-color);
}
.toggle-checkbox:checked + .toggle-label-modern .toggle-arrow { transform: rotate(180deg); color: var(--var-supino-main-color); }

.form-section-content-modern {
    display: none;
    padding: 20px;
    background: #fff;
    animation: slideDown 0.3s ease;
}
.toggle-checkbox:checked ~ .form-section-content-modern { display: block; }
.form-section-content-modern .supino-form-group { margin-bottom: 15px; }
.form-section-content-modern .supino-form-group:last-child { margin-bottom: 0; }

.supino-divider {
    border: 0;
    border-top: 1px dashed #e2e8f0;
    margin: 15px 0;
}

/* چک‌باکس مدرن */
.checkbox-group-modern { margin-top: 5px; }
.checkbox-label-modern {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 20px; /* Space for Persian RTL adjustment if needed, but flex gap handles it */
    gap: 10px;
    font-size: 13px;
    color: #4b5563;
    user-select: none;
}
.checkbox-label-modern input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0; width: 0;
}
.checkbox-label-modern .checkmark {
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkbox-label-modern:hover input ~ .checkmark { border-color: #9ca3af; }
.checkbox-label-modern input:checked ~ .checkmark {
    background-color: var(--var-supino-main-color);
    border-color: var(--var-supino-main-color);
}
.checkbox-label-modern .checkmark:after {
    content: "";
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}
.checkbox-label-modern input:checked ~ .checkmark:after { display: block; }

/* دکمه‌های اکشن */
.form-actions-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 25px;
    background: #fff;
    border-top: 1px solid #f0f0f1;
    z-index: 10;
}
.full-width { width: 100%; justify-content: center; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }



/* === ستون لیست پست‌ها === */
.supino-feed-column {
    flex: 1;
    min-width: 0;
}
.feed-list-header {
    margin-bottom: 16px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.feed-list-header .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.feed-list-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}
.post-count {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}
.btn-filter {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s;
}
.btn-filter:hover {
    background: #f9fafb;
    color: #3b82f6;
    border-color: #3b82f6;
}

/* آیتم پست */
.feed-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    padding: 16px;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.2s;
    position: relative;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.feed-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}
.feed-item.is-pinned {
    background: #fef3c7;
    border-color: #fbbf24;
}
.feed-item.is-pinned::before {
    content: '📌';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
}
.feed-item.is-scheduled {
    opacity: 0.7;
    border-style: dashed;
    border-color: #f59e0b;
}
.feed-item.editing {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.feed-item-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
}
.feed-item-icon.type-image {
    background: #dbeafe;
    color: #3b82f6;
}
.feed-item-icon.type-video {
    background: #fef3c7;
    color: #f59e0b;
}
.feed-item-icon.type-audio {
    background: #e9d5ff;
    color: #a855f7;
}
.feed-item-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.feed-item-content {
    flex: 1;
    min-width: 0;
}
.feed-item-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: flex-start;
}
.feed-title {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    line-height: 1.4;
}
.feed-date {
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
}

.feed-excerpt {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 8px;
}

.feed-list-container {
    display: -ms-grid;
    display: grid;
    width: 100%;
    grid-gap: 20px;
    grid-template-columns: 1fr;
}

.feed-meta-badges {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #718096;
    flex-wrap: wrap;
}
.feed-meta-badges > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.feed-meta-badges .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* دکمه‌های عملیات */
.feed-item-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s;
}
.feed-item:hover .feed-item-actions {
    opacity: 1;
}

.action-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f9fafb;
    cursor: pointer;
    color: #6b7280;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.action-btn:hover {
    background: #f3f4f6;
    color: #3b82f6;
}
.action-btn.delete-red:hover {
    background: #fef2f2;
    color: #ef4444;
}
.action-btn.active {
    color: #f59e0b;
    background: #fffbeb;
}

/* صفحه خالی */
.empty-feed-placeholder {
    text-align: center;
    padding: 50px 30px;
    background: #fff;
    border-radius: 8px;
    border: 2px dashed #d1d5db;
}
.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.empty-feed-placeholder h2 {
    color: #1f2937;
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 600;
}
.empty-feed-placeholder p {
    color: #6b7280;
    margin: 0 0 16px 0;
    font-size: 14px;
}
.btn-create-first {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-create-first:hover {
    background: #2563eb;
}

/* انیمیشن */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .supino-app-layout {
        flex-direction: column;
    }
    .supino-app-sidebar {
        width: 100%;
        position: static;
        max-height: none;
        order: 1;
    }
    .supino-feed-column {
        width: 100%;
        order: 2;
    }
}

@media (max-width: 640px) {
    .supino-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .type-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        flex-direction: row;
    }
    .feed-item {
        padding: 14px;
    }
}

/* Code Blocks & Copy Text */
.supino-code-block {
    background: #282c34;
    border-radius: 8px;
    margin: 10px 0;
    overflow: hidden;
    font-family: monospace;
    color: #abb2bf;
    border: 1px solid #3e4451;
    direction: ltr; /* Always LTR for code */
    text-align: left;
}
.supino-code-block .code-header {
    background: #21252b;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3e4451;
    font-size: 12px;
    color: #9da5b4;
}
.supino-code-block .code-lang {
    font-weight: bold;
    text-transform: uppercase;
}
.supino-code-block .copy-code-btn {
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    transition: all 0.2s;
    color: #d7dae0;
    border: none;
    font-size: 11px;
}
.supino-code-block .copy-code-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.supino-code-block pre {
    margin: 0;
    padding: 10px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.5;
    background: transparent;
    border: none;
    white-space: pre-wrap;       /* Ensure wrapping */
    word-wrap: break-word;       /* Break long words */
}
.supino-code-block code {
    background: transparent;
    padding: 0;
    color: inherit;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    white-space: pre-wrap;       /* Ensure lines format correctly */
}

/* Click to Copy Text */
.supino-click-copy {
    cursor: pointer;
    border-bottom: 1px dashed;
    padding-bottom: 1px;
    position: relative;
    transition: all 0.2s;
    font-weight: 500;
}
.supino-click-copy:hover {
    opacity: 0.8;
}

/* Toast Notification */
.supino-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    max-width: 90%;
    text-align: center;
    white-space: pre-line;
}
.supino-toast.show {
    opacity: 1;
}

/* iOS / PWA Install Guide Overlay */
.supino-install-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 100000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0 16px 90px;
}
.supino-install-overlay[style*="block"],
.supino-install-overlay.show {
    display: flex !important;
}
.supino-install-guide {
    background: #1e2d3d;
    border-radius: 20px;
    padding: 24px 20px 20px;
    max-width: 360px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
    direction: rtl;
}
.supino-guide-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}
.supino-guide-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.supino-guide-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}
.supino-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.supino-guide-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.supino-guide-step-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #3390ec;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.supino-guide-step-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.supino-guide-step-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    line-height: 1.6;
    flex: 1;
}
.supino-guide-step-text strong {
    color: #fff;
}
.supino-guide-step-icon {
    color: #3390ec;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.supino-guide-arrow {
    text-align: center;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.35);
    animation: supino-bounce 1.5s ease-in-out infinite;
}
@keyframes supino-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}