        /* متغیرهای رنگی مشابه نمونه اخبار */
        :root {
            --red: #440a0a;
            --red2: #2b0505;
            --red3: #2b0505;
            --red4: #280303;
            --news-accent: #b91c4d; /* صورتی پررنگ */
            --news-accent-2: #9f1239; /* صورتی تیره‌تر */
            --news-pink: #ffb7cb;    /* صورتی ملایم */
            --news-soft: rgba(255, 255, 255, 0.08); /* پس‌زمینه کارت نرم */
            --camera-upload-bg: rgba(255, 255, 255, 0.03); /* پس‌زمینه فرم آپلود */
            --border-camera: rgba(255, 255, 255, 0.08); /* حاشیه کارت‌ها */
            --dark-bg: #0b0b0e;
            --darker-bg: #07070a;
            --text-light-muted: rgba(255, 255, 255, 0.65);
            --text-light-subtle: rgba(255, 255, 255, 0.7);
            --focus-red: #f0608c;
            --focus-red-shadow: rgba(244, 63, 94, 0.25);
        }

        /* استایل‌های اصلی صفحه دوربین */
        .camera-page {
            position: relative;
            overflow: hidden;
            min-height: 80vh;
            padding: 18px 0 45px;
            background: radial-gradient(900px 420px at 80% 8%, rgba(217, 35, 90, 0.18), transparent 55%), radial-gradient(700px 420px at 12% 85%, rgba(68, 10, 10, 0.45), transparent 60%), radial-gradient(500px 340px at 50% 45%, rgba(185, 28, 77, 0.08), transparent 58%), linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
        }

        /* افکت‌های نور پس‌زمینه */
        .camera-bg-glow { position: absolute; pointer-events: none; border-radius: 999px; filter: blur(48px); opacity: 0.26; mix-blend-mode: screen; animation: newsFloatGlow 5.5s ease-in-out infinite; }
        .camera-bg-glow-1 { width: 230px; height: 230px; background: rgba(217, 35, 90, 0.75); top: 90px; right: -80px; }
        .camera-bg-glow-2 { width: 250px; height: 250px; background: rgba(68, 10, 10, 0.95); bottom: 110px; left: -95px; animation-delay: 0.8s; }
        @keyframes newsFloatGlow { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.08); } }

        .camera-container { position: relative; z-index: 2; margin-top: 25px; }

        /* هدر بخش آپلود (مشابه news-hero) */
        .camera-upload-section { /* این کلاس را به news-hero تغییر نام دهید یا از news-hero استفاده کنید */
            position: relative;
            overflow: hidden;
            margin-bottom: 24px;
            padding: 20px;
            border-radius: 26px;
            background: linear-gradient(135deg, rgba(68, 10, 10, 0.96), rgba(24, 24, 27, 0.95)), radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 38%);
            border: 1px solid var(--border-camera);
            box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
            color: #fff;
            isolation: isolate;
        }
        .camera-upload-section::before { /* افکت شاین مشابه news-hero::before */
            content: ""; position: absolute; inset: -2px; background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.16) 45%, transparent 62%); transform: translateX(100%); animation: newsHeroShine 4.5s ease-in-out infinite; z-index: -1;
        }
        @keyframes newsHeroShine { 0%, 45% { transform: translateX(110%); } 75%, 100% { transform: translateX(-110%); } }

        .camera-upload-header { /* آیکون و عنوان هدر */
            display: flex; align-items: center; gap: 15px;
        }
        .camera-upload-header .icon-wrapper { /* Wrapper برای آیکون */
            width: 58px; height: 58px; min-width: 58px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.06);
        }
        .camera-upload-header .icon-wrapper i { font-size: 27px; color: #fff; }
        .camera-upload-header h2 { margin: 0 0 7px; font-size: 22px; font-weight: 900; letter-spacing: -0.5px; }
        .camera-upload-header p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 1.9; }

        .camera-upload-form-wrapper .row { row-gap: 18px; }
        .form-label { color: var(--text-light-subtle); font-size: 13px; font-weight: 700; margin-bottom: 8px; display: block; }
        .form-control-custom { background: var(--camera-upload-bg); border: 1px solid var(--border-camera); color: #fff; border-radius: 15px; padding: 12px 16px; font-size: 14px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
        .form-control-custom:focus { border-color: var(--focus-red); box-shadow: 0 0 0 3px var(--focus-red-shadow); outline: none; }
        textarea.form-control-custom { min-height: 100px; resize: vertical; }

        .input-group { display: flex; align-items: center; gap: 12px; }
        .input-group input[type="file"] {
            flex: 1; background: var(--camera-upload-bg); border: 1px solid var(--border-camera); color: #fff; border-radius: 15px; padding: 12px 16px; font-size: 14px;
        }
        .input-group input[type="file"]::file-selector-button { display: none; }
        .input-group input[type="file"]::before {
            content: 'انتخاب فایل'; padding: 12px 16px; border-right: 1px solid rgba(255, 255, 255, 0.12); margin-right: 15px; font-size: 14px; color: var(--text-light-subtle); cursor: pointer;
        }
        .input-group input[type="file"]:hover::before { color: #fff; }

        /* دکمه آپلود */
        .camera-upload-btn {
            position: relative; overflow: hidden; min-height: 46px; text-decoration: none; padding: 10px 14px; border-radius: 16px; font-size: 13px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: linear-gradient(135deg, var(--news-accent), var(--news-accent-2)); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 12px rgba(185, 28, 77, 0.2); transition: transform 0.2s ease, box-shadow 0.2s ease; -webkit-tap-highlight-color: transparent;
        }
        .camera-upload-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.18), transparent); transform: translateX(120%); transition: 0.5s ease; }
        .camera-upload-btn:hover { box-shadow: 0 16px 28px rgba(166, 28, 69, 0.38); }
        .camera-upload-btn:hover::before { transform: translateX(-120%); }
        .camera-upload-btn:active { transform: scale(0.97); }
        .camera-upload-btn i { font-size: 16px; }

        /* گالری ویدیو (مشابه news-grid و news-card) */
