/* Salla WhatsApp integration landing pages (English + Arabic RTL twin) */
/* Logical properties (inline-start/end) keep one rule set valid for both directions */

.cm-salla-rtl
{
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
    text-align: right;
}
.cm-salla-rtl h1,
.cm-salla-rtl h2,
.cm-salla-rtl h3,
.cm-salla-rtl h4,
.cm-salla-rtl h5,
.cm-salla-rtl h6,
.cm-salla-rtl .lead,
.cm-salla-rtl .btn
{
    font-family: inherit;
    letter-spacing: 0;
}
.cm-salla-rtl .lead
{
    line-height: 1.9;
}

/* Hero */
.cm-salla-hero-badges
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.cm-salla-lang-switch
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.cm-salla-lang-switch:hover
{
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.cm-salla-hero-points
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.cm-salla-hero-points li
{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}
.cm-salla-hero-cta
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
@media (min-width: 992px)
{
    .cm-salla-hero-badges,
    .cm-salla-hero-cta
    {
        justify-content: flex-start;
    }
}
@media (max-width: 575px)
{
    .cm-salla-hero-points
    {
        grid-template-columns: 1fr;
    }
}

/* Phone + WhatsApp chat mockup */
.cm-salla-phone
{
    width: 100%;
    max-width: 340px;
    margin: 24px auto 0;
    background: #111b21;
    border-radius: 34px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
}
.cm-salla-phone-screen
{
    background: #efeae2;
    border-radius: 24px;
    overflow: hidden;
}
.cm-salla-phone-bar
{
    display: flex;
    align-items: center;
    gap: 10px;
    background: #075e54;
    color: #ffffff;
    padding: 12px 14px;
}
.cm-salla-phone-avatar
{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #25d366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.cm-salla-phone-name
{
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}
.cm-salla-phone-status
{
    font-size: 11px;
    opacity: 0.8;
}
.cm-salla-chat
{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 12px 18px;
    min-height: 360px;
}
.cm-salla-bubble
{
    max-width: 85%;
    padding: 8px 10px 6px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #111b21;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.cm-salla-bubble-in
{
    align-self: flex-start;
    background: #ffffff;
    border-start-start-radius: 2px;
}
.cm-salla-bubble-out
{
    align-self: flex-end;
    background: #d9fdd3;
    border-start-end-radius: 2px;
}
.cm-salla-bubble-time
{
    display: block;
    text-align: end;
    font-size: 10px;
    color: #667781;
    margin-top: 2px;
}
.cm-salla-bubble-btn
{
    display: block;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e9edef;
    text-align: center;
    color: #027eb5;
    font-weight: 600;
}
.cm-salla-bubble-card
{
    display: flex;
    gap: 8px;
    align-items: center;
    background: #f5f6f6;
    border-radius: 8px;
    padding: 6px;
    margin-bottom: 6px;
}
.cm-salla-bubble-card-icon
{
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: #baf3e6;
    color: #004956;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cm-salla-chat-chip
{
    align-self: center;
    background: #ffffff;
    color: #54656f;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 8px;
}

/* Use-case cards */
.cm-salla-usecase
{
    height: 100%;
    background: #ffffff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    padding: 26px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cm-salla-usecase:hover
{
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.cm-salla-usecase-icon
{
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.cm-salla-icon-teal
{
    background: #e3f8f2;
    color: #00796b;
}
.cm-salla-icon-blue
{
    background: #e6f0ff;
    color: #2563eb;
}
.cm-salla-icon-amber
{
    background: #fff4dd;
    color: #b7791f;
}
.cm-salla-icon-violet
{
    background: #f3eefe;
    color: #7c3aed;
}
.cm-salla-icon-rose
{
    background: #ffe9ec;
    color: #e11d48;
}
.cm-salla-icon-green
{
    background: #e7f9ef;
    color: #16a34a;
}
.cm-salla-usecase h3
{
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.cm-salla-usecase p
{
    margin-bottom: 0;
    line-height: 1.75;
    color: #475569;
}

/* Check list (direction neutral, replaces mr-2 icon spacing) */
.cm-salla-checks
{
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.cm-salla-checks li
{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    line-height: 1.7;
}
.cm-salla-checks li i
{
    color: #16a34a;
    margin-top: 5px;
    flex-shrink: 0;
}

/* Event to message flow table */
.cm-salla-flow
{
    background: #ffffff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    overflow: hidden;
}
.cm-salla-flow-row
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.4fr);
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #eef1f6;
}
.cm-salla-flow-row:last-child
{
    border-bottom: 0;
}
.cm-salla-flow-event
{
    font-weight: 700;
    color: #0f172a;
}
.cm-salla-flow-arrow
{
    color: #25d366;
    text-align: center;
}
.cm-salla-rtl .cm-salla-flow-arrow i
{
    transform: scaleX(-1);
}
.cm-salla-flow-message
{
    color: #475569;
    line-height: 1.6;
}
@media (max-width: 575px)
{
    .cm-salla-flow-row
    {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .cm-salla-flow-arrow
    {
        display: none;
    }
}

/* Steps */
.cm-salla-step
{
    height: 100%;
    background: #ffffff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    padding: 26px 24px;
}
.cm-salla-step-number
{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #004956;
    color: #baf3e6;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.cm-salla-step h3
{
    font-size: 1.05rem;
    font-weight: 700;
}
.cm-salla-step p
{
    margin-bottom: 0;
    color: #475569;
    line-height: 1.75;
}

/* FAQ (accordion markup from the shared landing pattern) */
.cm-salla-faq-toggle
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
