/* ===========================
   Slide 22 — Activity Log & Audit
   =========================== */
.slide-22 {
    background: radial-gradient(ellipse at 70% 50%, #0a0a1a 0%, #05050d 60%, #020205 100%);
    position: relative;
    display: flex;
    align-items: center;
}

.glow-audit-center {
    position: absolute;
    top: 40%;
    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;
}

/* بطاقة المستثمر */
.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: 25px;
}

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

.p-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px;
    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);
    }

/* الواجهة التخيلية (Audit Mockup) */
.audit-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;
}

    .audit-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;
}

.audit-container {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* محرك البحث */
.audit-search {
    background: rgba(255,255,255,0.05);
    padding: 10px 16px;
    border-radius: 8px;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    border: 1px solid rgba(255,255,255,0.05);
}

/* تايملاين السجلات */
.timeline-log {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

    .timeline-log::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 55px;
        width: 1px;
        background: rgba(255,255,255,0.1);
    }

.log-entry {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    align-items: flex-start;
}

.log-time {
    width: 50px;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    padding-top: 4px;
}

.log-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4b5563;
    z-index: 1;
    margin-top: 6px;
    flex-shrink: 0;
}

    .log-marker.view {
        background: #3b82f6;
        box-shadow: 0 0 8px #3b82f6;
    }

    .log-marker.edit {
        background: #eab308;
        box-shadow: 0 0 8px #eab308;
    }

    .log-marker.danger {
        background: #ef4444;
        box-shadow: 0 0 8px #ef4444;
    }

.log-content {
    flex: 1;
}

    .log-content strong {
        display: block;
        color: #fff;
        font-size: 0.8rem;
        margin-bottom: 2px;
    }

    .log-content p {
        color: rgba(255,255,255,0.6);
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 5px;
    }

.log-ip, .log-diff, .log-loc {
    font-size: 0.65rem;
    color: var(--gold);
    font-family: monospace;
}

.log-diff {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
}

/* شارة عدم القابلية للتلاعب */
.immutable-badge {
    background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(59,130,246,0.02) 100%);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.im-icon {
    font-size: 1.5rem;
    color: #3b82f6;
}

.immutable-badge strong {
    display: block;
    color: #3b82f6;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.immutable-badge span {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    line-height: 1.4;
}

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

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