.camera-gallery-header {
    position: relative; 
    z-index: 2; 
    margin-top: 25px; 
    margin-bottom: 24px;
    padding: 20px; 
    border-radius: 26px; 
    background: linear-gradient(135deg, rgba(68, 10, 10, 0.96), rgba(24, 24, 27, 0.95)), 
                radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 38%); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28); 
    color: #fff; 
    
    /* این خط بسیار مهم است: برای جلوگیری از بیرون زدن انیمیشن */
    overflow: hidden !important; 
    
    /* اطمینان از اینکه محتوا روی لایه انیمیشن باشد */
    isolation: isolate; 
}
.camera-gallery-header::before { 
    content: ""; 
    position: absolute; 
    inset: 0; /* تمام فضای داخلی را بپوشاند */
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, transparent 62%); 
    transform: translateX(110%); 
    animation: newsHeroShine 4s ease-in-out infinite; 
    z-index: -1; /* حتما پشت متن و دکمه بماند */
    pointer-events: none; /* تاثیری روی کلیک دکمه نگذارد */
}        .camera-gallery-header-content { display: flex; align-items: center; gap: 15px; }
        .camera-gallery-header-icon { width: 58px; height: 58px; min-width: 58px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.06); }
        .camera-gallery-header-icon i { font-size: 27px; color: #fff; }
        .camera-gallery-header h2 { margin: 0 0 7px; font-size: 22px; font-weight: 900; letter-spacing: -0.5px; }
        .camera-gallery-header p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 1.9; }

        .camera-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
        .camera-video-card {
            position: relative; overflow: hidden; border-radius: 26px; color: #fff;
            background: linear-gradient(180deg, rgba(31, 31, 35, 0.84), rgba(12, 12, 14, 0.95)), radial-gradient(circle at top, rgba(166, 28, 69, 0.24), transparent 45%);
            border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            transform: translateY(18px); opacity: 0; animation: newsFadeUp 0.7s ease forwards; animation-delay: var(--delay, 0s);
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        }
        .camera-video-card:hover { transform: translateY(-6px); border-color: rgba(255, 180, 205, 0.22); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(166, 28, 69, 0.15); }
        @keyframes newsFadeUp { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
        .camera-video-card-shine { position: absolute; top: -85px; right: -85px; width: 180px; height: 180px; border-radius: 999px; background: rgba(166, 28, 69, 0.20); filter: blur(4px); pointer-events: none; z-index: 1; }

.camera-video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: #000;
    cursor: pointer;
}
.camera-video-wrapper.is-landscape {
    aspect-ratio: 16 / 9;
}
.camera-video-wrapper.is-portrait {
    aspect-ratio: 9 / 16;
}

