/* Global CSS Variables */
:root {
    --font-family: vazir;
    --primary-color: #007ACC;
    --primary-hover: #005A9B;
    --primary-color-10: rgba(0, 122, 204, 0.1);
    --primary-color-20: rgba(0, 122, 204, 0.2);
    --secondary-color: #40A9FF;
    --background-color: #FFFFFF;
    --surface-color: #F8F9FA;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --hover-color: #F3F4F6;
    --error-color: #EF4444;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --message-sent-bg: #B8E6FE;
    /* Responsive Design Variables */
    --mobile-breakpoint: 768px;
    --tablet-breakpoint: 1024px;
    --desktop-breakpoint: 1440px;
    /* Responsive spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    /* Responsive typography */
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-xxl: 20px;
    --font-size-xxxl: 24px;
    /* Responsive layout */
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 60px;
    --header-height: 60px;
    --header-height-mobile: 56px;
    /* Touch targets */
    --touch-target: 44px;
    --touch-target-small: 32px;
}


@font-face {
    font-family: 'vazir';
    src: url('/fonts/Vazir.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'vazir';
    src: url('/fonts/Vazir-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



/* Base styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif,vazir;
    background-color: var(--background-color);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Videos */
video {
    max-width: 100%;
    height: auto;
}

/* Responsive Tables */
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

@media (max-width: 768px) {
    table {
        font-size: var(--font-size-sm);
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Responsive Form Elements */
input, textarea, select, button {
    font-family: inherit;
    font-size: var(--font-size-base);
    line-height: 1.5;
}

@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Touch-friendly buttons on mobile */
@media (max-width: 768px) and (pointer: coarse) {
    button, .btn, .button {
        min-height: var(--touch-target);
        min-width: var(--touch-target);
        padding: 12px 16px;
    }
    
    .btn-small {
        min-height: var(--touch-target-small);
        min-width: var(--touch-target-small);
        padding: 8px 12px;
    }
}

/* Responsive Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-xxxl); }
h2 { font-size: var(--font-size-xxl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

@media (max-width: 768px) {
    h1 { font-size: var(--font-size-xxl); }
    h2 { font-size: var(--font-size-xl); }
    h3 { font-size: var(--font-size-lg); }
    h4 { font-size: var(--font-size-base); }
}

/* Responsive Spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Utility Classes */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

@media (max-width: 768px) {
    .d-none-mobile { display: none !important; }
    .d-block-mobile { display: block !important; }
    .d-flex-mobile { display: flex !important; }
}

@media (min-width: 769px) {
    .d-none-desktop { display: none !important; }
    .d-block-desktop { display: block !important; }
    .d-flex-desktop { display: flex !important; }
}

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-error { color: var(--error-color); }

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .text-left {
    text-align: right;
}

[dir="rtl"] .text-right {
    text-align: left;
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Print styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a, a:visited {
        text-decoration: underline;
    }
    
    .no-print {
        display: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1F1F1F;
        --surface-color: #2A2A2A;
        --text-primary: #FFFFFF;
        --text-secondary: #B3B3B3;
        --border-color: #404040;
        --hover-color: #353535;
    }
}

/* Blazor specific styles */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #333;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: var(--primary-color);
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    color: var(--text-primary);
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}




.no-scroll {
    overflow: hidden;
}

.modal-overlay {
    /*    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .5);
    z-index: 2000;*/

    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 16px;
}
.modal-overlay.open {
    /*display: flex;*/
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.modal-overlay.fade {
    transition: opacity 150ms ease, visibility 150ms ease;
}


.modal-dialog-custom {
    /*    width: 100%;
    max-width: 700px; 
    max-height: calc(100vh - 40px);
    display: flex;*/
    width: min(560px, 100%);
    max-height: calc(100vh - 32px);
    overflow: hidden;
}

.modal-content-custom {
    /*    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;*/

    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
}

.modal-header,
.modal-footer {
    /*    padding: .75rem 1.25rem;
    flex-shrink: 0;*/
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}
.modal-footer {
    border-bottom: 0;
    border-top: 1px solid #eee;
}
.modal-body-custom {
    /*    padding: 1rem 1.25rem;
    overflow-y: auto;*/
    padding: 12px 16px;
    overflow: auto;
}

.members-list {
    max-height: 300px;
    overflow-y: auto;
}

.close-btn {
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.search-container {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.search-input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.search-btn {
    height: 40px;
}

.users-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.user-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
}

.user-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eaeaea;
    color: #555;
    display: grid;
    place-items: center;
    font-weight: 600;
}

.user-info h4 {
    margin: 0 0 2px 0;
    font-size: 14px;
}

.user-info .username,
.user-info .email {
    margin: 0;
    font-size: 12px;
    color: #777;
}

.btn-small {
    padding: 6px 10px;
    font-size: 12px;
}

.loading-container {
    display: grid;
    place-items: center;
    padding: 24px 0;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #ddd;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin .9s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.load-more-container {
    display: grid;
    place-items: center;
    margin-top: 12px;
}

.empty-state {
    text-align: center;
    color: #666;
    padding: 30px 10px;
}

    .empty-state i {
        font-size: 38px;
        margin-bottom: 8px;
        opacity: .8;
    }
    
    /* Voice Recording Modal */
    .voice-recording-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }
    
    .voice-recording-content {
        background: white;
        border-radius: 16px;
        padding: 24px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        max-width: 300px;
        width: 90%;
    }
    
    .recording-animation {
        position: relative;
        width: 100px;
        height: 100px;
        margin: 0 auto 20px;
    }
    
    .pulse-circle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: #007ACC;
        opacity: 0.3;
        animation: pulse 1.5s infinite;
    }
    
    .pulse-circle.delay-1 {
        animation-delay: 0.5s;
    }
    
    .pulse-circle.delay-2 {
        animation-delay: 1s;
    }
    
    @keyframes pulse {
        0% {
            transform: translate(-50%, -50%) scale(0.8);
            opacity: 0.3;
        }
        50% {
            transform: translate(-50%, -50%) scale(1.2);
            opacity: 0.1;
        }
        100% {
            transform: translate(-50%, -50%) scale(0.8);
            opacity: 0.3;
        }
    }
    
    .recording-info h3 {
        margin: 0 0 10px 0;
        color: #333;
        font-size: 18px;
    }
    
    .recording-timer {
        font-size: 24px;
        font-weight: bold;
        color: #007ACC;
        margin-bottom: 20px;
    }
    
    .recording-instruction {
        font-size: 14px;
        color: #666;
        margin-top: 10px;
    }
    
    /* Voice Message Styles */
    .voice-message {
        display: flex;
        align-items: center;
        background: #f0f0f0;
        border-radius: 16px;
        padding: 8px 12px;
        margin: 4px 0;
    }
    
    .voice-play-btn {
        background: #007ACC;
        color: white;
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        margin-right: 12px;
    }
    
    .voice-waveform {
        display: flex;
        align-items: center;
        height: 36px;
        flex: 1;
    }
    
    .wave-bar {
        width: 3px;
        background-color: #007ACC;
        margin: 0 1px;
        border-radius: 2px;
    }
    
    .voice-duration {
        margin-left: 12px;
        font-size: 12px;
        color: #666;
        min-width: 36px;
        text-align: center;
    }
    
    /* Status Viewer Styles */
    .status-viewer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: black;
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .status-viewer {
        width: 100%;
        max-width: 500px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    .status-viewer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        z-index: 10;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
        color: white;
    }
    
    .status-user-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .status-avatar-small {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        overflow: hidden;
    }
    
    .status-avatar-small img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .status-user-details {
        display: flex;
        flex-direction: column;
    }
    
    .status-username {
        font-weight: 600;
        color: white;
    }
    
    .status-time {
        font-size: 12px;
        color: rgba(255,255,255,0.8);
    }
    
    .status-viewer-content {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .status-text-container {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .status-text-content {
        color: white;
        text-align: center;
        max-width: 80%;
    }
    
    .status-text-content p {
        font-size: 24px;
        font-weight: 500;
        line-height: 1.4;
        margin: 0;
    }
    
    .status-image-container {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .status-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    .status-video-container {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .status-video {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    .status-viewer-progress {
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        display: flex;
        gap: 4px;
        padding: 0 16px;
    }
    
    .status-progress-bar {
        flex: 1;
        height: 2px;
        background-color: rgba(255,255,255,0.3);
        border-radius: 1px;
        overflow: hidden;
    }
    
    .status-progress-fill {
        height: 100%;
        background-color: white;
        transition: width 0.1s linear;
    }
    
    .status-viewer-controls {
        position: absolute;
        bottom: 40px;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        z-index: 10;
    }
    
    .status-indicator {
        color: white;
        font-size: 14px;
        background-color: rgba(0,0,0,0.5);
        padding: 4px 12px;
        border-radius: 16px;
    }
    
    .btn-circle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: rgba(255,255,255,0.2);
        color: white;
        cursor: pointer;
        backdrop-filter: blur(10px);
    }
    
    .btn-circle:hover {
        background: rgba(255,255,255,0.3);
    }
    
    .btn-circle i {
        font-size: 18px;
    }
    
    /* Status List Styles */
    .status-page {
        padding: 16px;
        max-width: 800px;
        margin: 0 auto;
        height: 100vh;
        overflow-y: auto;
    }
    
    .status-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
    }
    
    .status-header h1 {
        margin: 0;
    }
    
    .status-content {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    .status-section {
        margin-bottom: 24px;
    }
    
    .status-section h2 {
        margin: 0 0 16px 0;
        font-size: 18px;
        font-weight: 600;
    }
    
    .status-item {
        display: flex;
        align-items: center;
        padding: 12px;
        border-radius: 12px;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
    
    .status-item:hover {
        background-color: var(--hover-color);
    }
    
    .status-avatar {
        position: relative;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 12px;
    }
    
    .status-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .avatar-placeholder {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: #eaeaea;
        color: #555;
        display: grid;
        place-items: center;
        font-weight: 600;
    }
    
    .unread-badge {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 20px;
        height: 20px;
        background-color: var(--primary-color);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: bold;
        border: 2px solid white;
    }
    
    .status-info {
        flex: 1;
    }
    
    .status-user {
        font-weight: 600;
        margin-bottom: 4px;
    }
    
    .status-time {
        font-size: 12px;
        color: var(--text-secondary);
    }
    
    /* Status Creation Modal */
    .status-type-selector {
        display: flex;
        gap: 12px;
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .status-type-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 16px;
        border-radius: 12px;
        border: 2px solid var(--border-color);
        background: var(--surface-color);
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .status-type-btn.active {
        border-color: var(--primary-color);
        background: var(--primary-color-10);
    }
    
    .status-type-btn i {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .text-status-form {
        width: 100%;
    }
    
    .color-picker {
        margin-bottom: 16px;
    }
    
    .color-picker label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }
    
    .text-input textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        resize: vertical;
        min-height: 120px;
        font-family: inherit;
    }
    
    .media-status-form {
        width: 100%;
        border: 2px dashed var(--border-color);
        border-radius: 12px;
        padding: 24px;
        text-align: center;
        transition: border-color 0.2s ease;
    }
    
    .media-status-form.drag-over {
        border-color: var(--primary-color);
        background-color: var(--primary-color-10);
    }
    
    .drop-zone {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .drop-zone i {
        font-size: 48px;
        color: var(--text-secondary);
    }
    
    .media-preview {
        position: relative;
        width: 100%;
        text-align: center;
    }
    
    .media-preview img,
    .media-preview video {
        max-width: 100%;
        max-height: 300px;
        object-fit: contain;
    }
    
    .remove-media {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    /* Status Stories (WhatsApp-like) */
    .status-stories {
        display: flex;
        gap: 24px;
        padding: 16px 0;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .status-stories::-webkit-scrollbar {
        display: none;
    }
    
    .status-story {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        min-width: max-content;
    }
    
    .status-story .status-avatar {
        position: relative;
        width: 64px;
        height: 64px;
        margin-bottom: 8px;
    }
    
    .status-story .status-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 3px solid var(--primary-color);
    }
    
    .status-add-indicator {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 24px;
        height: 24px;
        background-color: var(--primary-color);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid white;
        font-size: 12px;
    }
    
    .status-unviewed-indicator {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 12px;
        height: 12px;
        background-color: var(--primary-color);
        border-radius: 50%;
        border: 2px solid white;
    }
    
    .status-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 80px;
    }
    
    .status-user {
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        margin: 0;
    }
    
    .status-action {
        font-size: 12px;
        color: var(--text-secondary);
        text-align: center;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .status-story-section {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 16px;
    }
    
    .status-story-section h2 {
        margin: 0 0 16px 0;
        padding-left: 16px;
        font-size: 18px;
        font-weight: 600;
    }
    