/* Mary Wellbeing - small additions for the dynamic (CodeIgniter) version */

/* hidden anti-spam field in forms */
.mw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* form submit message (top-right toast) */
.mw-flash {
    position: fixed; top: 24px; right: 24px; z-index: 99999; max-width: 420px;
    display: flex; align-items: flex-start; gap: 10px;
    padding: 14px 44px 14px 16px; border-radius: 12px; color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18); font-size: 15px; line-height: 1.5;
    animation: mwFlashIn .35s ease;
}
.mw-flash--ok { background: #836249; }
.mw-flash--err { background: #b3261e; }
.mw-flash i { margin-top: 3px; }
.mw-flash__close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
html[dir="rtl"] .mw-flash { right: auto; left: 24px; padding: 14px 16px 14px 44px; }
html[dir="rtl"] .mw-flash__close { right: auto; left: 12px; }
@keyframes mwFlashIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* sidebar ajax result inside form */
.sidebar__contact-form .result { margin-top: 12px; font-size: 14px; }
.sidebar__contact-form .result.success { color: #2e7d32; }
.sidebar__contact-form .result.error { color: #b3261e; }

/* language links (anchors instead of buttons) */
a.lang-btn { text-decoration: none; display: inline-block; }

/* phone numbers stay left-to-right inside Arabic text */
html[dir="rtl"] a[href^="tel:"] { unicode-bidi: embed; direction: ltr; }