.camera-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-fit: contain;
background:#000;

    display: block;
}

        .camera-video-wrapper::after {
            content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.68) 100%), radial-gradient(circle at top right, rgba(185, 28, 77, 0.20), transparent 45%); pointer-events: none;
        }


        .camera-video-info { position: relative; z-index: 2; padding: 17px 17px 18px; }
        .camera-video-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
        .camera-video-time { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.055); color: #d6d6d6; border: 1px solid rgba(255, 255, 255, 0.065); font-size: 12px; font-weight: 700; }
        .camera-video-time i { color: #ffb9cc; }
.camera-video-title {
    margin: 0 0 9px;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.75;
    overflow: visible;
    display: block;
}
        .camera-video-title span { color: #cfcfcf; font-size: 13px; line-height: 1.9; }
        .camera-video-actions { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.055); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
        .camera-video-link { /* دکمه "ادامه" برای ویدیوها */ position: relative; overflow: hidden; min-height: 42px; text-decoration: none; padding: 10px 14px; border-radius: 16px; font-size: 13px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: linear-gradient(135deg, var(--news-accent), var(--news-accent-2)); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 12px rgba(185, 28, 77, 0.2); transition: transform 0.2s ease, box-shadow 0.2s ease; -webkit-tap-highlight-color: transparent; }
        .camera-video-link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.18), transparent); transform: translateX(120%); transition: 0.5s ease; }
        .camera-video-link:hover { box-shadow: 0 16px 28px rgba(166, 28, 69, 0.38); }
        .camera-video-link:hover::before { transform: translateX(-120%); }
        .camera-video-link:active { transform: scale(0.97); }
        .camera-video-link i { margin-right: 5px; } /* آیکون فلش */

        /* باکس پیام خالی (مشابه news-empty-box) */
        .camera-empty-box { position: relative; overflow: hidden; padding: 28px 18px; border-radius: 24px; text-align: center; color: #fff; background: linear-gradient(180deg, rgba(31, 31, 31, 0.96), rgba(14, 14, 14, 0.98)); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 18px 38px rgba(0, 0, 0, 0.20); }
        .camera-empty-icon { width: 70px; height: 70px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 24px; background: rgba(124, 21, 52, 0.22); color: #ffcada; font-size: 30px; }
        .camera-empty-box h3 { margin: 0 0 8px; font-size: 18px; font-weight: 900; }
        .camera-empty-box p { margin: 0; color: #cfcfcf; font-size: 14px; }

        @media (max-width: 767px) {
            .camera-page { padding-top: 12px; padding-bottom: 32px; }
            .camera-container { margin-top: 16px; }
            .camera-upload-section, .camera-gallery-header { margin-bottom: 17px; padding: 17px; border-radius: 24px; }
            .camera-upload-header, .camera-gallery-header-content { align-items: flex-start; padding-left: 68px; } /* Adjust for icon space */
            .camera-upload-header .icon-wrapper, .camera-gallery-header-icon { width: 52px; height: 52px; min-width: 52px; border-radius: 18px;  flex-wrap: nowrap;}
            .camera-upload-header h2, .camera-gallery-header h2 { font-size: 18px; }
            .camera-upload-header p, .camera-gallery-header p { font-size: 12.5px; }
            .camera-gallery-grid { grid-template-columns: 1fr; gap: 16px; }
            .camera-video-card { border-radius: 24px; }
            .camera-video-wrapper {  border-radius: 23px 23px 0 0; }
            .camera-video-title { font-size: 15px; }
            .camera-video-title span { font-size: 12.5px; }
            .camera-video-time { font-size: 11.5px; padding: 7px 10px; }
            .camera-video-actions { flex-direction: row; }
            .camera-video-link { flex: 1; min-height: 46px; }
          
        } .camera-gallery-header {
        flex-wrap: nowrap;
    }

    .camera-gallery-header-content {
        flex: 1;
        min-width: 0;
        padding-left: 0 !important;
    }

    .camera-gallery-header h2 {
        white-space: nowrap;
        font-size: 18px;
        line-height: 1.4;
    }

    .upload-video-button {
        flex-shrink: 0;
        white-space: nowrap;
    }
        /* استایل دکمه آپلود فیلم */
.upload-button-section {
    margin-bottom: 24px; /* فاصله از بخش بعدی */
}

.upload-video-button {
    position: relative;
    overflow: hidden;
    min-height: 48px; /* ارتفاع دکمه */
    text-decoration: none;
    padding: 12px 20px; /* padding داخلی دکمه */
    border-radius: 18px; /* گردی لبه‌های دکمه */
    font-size: 14px; /* اندازه فونت */
    font-weight: 900; /* ضخامت فونت */
    display: inline-flex; /* برای هم‌ترازی آیکون و متن */
    align-items: center;
    justify-content: center;
    gap: 8px; /* فاصله بین آیکون و متن */
    color: #fff; /* رنگ متن */
    background: linear-gradient(135deg, #FF6B6B, #E54F6D); /* گرادینت رنگی (قرمز/صورتی) */
    border: 1px solid rgba(255, 255, 255, 0.1); /* حاشیه نازک سفید */
    box-shadow: 0 6px 16px rgba(234, 80, 114, 0.3); /* سایه دکمه */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; /* انیمیشن‌ها */
    -webkit-tap-highlight-color: transparent; /* حذف هایلایت در لمس */
}

.upload-video-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.2), transparent); /* افکت براق */
    transform: translateX(120%);
    transition: 0.5s ease;
}

.upload-video-button:hover {
    box-shadow: 0 20px 35px rgba(220, 70, 100, 0.45); /* سایه در حالت هاور */
    transform: translateY(-2px); /* کمی بالا رفتن دکمه */
    background: linear-gradient(135deg, #FF5252, #D33E5C); /* گرادینت تیره‌تر در هاور */
}

.upload-video-button:hover::before {
    transform: translateX(-120%); /* حرکت افکت براق */
}

.upload-video-button:active {
    transform: scale(0.97); /* کوچک شدن در حالت کلیک */
    box-shadow: 0 4px 10px rgba(200, 50, 80, 0.3); /* سایه کمتر در حالت کلیک */
}

.upload-video-button i {
    font-size: 18px; /* اندازه آیکون */
    margin-right: 5px; /* فاصله آیکون تا متن */
}

.upload-video-button span {
    font-size: 0.9em; /* یا هر مقدار مناسب دیگر */
    /* سایر استایل‌های دکمه */
}


/* کوچک کردن دکمه در صفحه نمایش‌های کوچک */
@media (max-width: 767px) {
    .upload-video-button {
        min-height: 46px;
        padding: 10px 18px;
        font-size: 13px;
    }
    .upload-video-button i {
        font-size: 16px;
    }
}
@keyframes newsHeroShine { 
    0% { transform: translateX(110%); } 
    40%, 100% { transform: translateX(-110%); } 
}
/* تنظیمات خاص برای فرم آپلود */
.camera-upload-section {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.9), rgba(15, 15, 20, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    isolation: isolate;
}

.form-control-custom {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 15px;
    padding: 14px;
    font-size: 14px;
}

.form-control-custom:focus {
    border-color: var(--focus-red);
    outline: none;
}

.camera-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--news-accent), var(--news-accent-2));
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
}

