/* WhatsApp customer-service widget */
.cs-root {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    font-family: "Figtree", "Segoe UI", sans-serif;
}

.cs-fab {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease;
}

.cs-fab:hover { transform: translateY(-3px) scale(1.04); }

.cs-panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: min(360px, calc(100vw - 32px));
}

.cs-card {
    background: #fff;
    border: 1.5px dashed #c8e6c9;
    border-radius: 18px;
    padding: 36px 28px 28px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 76, 92, 0.16);
    position: relative;
}

.cs-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    color: #8a8a9e;
    cursor: pointer;
    line-height: 1;
}

.cs-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 16px;
    color: #111;
}

.cs-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b1b3a;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.cs-card p {
    font-size: 0.92rem;
    color: #8b93a7;
    line-height: 1.5;
    margin-bottom: 22px;
}

.cs-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25D366;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    padding: 14px 18px;
    font-weight: 800;
    font-size: 0.98rem;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.cs-wa-btn:hover { transform: translateY(-2px); filter: brightness(0.97); }

.cs-inline {
    margin-top: 8px;
}

@media (max-width: 480px) {
    .cs-root { right: 14px; bottom: 14px; }
}

html[dir="rtl"] .cs-root {
    right: auto;
    left: 24px;
}

html[dir="rtl"] .cs-panel {
    right: auto;
    left: 0;
}

html[dir="rtl"] .cs-close {
    right: auto;
    left: 12px;
}

@media (max-width: 480px) {
    html[dir="rtl"] .cs-root { left: 14px; right: auto; }
}
