/**
 * site.css — Saudi Extradition site-wide overrides
 * Loaded after main theme CSS (cil-styles handle) on all pages.
 *
 * Only contains things that differ from main.min.css.
 * Page-specific styles live in page-about.css / page-front.css.
 */

/* ── CSS custom properties: Saudi site palette ── */
:root {
    --sx-blue:        #1a56db;
    --sx-blue-lt:     #7da8f5;
    --sx-blue-pale:   #e8effc;
    --sx-navy:        #0a2540;
    --sx-navy-dark:   #05111f;
    --sx-navy-mid:    #0a2540;
    --sx-navy-light:  #0f3460;
    --sx-green-wa:    #25d366;
    --sx-white:       #ffffff;
    --sx-cream:       #f9f9f7;
    --sx-text:        #1a202c;
    --sx-muted:       #4a5568;
    --sx-border:      #e2e8f0;
    --sx-border-dk:   #1e3a5f;
    --sx-radius:      8px;
    --sx-radius-lg:   12px;
    --sx-shadow:      0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ── WhatsApp float button styles (sitewide) ── */
#wa-float-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

#wa-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

#wa-float-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

#wa-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#wa-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

#wa-popup-box {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
}

#wa-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 26px;
    cursor: pointer;
    color: #aaa;
    background: none;
    border: none;
    line-height: 1;
}

#wa-popup-close:hover {
    color: #333;
}

.wa-icon-wrap {
    background: #25d366;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.wa-icon-wrap svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

#wa-popup-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a1a2e;
}

#wa-popup-box p {
    font-size: 15px;
    color: #555;
    margin: 0 0 24px;
    line-height: 1.5;
}

#wa-popup-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

#wa-popup-cta:hover {
    background: #1ebe5d;
    transform: scale(1.03);
}

#wa-popup-cta svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.wa-note {
    font-size: 12px;
    color: #aaa;
    margin-top: 14px;
}