.camera-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(185, 28, 77, 0.3);
}
/* Upload landing - video picker */
.camera-video-picker-box {
    position: relative;
}

.camera-video-pick-btn {
    width: 100%;
    min-height: 165px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(185, 28, 77, 0.22), transparent 42%),
        rgba(255, 255, 255, 0.035);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.camera-video-pick-btn:hover {
    border-color: rgba(255, 183, 203, 0.42);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    background:
        radial-gradient(circle at top right, rgba(185, 28, 77, 0.32), transparent 42%),
        rgba(255, 255, 255, 0.055);
}

.camera-video-pick-icon {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--news-accent), var(--news-accent-2));
    box-shadow: 0 14px 30px rgba(185, 28, 77, 0.28);
}

.camera-video-pick-icon i {
    font-size: 27px;
    color: #fff;
}

.camera-video-pick-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.camera-video-pick-text strong {
    font-size: 16px;
    font-weight: 900;
}

.camera-video-pick-text small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12.5px;
}

/* Selected video preview */
.camera-selected-video-box {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(180deg, rgba(31, 31, 35, 0.84), rgba(12, 12, 14, 0.95)),
        radial-gradient(circle at top, rgba(166, 28, 69, 0.20), transparent 45%);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.camera-preview-wrapper {
    height: 260px;
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.camera-preview-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.camera-selected-video-info {
    padding: 14px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.camera-selected-video-info strong {
    display: block;
    max-width: 290px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.camera-selected-video-info span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.camera-change-video-btn {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.camera-change-video-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Description */
.camera-description-footer {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.camera-description-footer small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

/* Upload button loading */
.camera-upload-btn:disabled,
.camera-upload-btn.is-loading {
    opacity: 0.82;
    cursor: not-allowed;
}

.btn-normal-content,
.btn-loading-content {
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 767px) {
    .camera-video-pick-btn {
        min-height: 145px;
        border-radius: 22px;
    }

    .camera-video-pick-icon {
        width: 58px;
        height: 58px;
        border-radius: 20px;
    }

    .camera-preview-wrapper {
        height: 210px;
    }

    .camera-selected-video-info {
        align-items: flex-start;
        flex-direction: column;
    }

    .camera-change-video-btn {
        width: 100%;
        justify-content: center;
    }

    .camera-selected-video-info strong {
        max-width: 100%;
    }
}
.camera-video-picker-box.is-dragover .camera-video-pick-btn {
    border-color: var(--news-accent);
    background:
        radial-gradient(circle at top right, rgba(185, 28, 77, 0.4), transparent 42%),
        rgba(255,255,255,0.08);
    transform: scale(1.01);
}
.camera-video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: #000;
    cursor: pointer;
}

.camera-video-wrapper video,
.camera-video-preview {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
    pointer-events: none;
}

.camera-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
}

.camera-play-overlay i {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 2px;
    font-size: 28px;
    color: #fff;
    background: rgba(0, 0, 0, 0.62);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.camera-video-wrapper:hover .camera-play-overlay {
    background: rgba(0, 0, 0, 0.30);
}

.camera-video-wrapper:hover .camera-play-overlay i {
    transform: scale(1.04);
}

.camera-video-wrapper video,
.camera-video-preview {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

/* مهم: کلیک باید روی باکس بخورد نه خود ویدیو */
.camera-video-preview {
    pointer-events: none;
}

.camera-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease;
    pointer-events: none;
}

.camera-play-overlay i {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 2px;
    font-size: 28px;
    color: #fff;
    background: rgba(0, 0, 0, 0.62);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.camera-video-wrapper:hover .camera-play-overlay {
    background: rgba(0, 0, 0, 0.30);
}

/* وقتی ویدیو فول‌اسکرین شد */
.camera-video-wrapper:fullscreen {
    background: #000;
    border-radius: 0;
}

.camera-video-wrapper:fullscreen video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #000;
}

.camera-video-wrapper:-webkit-full-screen {
    background: #000;
    border-radius: 0;
}

.camera-video-wrapper:-webkit-full-screen video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #000;
}
.camera-video-description {
    display: block;
    color: #cfcfcf;
    font-size: 13px;
    line-height: 1.9;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.camera-video-preview {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* یا contain اگر می‌خواهی کات نشود */
    background: #000;
}
.camera-video-controls{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    background:linear-gradient(to top, rgba(0,0,0,.65), transparent);
    z-index:5;
    opacity:0;
    transition:.25s;
}

.camera-video-wrapper:hover .camera-video-controls{
    opacity:1;
}

.camera-video-controls button{
    background:none;
    border:none;
    color:#fff;
    font-size:16px;
    cursor:pointer;
}

.control-progress{
    flex:1;
    accent-color:#fff;
}

.prediction-alert,
.prediction-empty-box {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 22px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.20);
}

.prediction-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    animation: predictionFadeUp 0.55s ease both;
}

.alert-success-custom {
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.92), rgba(12, 39, 22, 0.96));
    border-right: 4px solid #22c55e;
}

.alert-danger-custom {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.92), rgba(45, 10, 10, 0.96));
    border-right: 4px solid #ef4444;
}

.prediction-empty-box {
    text-align: center;
    background: linear-gradient(180deg, rgba(31, 31, 31, 0.96), rgba(14, 14, 14, 0.98));
}

.prediction-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: rgba(124, 21, 52, 0.22);
    color: #ffcada;
    font-size: 30px;
}

.prediction-empty-box h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 900;
}

.prediction-empty-box p {
    margin: 0;
    color: #cfcfcf;
    font-size: 14px;
}

.prediction-card-col {
    margin-bottom: 22px;
}