﻿/* ================= Base ================= */
body {
    margin: 0;
    background: #eef1f7;
    font-family: "Cairo", sans-serif;
}

.card {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* ================= Header ================= */
.header {
    background: #1c1463;
    padding: 22px 36px;
    display: flex;
    align-items: center;
    gap: 16px;
}

    .header img {
        height: 48px;
        width: auto;
    }

.vertical-line {
    width: 1px;
    height: 40px;
    background: #cfcfe6;
}

/* ================= Body ================= */
.body {
    padding: 40px 36px;
    font-size: 16px;
    line-height: 2.1;
    color: #1c1463; /* كحلي */
    text-align: right;
}

    .body h2 {
        color: #1c1463; /* نفس الكحلي */
        font-size: 24px;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 12px;
    }


p {
    color: black;
    font-size: 17px;
    font-weight: 500;
    line-height: 2.1;
    margin: 0 0 14px;
    text-align: right;
}

/* ================= FAQ ================= */
.faq {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .faq li {
        position: relative;
        padding-right: 22px;
        margin-bottom: 26px;
    }

        .faq li::before {
            content: "●";
            position: absolute;
            right: 0;
            top: 4px;
            color: #1c1463;
            font-size: 16px;
            font-weight: 900;
        }

.question {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #1c1463;
    margin-bottom: 8px;
    text-align: right;
}

.answer {
    font-size: 17px;
    font-weight: 500;
    color: black;
    opacity: 1;
    text-align: right;
}

/* ================= Packages ================= */
.packages {
    margin-top: 14px;
    text-align: right;
}

.pkg {
    margin: 18px 0 26px;
}

/* Title line */
.pkg-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1c1463;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
    justify-content: flex-start; /* ✅ RTL: stick to right */
    text-align: right;
    width: 100%;
}

    /* ✅ Thin marker + hollow shape */
    .pkg-title .marker {
        position: relative;
        width: 5px; /* thin */
        height: 32px;
        border-radius: 2px;
        border: none;
        box-shadow: none;
        flex: 0 0 5px;
    }

        /* Hollow outline next to it */
        .pkg-title .marker::after {
            content: "";
            position: absolute;
            right: -7px; /* space between filled & hollow */
            top: 0;
            width: 5px;
            height: 32px;
            border: 1.5px solid currentColor; /* matches marker color */
            border-radius: 2px;
            background: transparent;
        }

/* Colors (set background + currentColor) */
.marker.red {
    background: #b21f2d;
    color: #b21f2d;
}

.marker.green {
    background: #0e8a6a;
    color: #0e8a6a;
}

.marker.gray {
    background: #2e4c46;
    color: #2e4c46;
}

.pkg-points {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pkg-points li {
        margin: 0 0 8px;
        color: #1c1463;
        font-size: 17px;
        font-weight: 500;
        text-align: right;
    }

        /* dash bullet */
        .pkg-points li::before {
            content: "- ";
            font-weight: 700;
        }

/* ================= Footer ================= */
.footer {
    background: #1c1463;
    padding: 22px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-text {
    text-align: right;
    line-height: 1.2;
}

    .footer-text .line-1 {
        font-size: 14px;
        font-weight: 600;
    }

    .footer-text .line-2 {
        font-size: 13px;
        opacity: .9;
    }

.footer-app-logo {
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 8px;
    object-fit: contain;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kfca-label {
    font-size: 14px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 10px;
}

    .social-icons i {
        font-size: 15px;
    }

    .social-icons a {
        color: #fff;
        text-decoration: none;
    }

/* ================= Responsive ================= */
@media (max-width: 768px) {

    .card {
        margin: 16px;
    }

    .header {
        justify-content: center;
        padding: 16px;
    }

        .header img {
            height: 40px;
        }

    .vertical-line {
        height: 32px;
    }

    .body {
        padding: 24px 20px;
        font-size: 15px;
    }

    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-right {
        flex-direction: row;
        justify-content: center;
    }

    .footer-text {
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .question {
        font-size: 20px;
    }

    .answer {
        font-size: 16px;
    }

    .faq li::before {
        font-size: 14px;
    }

    /* ✅ keep titles aligned right on mobile */
    .pkg-title {
        font-size: 20px;
        justify-content: flex-start;
        text-align: right;
        width: 100%;
    }

        /* ✅ marker smaller on mobile */
        .pkg-title .marker {
            height: 34px;
            width: 4px;
            flex: 0 0 4px;
        }

            .pkg-title .marker::after {
                height: 34px;
                width: 4px;
                right: -6px;
                border-width: 1.3px;
            }
}
.price-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.riyal-icon {
    width: 14px;
    height: auto;
    fill: #1c1463;
    vertical-align: middle;
}
.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 10px;
}

    .analytics-table th,
    .analytics-table td {
        border-bottom: 1px solid #e6e6ef;
        padding: 10px 8px;
        text-align: right;
        color: #1c1463;
        vertical-align: top;
    }

    .analytics-table th {
        font-weight: 700;
        background: #f5f6fb;
    }

    .analytics-table tr:hover {
        background: #fafbff;
    }

.analytics-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    background: #1c1463;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

    .analytics-link:hover {
        opacity: .92;
    }
