/* ===========================
   Slide 13 — Unified Inbox
   =========================== */
.slide-13 {
    background: radial-gradient(ellipse at 70% 60%, #0d0a1a 0%, #070611 60%, #030308 100%);
    position: relative;
    display: flex;
    align-items: center;
}

.glow-mail-center {
    position: absolute;
    top: 30%;
    right: 20%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.gold-text {
    color: var(--gold);
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.slide-layout-two-col {
    display: flex;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.col-left, .col-right {
    flex: 1;
}

/* بطاقة المستثمر */
.investor-note {
    background: linear-gradient(90deg, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.02) 100%);
    border-right: 4px solid var(--gold);
    padding: 18px 20px;
    border-radius: 12px 0 0 12px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.premium-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.p-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .p-feature:hover {
        background: rgba(255,255,255,0.03);
        border-color: rgba(255,255,255,0.08);
        transform: translateX(-5px);
    }

.pf-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.p-feature h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.p-feature p {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* الواجهة التخيلية للبريد (Mockup) */
.mail-mockup {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    transform: perspective(1000px) rotateY(-5deg);
    transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    direction: rtl;
}

    .mail-mockup:hover {
        transform: perspective(1000px) rotateY(0deg);
    }

.mockup-header {
    background: rgba(0,0,0,0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

    .mockup-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #4b5563;
    }

        .mockup-dots span:nth-child(1) {
            background: #ef4444;
        }

        .mockup-dots span:nth-child(2) {
            background: #eab308;
        }

        .mockup-dots span:nth-child(3) {
            background: #22c55e;
        }

.mockup-title {
    flex: 1;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
}

.inbox-container {
    padding: 20px;
}

/* شريط التبويبات */
.inbox-toolbar {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

    .inbox-toolbar span {
        font-size: 0.75rem;
        color: rgba(255,255,255,0.4);
        cursor: pointer;
    }

        .inbox-toolbar span.active-tab {
            color: var(--gold);
            font-weight: bold;
            border-bottom: 2px solid var(--gold);
            padding-bottom: 10px;
        }

/* قائمة الرسائل */
.mail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.mail-item {
    display: flex;
    gap: 14px;
    background: rgba(255,255,255,0.03);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

    .mail-item.unread {
        border-right: 4px solid #3b82f6;
        background: rgba(59,130,246,0.05);
    }

.m-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.m-content {
    flex: 1;
    overflow: hidden;
}

.m-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

    .m-top strong {
        color: #fff;
        font-size: 0.82rem;
    }

.m-time {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
}

.m-content p {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-tags {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.tag-assigned {
    font-size: 0.65rem;
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
    padding: 2px 8px;
    border-radius: 4px;
}

.tag-case {
    font-size: 0.65rem;
    background: rgba(201,168,76,0.1);
    color: var(--gold);
    padding: 2px 8px;
    border-radius: 4px;
}

.internal-comment {
    background: rgba(201,168,76,0.08);
    border-radius: 6px;
    padding: 8px;
    margin-top: 10px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
}

/* إحصائيات البريد */
.mail-metrics {
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}

.m-stat {
    flex: 1;
    text-align: center;
    background: rgba(34,197,94,0.05);
    border-radius: 10px;
    padding: 10px;
}

.ms-val {
    display: block;
    color: #22c55e;
    font-size: 1rem;
    font-weight: 900;
}

.ms-lbl {
    color: rgba(255,255,255,0.4);
    font-size: 0.65rem;
}

@media (max-width: 992px) {
    .slide-layout-two-col {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .mail-mockup {
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}
