/* awdal — Site + Merchant design tokens & components (Phase 2) */
:root {
    --awdal-primary: #1B7A4A;
    --awdal-primary-hover: #16613B;
    --awdal-primary-light: #F0F7F3;
    --awdal-bg: #FDFBFF;
    --awdal-white: #FFFFFF;
    --awdal-dark: #1A1A2E;
    --awdal-text: #3D2B52;
    --awdal-muted: #8B7A9E;
    --awdal-muted-light: #B8A9CC;
    --awdal-border: #EDE8F7;
    --awdal-surface: #F7F4FB;
    --awdal-error: #E85D4E;
    --awdal-warning: #D4A843;
    --awdal-purple: #6B2D8B;
    --awdal-success: #059669;
    --awdal-footer: #1A1A2E;
    --awdal-sidebar-w: 260px;
    --awdal-header-h: 72px;
    --awdal-nav-h: 80px;
    --awdal-logo-nav-h: 64px;
    --awdal-logo-nav-max-w: 480px;
    --awdal-logo-footer-h: 96px;
    --awdal-logo-footer-max-w: 520px;
    --awdal-radius: 12px;
    --awdal-radius-lg: 16px;
    --awdal-radius-xl: 24px;
    --font-kufi: 'Noto Kufi Arabic', sans-serif;
    --font-sans: 'Noto Sans Arabic', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --awdal-field-icon-w: 44px;
    --awdal-field-icon-gap: 18px;
    --awdal-field-pad-icon: calc(var(--awdal-field-icon-w) + var(--awdal-field-icon-gap));
    --awdal-field-pad-plain: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    scrollbar-gutter: stable;
}

body.awdal-body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--awdal-dark);
    background: var(--awdal-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
}

[dir="rtl"] .awdal-icon-flip { transform: scaleX(-1); }

/* Layout */
.awdal-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.awdal-container--wide { max-width: 1400px; margin: 0 auto; }
.awdal-page {
    min-height: 100vh;
    background: var(--awdal-bg);
    overflow-x: clip;
    max-width: 100%;
}
.awdal-page--white { background: var(--awdal-white); }

/* Typography */
.awdal-h1 { font-family: var(--font-kufi); font-size: 44px; font-weight: 700; line-height: 1.2; color: var(--awdal-dark); margin: 0; }
.awdal-h2 { font-family: var(--font-kufi); font-size: 26px; font-weight: 700; color: var(--awdal-primary); margin: 0; }
.awdal-h3 { font-family: var(--font-kufi); font-size: 18px; font-weight: 700; color: var(--awdal-dark); margin: 0; }
.awdal-text-muted { color: var(--awdal-muted); }
.awdal-text-sm { font-size: 13px; }
.awdal-text-xs { font-size: 12px; }

/* Buttons */
.awdal-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--awdal-radius); border: none;
    font-family: var(--font-kufi); font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.3s; white-space: nowrap; text-decoration: none;
}
.awdal-btn--primary { background: var(--awdal-primary); color: #fff; }
.awdal-btn--primary:hover { background: var(--awdal-primary-hover); box-shadow: 0 8px 30px rgba(27, 122, 74, 0.35); transform: translateY(-2px); }
.awdal-btn--dark { background: var(--awdal-dark); color: #fff; }
.awdal-btn--dark:hover { background: #111827; color: #fff; }
.awdal-btn--dark.awdal-btn--pill { padding: 10px 20px; font-size: 13px; }
.awdal-btn--outline { background: #fff; color: var(--awdal-primary); border: 1px solid rgba(27, 122, 74, 0.3); }
.awdal-btn--outline:hover { background: var(--awdal-primary-light); }
.awdal-btn--ghost { background: transparent; color: var(--awdal-primary); padding: 8px 16px; }
.awdal-btn--sm { padding: 10px 20px; font-size: 13px; }
.awdal-btn--pill { border-radius: 999px; padding: 12px 28px; }
.awdal-btn--block { width: 100%; }
.awdal-btn:disabled,
.awdal-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* Forms */
.awdal-form-group { margin-bottom: 20px; }
.awdal-input.is-invalid,
.awdal-select.is-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15);
}
.awdal-form-group .awdal-m-field-error {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #b91c1c;
}
.awdal-label { display: block; font-family: var(--font-kufi); font-size: 13px; font-weight: 600; color: var(--awdal-dark); margin-bottom: 8px; }
.awdal-input, .awdal-select, .awdal-textarea {
    width: 100%; height: 50px;
    padding: 0 var(--awdal-field-pad-plain);
    background: var(--awdal-surface); border: 1px solid var(--awdal-border);
    border-radius: var(--awdal-radius); font-family: var(--font-sans); font-size: 14px;
    color: var(--awdal-dark); outline: none; transition: all 0.2s;
}
.awdal-textarea { height: auto; min-height: 120px; padding: 12px 16px; resize: vertical; }
.awdal-input:focus, .awdal-select:focus, .awdal-textarea:focus {
    border-color: var(--awdal-primary); background: #fff;
}
.awdal-input::placeholder { color: var(--awdal-muted-light); }
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
.awdal-input-wrap { position: relative; }
.awdal-input-icon {
    position: absolute; top: 0; bottom: 0; right: 0; left: auto; width: var(--awdal-field-icon-w);
    display: flex; align-items: center; justify-content: center;
    color: var(--awdal-muted); pointer-events: none;
}
.awdal-input-toggle {
    position: absolute; top: 0; bottom: 0; left: 0; right: auto; width: var(--awdal-field-icon-w);
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; color: var(--awdal-muted);
}

/* Cards */
.awdal-card {
    background: #fff; border-radius: var(--awdal-radius-lg);
    box-shadow: var(--shadow-card); overflow: hidden;
}
.awdal-card__body { padding: 16px; }
.awdal-section { padding: 48px 0; }
.awdal-section-title {
    display: flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 32px;
}
.awdal-section-title__accent {
    width: 6px; height: 32px; background: var(--awdal-primary);
    border-radius: 999px; margin-left: 8px;
}

/* Campaign card */
.awdal-campaign-card {
    display: block; text-decoration: none; color: inherit;
    background: #fff; border-radius: var(--awdal-radius-lg);
    border: 1px solid var(--awdal-primary);
    box-shadow: var(--shadow-card); overflow: hidden;
    transition: box-shadow 0.3s; position: relative;
}
.awdal-campaign-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.awdal-campaign-card__img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.awdal-campaign-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.7s; }
.awdal-campaign-card:hover .awdal-campaign-card__img img { transform: scale(1.05); }
.awdal-progress { height: 6px; background: var(--awdal-border); border-radius: 999px; overflow: hidden; }
.awdal-progress__bar { height: 100%; background: var(--awdal-primary); border-radius: 999px; }

/* Navbar */
.awdal-nav {
    position: sticky; top: 0; z-index: 50; height: var(--awdal-nav-h);
    background: #fff; border-bottom: 1px solid var(--awdal-border);
    transition: all 0.5s;
}
.awdal-nav.is-scrolled { background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); box-shadow: 0 1px 20px rgba(0,0,0,0.08); }
.awdal-nav__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    height: 100%; padding: 0 32px; max-width: 1440px; margin: 0 auto;
}
.awdal-nav__brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    max-width: none;
}

/* Brand logo — Figma proportions (icon + wordmark) */
.awdal-brand-logo {
    display: block;
    width: auto;
    object-fit: contain;
    object-position: right center;
}
.awdal-brand-logo--nav {
    height: var(--awdal-logo-nav-h);
    width: auto;
    max-height: var(--awdal-logo-nav-h);
    max-width: var(--awdal-logo-nav-max-w);
}
.awdal-brand-logo--footer {
    height: var(--awdal-logo-footer-h);
    width: auto;
    max-height: var(--awdal-logo-footer-h);
    max-width: var(--awdal-logo-footer-max-w);
}
.awdal-brand-logo--auth {
    height: 40px;
    max-height: 40px;
    max-width: 168px;
}
.awdal-nav__links { display: flex; gap: 4px; }
.awdal-nav__link {
    padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
    color: var(--awdal-text); text-decoration: none; transition: all 0.2s;
}
.awdal-nav__link:hover { color: var(--awdal-primary); background: var(--awdal-primary-light); }
.awdal-nav__actions { display: flex; align-items: center; gap: 10px; }
.awdal-icon-btn {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 999px; background: var(--awdal-surface); border: none; cursor: pointer;
    color: var(--awdal-primary); text-decoration: none; transition: background 0.3s; position: relative;
}
.awdal-icon-btn:hover { background: var(--awdal-primary-light); }
.awdal-icon-btn--sm { width: 36px; height: 36px; font-size: 16px; }
.awdal-badge {
    position: absolute; top: -2px; left: -2px; min-width: 18px; height: 18px;
    background: var(--awdal-error); color: #fff; font-size: 11px; font-weight: 700;
    border-radius: 999px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
}
.awdal-badge[hidden] { display: none !important; }

/* Footer */
.awdal-footer { background: var(--awdal-footer); padding: 56px 32px 32px; color: #fff; }
.awdal-footer__grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 48px;
    max-width: 1280px; margin: 0 auto 40px; align-items: start;
}
.awdal-footer__brand { max-width: 520px; }
.awdal-footer__logo-link {
    display: inline-block;
    margin-bottom: 16px;
    max-width: none;
}
.awdal-footer__desc {
    margin: 0; font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.55);
}
.awdal-footer__title {
    font-family: var(--font-kufi); font-size: 14px; font-weight: 700;
    margin: 0 0 16px; color: #fff;
}
.awdal-footer__links { display: flex; flex-direction: column; gap: 10px; }
.awdal-footer__links a {
    color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color 0.2s;
}
.awdal-footer__links a:hover { color: #fff; }
.awdal-footer__socials { display: flex; flex-wrap: wrap; gap: 12px; }
.awdal-footer__social-img { width: 24px; height: 24px; object-fit: contain; display: block; border-radius: 4px; }
.awdal-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
    max-width: 1280px; margin: 0 auto; font-size: 12px; color: rgba(255,255,255,0.4);
}
.awdal-footer__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.awdal-footer__dot { opacity: 0.45; }
.awdal-footer__copy { margin: 0; }
.awdal-social-btn {
    width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.1);
    border: none; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 18px; transition: background 0.2s, transform 0.2s;
}
.awdal-social-btn:hover { background: var(--awdal-primary); transform: translateY(-1px); }

/* Merchant shell */
.awdal-merchant { min-height: 100vh; background: var(--awdal-bg); }
.awdal-merchant__sidebar {
    position: fixed; top: 0; right: 0; bottom: 0; width: var(--awdal-sidebar-w);
    background: #fff; border-left: 1px solid var(--awdal-border); z-index: 40;
    display: flex; flex-direction: column;
}
.awdal-sidebar-header {
    display: flex; align-items: center; justify-content: flex-start;
    height: var(--awdal-header-h); padding: 0 20px;
    border-bottom: 1px solid var(--awdal-border); flex-shrink: 0;
}
.awdal-sidebar-header__logo { display: flex; align-items: center; text-decoration: none; }
.awdal-sidebar-toggle {
    display: none; width: 32px; height: 32px; margin-inline-start: auto;
}
.awdal-merchant__main { margin-right: var(--awdal-sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.awdal-merchant__header {
    position: sticky; top: 0; z-index: 30; height: var(--awdal-header-h);
    background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--awdal-border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px;
}
.awdal-merchant__header-start { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.awdal-merchant__header-title {
    font-family: var(--font-kufi); font-size: 18px; font-weight: 700;
    color: var(--awdal-dark); margin: 0;
}
.awdal-merchant__header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.awdal-merchant__header-actions .awdal-icon-btn {
    width: 40px; height: 40px; color: #6B6280; background: #F6F4F8;
}
.awdal-merchant__search {
    position: relative;
    flex: 1;
    max-width: 360px;
    margin-inline-start: auto;
    margin-inline-end: 8px;
}
.awdal-merchant__search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--awdal-border);
    color: var(--awdal-muted);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.awdal-merchant__search-form:focus-within {
    border-color: rgba(27, 122, 74, 0.35);
    box-shadow: 0 0 0 3px rgba(27, 122, 74, 0.08);
    color: var(--awdal-text);
}
.awdal-merchant__search-form i { font-size: 18px; color: #8B83A0; flex-shrink: 0; }
.awdal-merchant__search-form input {
    flex: 1; min-width: 0; height: 100%; border: none; outline: none;
    background: transparent; color: var(--awdal-dark); font-family: inherit; font-size: 13px;
}
.awdal-merchant__search-form input::placeholder { color: #9A93AB; }
.awdal-merchant__search-form input::-webkit-search-cancel-button { appearance: none; }
.awdal-merchant__search-close {
    display: none; width: 28px; height: 28px; border: 0; padding: 0;
    background: transparent; color: #8B83A0; cursor: pointer;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.awdal-merchant__search-close i { font-size: 18px; }
.awdal-merchant__search-toggle { display: none; }
.awdal-merchant__search-panel {
    position: absolute; top: calc(100% + 8px); right: 0; left: 0;
    max-height: min(420px, calc(100vh - var(--awdal-header-h) - 24px));
    background: #fff; border: 1px solid var(--awdal-border);
    border-radius: 16px; box-shadow: 0 16px 40px rgba(36, 24, 58, 0.12);
    overflow-x: hidden; overflow-y: auto; z-index: 40;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.awdal-merchant__search-panel::-webkit-scrollbar { width: 6px; }
.awdal-merchant__search-panel::-webkit-scrollbar-thumb {
    background: #D8D2E2; border-radius: 999px;
}
.awdal-merchant__search-panel::-webkit-scrollbar-track { background: transparent; }
.awdal-merchant__search-group { padding: 10px 8px 8px; }
.awdal-merchant__search-group + .awdal-merchant__search-group {
    border-top: 1px solid var(--awdal-border);
}
.awdal-merchant__search-heading {
    display: block; padding: 4px 10px 8px;
    font-size: 11px; font-weight: 700; color: var(--awdal-muted);
}
.awdal-merchant__search-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 12px;
    text-decoration: none; color: inherit;
}
.awdal-merchant__search-item:hover { background: #F6F4F8; }
.awdal-merchant__search-thumb {
    width: 36px; height: 36px; border-radius: 10px; overflow: hidden;
    background: #F3F0F7; color: #8B83A0; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.awdal-merchant__search-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-merchant__search-item strong {
    display: block; font-size: 13px; font-weight: 700; color: var(--awdal-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.awdal-merchant__search-item small {
    display: block; font-size: 11px; color: var(--awdal-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.awdal-merchant__search-item-body { min-width: 0; flex: 1; }
.awdal-merchant__search-more {
    display: block; padding: 6px 10px 2px;
    font-size: 12px; font-weight: 600; color: var(--awdal-primary);
    text-decoration: none;
}
.awdal-merchant__search-empty,
.awdal-merchant__search-hint {
    padding: 18px 16px; text-align: center;
    font-size: 13px; color: var(--awdal-muted);
}
.awdal-merchant__user-wrap { position: relative; margin-right: 4px; }
.awdal-merchant__user {
    display: flex; align-items: center; gap: 8px;
    background: none; border: 0; padding: 0; cursor: pointer;
    font-family: inherit; text-decoration: none; color: var(--awdal-dark);
}
.awdal-merchant__user-avatar {
    width: 32px; height: 32px; border-radius: 999px; overflow: hidden;
    background: var(--awdal-surface); display: flex; align-items: center;
    justify-content: center; color: var(--awdal-muted);
}
.awdal-merchant__user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-merchant__user-name { font-size: 13px; font-weight: 600; }
.awdal-merchant__user > i { color: var(--awdal-muted); font-size: 16px; transition: transform 0.2s; }
.awdal-merchant__user-wrap:has([data-user-menu].is-open) .awdal-merchant__user > i { transform: rotate(180deg); }
.awdal-merchant__user-menu {
    display: none; position: absolute; top: calc(100% + 10px); left: 0;
    min-width: 220px; padding: 8px; z-index: 40;
    background: #fff; border: 1px solid var(--awdal-border);
    border-radius: 16px; box-shadow: 0 12px 32px rgba(26, 26, 46, 0.12);
}
.awdal-merchant__user-menu.is-open { display: block; }
.awdal-merchant__user-menu form { margin: 0; }
.awdal-merchant__user-menu-item {
    display: flex; align-items: center; gap: 10px; width: 100%;
    height: 44px; padding: 0 12px; border: 0; border-radius: 12px;
    background: none; color: var(--awdal-dark); text-decoration: none;
    font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: start;
}
.awdal-merchant__user-menu-item i { font-size: 18px; color: var(--awdal-muted); }
.awdal-merchant__user-menu-item:hover { background: var(--awdal-bg); color: var(--awdal-primary); }
.awdal-merchant__user-menu-item:hover i { color: var(--awdal-primary); }
.awdal-merchant__user-menu-item.is-danger { color: var(--awdal-error, #C0392B); }
.awdal-merchant__user-menu-item.is-danger i { color: inherit; }
.awdal-merchant__user-menu-item.is-danger:hover { background: #FDECEC; color: var(--awdal-error, #C0392B); }
.awdal-merchant__content { flex: 1; padding: 28px 32px 40px; }
.awdal-sidebar-nav {
    flex: 1; overflow-y: auto; padding: 16px 12px;
    display: flex; flex-direction: column; gap: 4px;
}
.awdal-sidebar-link {
    display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px;
    border-radius: var(--awdal-radius); text-decoration: none;
    font-size: 14px; font-weight: 500; color: #6B6280; transition: background 0.2s, color 0.2s;
}
.awdal-sidebar-link:hover { background: var(--awdal-bg); color: var(--awdal-text); }
.awdal-sidebar-link.is-active {
    background: var(--awdal-primary-light); color: var(--awdal-primary); font-weight: 600;
}
.awdal-sidebar-link.is-active i { color: var(--awdal-primary); }
.awdal-sidebar-link i {
    font-size: 20px; width: 20px; flex-shrink: 0; text-align: center; color: inherit;
}
.awdal-sidebar-link__label { flex: 0 1 auto; white-space: nowrap; }
.awdal-sidebar-link__badge {
    flex-shrink: 0; min-width: 20px; height: 20px; padding: 0 5px; margin-inline-start: 4px;
    background: var(--awdal-error); color: #fff; font-size: 11px; font-weight: 700; line-height: 1;
    border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
}
.awdal-sidebar-link__badge[hidden] { display: none !important; }
.awdal-sidebar-footer {
    flex-shrink: 0; padding: 12px; border-top: 1px solid var(--awdal-border);
}
.awdal-sidebar-user {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    background: var(--awdal-surface); border-radius: var(--awdal-radius);
}
.awdal-sidebar-user__avatar {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px;
    background: var(--awdal-border); overflow: hidden;
    display: flex; align-items: center; justify-content: center; color: var(--awdal-muted);
}
.awdal-sidebar-user__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-sidebar-user__avatar i { font-size: 20px; }
.awdal-sidebar-user__info { min-width: 0; flex: 1; }
.awdal-sidebar-user__name {
    margin: 0; font-size: 13px; font-weight: 700; color: var(--awdal-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.awdal-sidebar-user__role {
    margin: 2px 0 0; font-size: 11px; font-weight: 400; color: var(--awdal-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Merchant dashboard */
.awdal-dash-welcome { margin-bottom: 28px; }
.awdal-dash-welcome__title {
    font-family: var(--font-kufi); font-size: 22px; font-weight: 700;
    color: var(--awdal-dark); margin: 0 0 6px;
}
.awdal-dash-welcome__sub { margin: 0; font-size: 13px; color: var(--awdal-muted); }
.awdal-dash-kpis {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px;
}
.awdal-dash-kpi {
    background: #fff; border-radius: var(--awdal-radius-xl); padding: 22px 22px 20px;
    box-shadow: var(--shadow-card); min-height: 148px;
    display: flex; flex-direction: column;
}
.awdal-dash-kpi__icon {
    width: 36px; height: 36px; border-radius: 10px; margin-bottom: 18px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.awdal-dash-kpi__icon--mint { background: #E8F6EE; color: #1B7A4A; }
.awdal-dash-kpi__icon--lavender { background: #EEF0FF; color: #5B6CE8; }
.awdal-dash-kpi__icon--sand { background: #FFF6E5; color: #D4A843; }
.awdal-dash-kpi__icon--green { background: #E7F7EF; color: #1B7A4A; }
.awdal-dash-kpi__value {
    margin: 0 0 6px; font-size: 28px; font-weight: 700; line-height: 1.2;
    color: var(--awdal-dark); font-family: var(--font-kufi);
}
.awdal-dash-kpi__label { margin: 0; font-size: 13px; color: var(--awdal-muted); }
.awdal-dash-split {
    display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
    gap: 16px; margin-bottom: 16px; align-items: start;
}
.awdal-dash-panel {
    background: #fff; border-radius: var(--awdal-radius-xl);
    box-shadow: var(--shadow-card); padding: 20px 22px 12px;
}
.awdal-dash-panel--chart { padding-bottom: 20px; }
.awdal-dash-panel__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 12px;
}
.awdal-dash-panel__title {
    font-family: var(--font-kufi); font-size: 16px; font-weight: 700;
    color: var(--awdal-dark); margin: 0;
}
.awdal-dash-panel__link {
    font-size: 13px; font-weight: 600; color: var(--awdal-primary); text-decoration: none;
}
.awdal-dash-panel__link:hover { text-decoration: underline; }
.awdal-dash-table-wrap { overflow-x: auto; }
.awdal-dash-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.awdal-dash-table th {
    text-align: right; padding: 10px 8px; font-weight: 500; color: var(--awdal-muted);
    border-bottom: 1px solid var(--awdal-border); background: transparent;
}
.awdal-dash-table td {
    padding: 14px 8px; border-bottom: 1px solid var(--awdal-border);
    color: var(--awdal-dark); vertical-align: middle;
}
.awdal-dash-table tr:last-child td { border-bottom: none; }
.awdal-dash-table__amount { font-weight: 600; white-space: nowrap; }
.awdal-dash-table__muted { color: var(--awdal-muted); white-space: nowrap; }
.awdal-dash-order {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--awdal-dark); font-weight: 600;
}
.awdal-dash-order__thumb {
    width: 36px; height: 36px; border-radius: 8px; overflow: hidden;
    background: var(--awdal-surface); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; color: var(--awdal-muted);
}
.awdal-dash-order__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-dash-order__ref { white-space: nowrap; }
.awdal-dash-activity { list-style: none; margin: 0; padding: 4px 0 8px; }
.awdal-dash-activity__item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; text-decoration: none; color: inherit;
}
.awdal-dash-activity li + li .awdal-dash-activity__item { border-top: 1px solid var(--awdal-border); }
.awdal-dash-activity__icon {
    width: 32px; height: 32px; border-radius: 999px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.awdal-dash-activity__icon--teal { background: #E7F7EF; color: #1B7A4A; }
.awdal-dash-activity__icon--rose { background: #FDECEC; color: #E85D4E; }
.awdal-dash-activity__icon--blue { background: #EAF1FF; color: #3B6CE8; }
.awdal-dash-activity__icon--green { background: #E7F7EF; color: #1B7A4A; }
.awdal-dash-activity__icon--amber { background: #FFF6E5; color: #D4A843; }
.awdal-dash-activity__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.awdal-dash-activity__body strong {
    font-size: 13px; font-weight: 700; color: var(--awdal-dark);
}
.awdal-dash-activity__body span {
    font-size: 12px; color: var(--awdal-muted); line-height: 1.6;
}
.awdal-dash-activity__body small { font-size: 11px; color: var(--awdal-muted-light); }
.awdal-dash-chart { height: 280px; }
.awdal-dash-featured { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; }
.awdal-dash-featured__card { display: block; text-decoration: none; color: inherit; }
.awdal-dash-featured__img {
    height: 132px; border-radius: 14px; overflow: hidden;
    background: #111; margin-bottom: 12px;
}
.awdal-dash-featured__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-dash-featured__meta h3 {
    margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--awdal-dark);
}
.awdal-dash-featured__meta p { margin: 0 0 10px; font-size: 12px; color: var(--awdal-muted); }
.awdal-dash-featured__row {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px;
}
.awdal-dash-featured__row strong { font-size: 13px; font-weight: 700; color: var(--awdal-dark); }
.awdal-dash-featured__row span {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; color: var(--awdal-muted);
}
.awdal-dash-featured__meta .awdal-progress { height: 5px; background: #F0ECF5; }
.awdal-dash-featured__meta small {
    display: block; margin-top: 8px; font-size: 11px; color: var(--awdal-muted-light);
}
.awdal-dash-empty {
    margin: 0; padding: 24px 8px; text-align: center;
    font-size: 13px; color: var(--awdal-muted);
}

/* Merchant page header (in-content title block) */
.awdal-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.awdal-page-header__back {
    display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--awdal-muted);
    text-decoration: none; margin-bottom: 8px;
}
.awdal-page-header__back:hover { color: var(--awdal-primary); }
.awdal-page-header__back-icon {
    width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--awdal-dark); text-decoration: none; font-size: 20px; margin-left: 4px;
}
.awdal-page-header__title { display: flex; align-items: center; gap: 10px; }
.awdal-page-header__subtitle { color: var(--awdal-muted); font-size: 13px; margin: 6px 0 0; }

/* Merchant campaigns list */
.awdal-camp-tabs {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.awdal-camp-tabs__item {
    display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
    border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 600;
    color: var(--awdal-muted); background: transparent; transition: background 0.2s, color 0.2s;
}
.awdal-camp-tabs__item:hover { color: var(--awdal-dark); }
.awdal-camp-tabs__item.is-active { background: var(--awdal-dark); color: #fff; }
.awdal-camp-toolbar {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap;
}
.awdal-camp-toolbar__search {
    flex: 1; min-width: 220px; height: 44px; display: flex; align-items: center; gap: 10px;
    padding: 0 16px; background: #fff; border: 1px solid var(--awdal-border);
    border-radius: 999px; color: var(--awdal-muted);
}
.awdal-camp-toolbar__search i { font-size: 16px; }
.awdal-camp-toolbar__search input {
    flex: 1; min-width: 0; border: none; outline: none; background: transparent;
    font-family: inherit; font-size: 13px; color: var(--awdal-dark);
}
.awdal-camp-toolbar__search input::placeholder { color: var(--awdal-muted-light); }
.awdal-camp-toolbar__select {
    height: 44px; padding: 0 32px 0 14px; border: 1px solid var(--awdal-border);
    border-radius: 999px; background: #fff; color: var(--awdal-dark);
    font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
    appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B7A9E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: left 12px center;
}
.awdal-camp-table-wrap {
    overflow-x: auto; background: #fff; border-radius: var(--awdal-radius-xl);
    box-shadow: var(--shadow-card);
}
[data-merchant-filter].is-loading [data-merchant-filter-target] {
    opacity: 0.55; pointer-events: none; transition: opacity 0.15s;
}
.awdal-camp-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 960px; }
.awdal-camp-table th {
    text-align: right; padding: 14px 16px; font-weight: 500; color: var(--awdal-muted);
    border-bottom: 1px solid var(--awdal-border); background: transparent; white-space: nowrap;
}
.awdal-camp-table td {
    padding: 16px; border-bottom: 1px solid var(--awdal-border);
    color: var(--awdal-dark); vertical-align: middle; white-space: nowrap;
}
.awdal-camp-table tr:last-child td { border-bottom: none; }
.awdal-camp-table__name {
    color: var(--awdal-dark); font-weight: 600; text-decoration: none;
}
.awdal-camp-table__name:hover { color: var(--awdal-primary); }
.awdal-camp-table__reject-note {
    margin: 4px 0 0; font-size: 12px; line-height: 1.4; color: #991b1b; max-width: 280px;
}
.awdal-camp-table__muted { color: var(--awdal-muted); }
.awdal-camp-remain { color: var(--awdal-primary); font-weight: 600; }
.awdal-camp-remain.is-ended { color: var(--awdal-error); }
.awdal-camp-actions { display: flex; align-items: center; justify-content: flex-start; gap: 2px; }
.awdal-camp-actions__btn {
    width: 32px; height: 32px; border: none; background: transparent;
    color: var(--awdal-muted); display: inline-flex; align-items: center;
    justify-content: center; border-radius: 8px; cursor: pointer; text-decoration: none;
}
.awdal-camp-actions__btn:hover { background: var(--awdal-surface); color: var(--awdal-dark); }
.awdal-camp-more { position: relative; }
.awdal-camp-more__menu {
    display: none; position: absolute; top: 100%; left: 0; z-index: 5;
    min-width: 140px; padding: 6px; background: #fff; border: 1px solid var(--awdal-border);
    border-radius: 10px; box-shadow: var(--shadow-card);
}
.awdal-camp-more.is-open .awdal-camp-more__menu { display: block; }
.awdal-camp-more__menu a,
.awdal-camp-more__menu button {
    display: block; width: 100%; text-align: right; padding: 8px 10px;
    border: none; background: none; font: inherit; font-size: 12px;
    color: var(--awdal-dark); text-decoration: none; border-radius: 8px; cursor: pointer;
}
.awdal-camp-more__menu a:hover,
.awdal-camp-more__menu button:hover { background: var(--awdal-surface); }
.awdal-camp-pager {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 16px; padding: 0 4px; flex-wrap: wrap;
}
.awdal-camp-pager p { margin: 0; font-size: 13px; color: var(--awdal-muted); }
.awdal-camp-pager__pages { display: flex; align-items: center; gap: 4px; }
.awdal-camp-pager__pages a,
.awdal-camp-pager__pages span {
    min-width: 32px; height: 32px; padding: 0 8px; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 8px;
    text-decoration: none; color: var(--awdal-muted); font-size: 13px; font-weight: 600;
}
.awdal-camp-pager__pages a:hover { background: #fff; color: var(--awdal-dark); }
.awdal-camp-pager__pages .is-active { background: #fff; color: var(--awdal-dark); box-shadow: var(--shadow-card); }
.awdal-camp-pager__pages .is-disabled { opacity: 0.4; cursor: default; }

/* Campaign create wizard */
.awdal-wizard-form { max-width: 860px; margin: 0 auto; }
.awdal-wizard {
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    gap: 0; margin: 0 0 36px; padding: 0; position: relative;
}
.awdal-wizard::before {
    content: ""; position: absolute; top: 16px; right: 8%; left: 8%; height: 2px;
    background: var(--awdal-border); z-index: 0;
}
.awdal-wizard li {
    position: relative; z-index: 1; display: flex; flex-direction: column;
    align-items: center; gap: 8px; flex: 1; cursor: default; background: var(--awdal-bg);
}
.awdal-wizard li.is-done { cursor: pointer; }
.awdal-wizard__dot {
    width: 32px; height: 32px; border-radius: 999px; background: #fff;
    border: 2px solid var(--awdal-border); color: var(--awdal-muted);
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.awdal-wizard__dot i { display: none; font-size: 16px; }
.awdal-wizard li.is-active .awdal-wizard__dot {
    background: var(--awdal-dark); border-color: var(--awdal-dark); color: #fff;
}
.awdal-wizard li.is-done .awdal-wizard__dot {
    background: var(--awdal-primary); border-color: var(--awdal-primary); color: #fff;
}
.awdal-wizard li.is-done .awdal-wizard__num { display: none; }
.awdal-wizard li.is-done .awdal-wizard__dot i { display: block; }
.awdal-wizard__label { font-size: 13px; font-weight: 600; color: var(--awdal-muted); }
.awdal-wizard li.is-active .awdal-wizard__label,
.awdal-wizard li.is-done .awdal-wizard__label { color: var(--awdal-dark); }
.awdal-wizard-panel { background: transparent; }
.awdal-wiz-field { margin-bottom: 18px; }
.awdal-wiz-input {
    display: flex; align-items: center; gap: 10px; min-height: 52px;
    padding: 0 16px; background: var(--awdal-surface); border: none;
    border-radius: 14px; color: var(--awdal-muted);
}
.awdal-wiz-input i { font-size: 18px; flex-shrink: 0; }
.awdal-wiz-input input,
.awdal-wiz-input select {
    flex: 1; min-width: 0; height: 52px; border: none; outline: none;
    background: transparent; font-family: inherit; font-size: 14px; color: var(--awdal-dark);
    text-align: right;
}
[dir="ltr"] .awdal-wiz-input input,
[dir="ltr"] .awdal-wiz-input select {
    text-align: left;
}
.awdal-wiz-input select {
    appearance: none;
    cursor: pointer;
    direction: rtl;
    text-align: right;
    text-align-last: right;
    padding-inline-end: 28px;
    padding-inline-start: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B7A9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 8px center;
    background-size: 16px;
}
.awdal-wiz-input select option {
    direction: rtl;
    text-align: right;
    color: var(--awdal-dark);
    padding-block: 10px;
    padding-inline-start: 16px;
    padding-inline-end: 12px;
}
.awdal-wiz-input select option[value=""] {
    color: var(--awdal-muted);
}
.awdal-wiz-input select:invalid {
    color: var(--awdal-muted);
}
.awdal-wiz-input select:valid {
    color: var(--awdal-dark);
}
[dir="ltr"] .awdal-wiz-input select {
    direction: ltr;
    text-align: left;
    text-align-last: left;
    padding-inline-start: 16px;
    padding-inline-end: 28px;
    background-position: right 8px center;
}
[dir="ltr"] .awdal-wiz-input select option {
    direction: ltr;
    text-align: left;
    padding-inline-start: 16px;
    padding-inline-end: 12px;
}
.awdal-wiz-area {
    width: 100%; padding: 14px 16px; background: var(--awdal-surface); border: none;
    border-radius: 14px; font-family: inherit; font-size: 14px; color: var(--awdal-dark);
    resize: vertical; outline: none;
}
.awdal-wiz-count { display: block; text-align: left; font-size: 12px; color: var(--awdal-muted-light); margin-top: 6px; }
.awdal-wiz-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.awdal-wiz-pill {
    height: 40px; padding: 0 18px; border-radius: 999px; border: none;
    background: var(--awdal-surface); color: var(--awdal-dark);
    font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.awdal-wiz-pill.is-active { background: var(--awdal-dark); color: #fff; }
.awdal-wiz-pill input[type="radio"],
.awdal-wiz-pill input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.awdal-wiz-choice-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    align-items: start;
}
@media (min-width: 768px) {
    .awdal-wiz-choice-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.awdal-wiz-pill--choice {
    position: relative;
    width: 100%;
    min-height: 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--awdal-border);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: start;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.awdal-wiz-pill--choice:hover:not(.is-active) {
    border-color: color-mix(in srgb, var(--awdal-primary) 35%, var(--awdal-border));
    background: var(--awdal-surface);
}
.awdal-wiz-pill--choice.is-active {
    background: var(--awdal-dark);
    color: #fff;
    border-color: var(--awdal-dark);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.awdal-wiz-pill--choice.is-active::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: radial-gradient(circle at center, #fff 0 4px, transparent 4px);
}
.awdal-wiz-pill--choice:not(.is-active)::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--awdal-border);
    background: #fff;
}
.awdal-upload-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.awdal-upload-tile,
.awdal-upload-preview {
    width: 140px; height: 140px; border-radius: 16px; position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; background: var(--awdal-surface); border: 1px dashed var(--awdal-border);
    color: var(--awdal-muted); font-size: 13px; cursor: pointer;
}
.awdal-upload-tile i { font-size: 28px; }
.awdal-upload-preview { border-style: solid; overflow: hidden; padding: 0; }
.awdal-upload-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-upload-preview__x {
    position: absolute; top: 6px; left: 6px; width: 24px; height: 24px;
    border: none; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.awdal-upload-drop {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; min-height: 160px; padding: 24px; border-radius: 16px;
    background: var(--awdal-surface); border: 1px dashed var(--awdal-border);
    color: var(--awdal-muted); cursor: pointer; text-align: center;
}
.awdal-upload-drop i { font-size: 28px; }
.awdal-upload-drop strong { color: var(--awdal-dark); font-size: 14px; }
.awdal-upload-drop small { font-size: 12px; }
.awdal-upload-drop.has-file { border-style: solid; }
.awdal-pkg-card {
    background: #fff; border-radius: var(--awdal-radius-xl);
    box-shadow: var(--shadow-card); padding: 20px 20px 8px; margin-bottom: 16px;
}
.awdal-pkg-card__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.awdal-pkg-card__badge {
    font-size: 11px; font-weight: 600; color: var(--awdal-muted);
    background: var(--awdal-surface); border-radius: 999px; padding: 4px 10px;
}
.awdal-pkg-card__remove {
    display: block; width: 100%; margin: 0 0 12px; padding: 8px;
    border: none; background: none; color: var(--awdal-error);
    font-family: inherit; cursor: pointer;
}
.awdal-pkg-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px;
}
.awdal-pkg-grid__full { grid-column: 1 / -1; }
.awdal-pkg-image {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--awdal-surface);
    border: 1px dashed var(--awdal-border);
    border-radius: 14px;
}
.awdal-pkg-image.is-filled {
    border-style: solid;
    background: #fff;
}
.awdal-pkg-image__picker {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}
.awdal-pkg-image__thumb {
    position: relative;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--awdal-border);
    overflow: hidden;
    color: var(--awdal-muted);
}
.awdal-pkg-image__placeholder,
.awdal-pkg-image__preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.awdal-pkg-image__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--awdal-surface);
}
.awdal-pkg-image__placeholder i { font-size: 22px; color: var(--awdal-primary); }
.awdal-pkg-image__preview {
    object-fit: cover;
    display: block;
}
.awdal-pkg-image__preview.d-none,
.awdal-pkg-image__placeholder.d-none {
    display: none !important;
}
.awdal-pkg-image__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.awdal-pkg-image__meta strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--awdal-dark);
}
.awdal-pkg-image__meta small {
    font-size: 11px;
    color: var(--awdal-muted);
}
.awdal-pkg-image__name {
    font-size: 12px;
    color: var(--awdal-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.awdal-pkg-image__clear {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 999px;
    background: var(--awdal-surface);
    color: var(--awdal-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.awdal-pkg-image__clear:hover {
    background: #fee2e2;
    color: var(--awdal-error, #dc2626);
}
/* Campaign wizard — step 4 review summary */
.awdal-campaign-review__title {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-kufi);
    color: var(--awdal-dark);
    margin: 0 0 16px;
}
.awdal-campaign-review__card {
    background: #fff;
    border: 1px solid var(--awdal-border);
    border-radius: var(--awdal-radius-xl);
    overflow: hidden;
    margin-bottom: 20px;
}
.awdal-campaign-review__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
}
.awdal-campaign-review__table th,
.awdal-campaign-review__table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--awdal-border);
    vertical-align: middle;
}
.awdal-campaign-review__table tr:last-child th,
.awdal-campaign-review__table tr:last-child td {
    border-bottom: none;
}
.awdal-campaign-review__table th {
    width: 42%;
    text-align: right;
    color: var(--awdal-muted);
    font-weight: 500;
    font-family: inherit;
}
.awdal-campaign-review__table td {
    text-align: left;
    font-weight: 600;
    color: var(--awdal-dark);
}
.awdal-campaign-review__media-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}
.awdal-campaign-review__date-box {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--awdal-border);
    border-radius: 10px;
    background: #fff;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--awdal-dark);
    line-height: 1.2;
}
.awdal-campaign-review__value--muted {
    font-weight: 500;
    color: var(--awdal-muted);
    font-size: 13px;
}
.awdal-cshow-kpi__value.is-prep-pending {
    font-size: 12px;
    font-weight: 600;
    color: var(--awdal-muted);
    line-height: 1.45;
}
.awdal-cshow-fact__value.is-prep-pending {
    font-weight: 600;
    color: var(--awdal-muted);
    font-size: 13px;
}
.awdal-campaign-review__media-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--awdal-surface);
    color: var(--awdal-dark);
    font-size: 13px;
    font-weight: 600;
}
.awdal-campaign-review__media-chip i {
    font-size: 18px;
    color: var(--awdal-muted);
    flex-shrink: 0;
}
.awdal-campaign-review__media-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.awdal-campaign-review__terms { margin-top: 4px; }
.awdal-wizard-footer--submit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}
.awdal-wizard-footer--submit .awdal-btn {
    min-height: 52px;
    min-width: 0;
    flex: unset;
    width: 100%;
}
.awdal-review-check {
    display: flex; align-items: flex-start; gap: 10px; font-size: 14px;
    margin-bottom: 24px;
}
.awdal-review-check input {
    width: 18px; height: 18px; accent-color: var(--awdal-primary);
    margin-top: 2px; flex-shrink: 0; cursor: pointer;
}
.awdal-review-check__text {
    line-height: 1.65;
    color: var(--awdal-text);
}
.awdal-review-check__text label {
    cursor: pointer;
    margin: 0;
    font-weight: 400;
}
.awdal-review-check__link {
    display: inline;
    padding: 0;
    margin: 0 2px;
    border: none;
    background: none;
    font: inherit;
    font-weight: 700;
    color: var(--awdal-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.awdal-review-check__link:hover { color: #156b3a; }
.awdal-campaign-terms-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.awdal-campaign-terms-modal__close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: var(--awdal-surface);
    color: var(--awdal-muted);
    cursor: pointer;
    flex-shrink: 0;
}
.awdal-campaign-terms-modal__close:hover { background: #EDE8F7; color: var(--awdal-dark); }
.awdal-campaign-terms-modal__body {
    max-height: min(52vh, 420px);
    overflow-y: auto;
    padding-inline-end: 4px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--awdal-text);
}
.awdal-campaign-terms-modal__body p { margin: 0 0 12px; }
.awdal-campaign-terms-modal__body p:last-child { margin-bottom: 0; }
.awdal-campaign-terms-modal__footer { margin-top: 20px; }
.awdal-wizard-footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 28px; flex-wrap: wrap;
}
.awdal-wizard-footer__step { font-size: 13px; color: var(--awdal-muted); }

/* Tables */
.awdal-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--awdal-radius-lg); box-shadow: var(--shadow-card); }
.awdal-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.awdal-table th {
    text-align: right; padding: 14px 16px; font-weight: 600; color: var(--awdal-muted);
    border-bottom: 1px solid var(--awdal-border); background: var(--awdal-bg);
}
.awdal-table td { padding: 14px 16px; border-bottom: 1px solid var(--awdal-border); }
.awdal-table tr:last-child td { border-bottom: none; }

/* Status badges */
.awdal-status {
    display: inline-flex; align-items: center; padding: 4px 12px;
    border-radius: 999px; font-size: 12px; font-weight: 600;
}
.awdal-status--success { background: var(--awdal-primary-light); color: var(--awdal-primary); }
.awdal-status--warning { background: #FFF7ED; color: var(--awdal-warning); }
.awdal-status--danger { background: #FEF2F2; color: var(--awdal-error); }
.awdal-status--muted { background: #F3F4F6; color: #6B7280; }
.awdal-status--info { background: #EFF6FF; color: #2563EB; }
.awdal-status--primary { background: var(--awdal-primary-light); color: var(--awdal-primary); }
.awdal-status.is-updated { animation: awdal-status-pulse 1.2s ease; }
@keyframes awdal-status-pulse {
    0%, 100% { transform: scale(1); box-shadow: none; }
    50% { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(34, 139, 87, 0.18); }
}
[data-order-live].is-refreshing .awdal-order-steps { opacity: 0.72; transition: opacity 0.2s ease; }

/* Chart legend dot colors reused across reports/dashboard */
.awdal-dot--success { background: var(--awdal-primary); }
.awdal-dot--warning { background: var(--awdal-warning); }
.awdal-dot--danger { background: var(--awdal-error); }
.awdal-dot--info { background: #2563EB; }
.awdal-dot--primary { background: var(--awdal-primary); }
.awdal-dot--muted { background: #9CA3AF; }

/* Tabs */
.awdal-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 24px; }
.awdal-tab {
    padding: 8px 16px; border-radius: 999px; border: none; background: transparent;
    font-size: 13px; font-weight: 600; color: var(--awdal-muted); cursor: pointer;
}
.awdal-tab.is-active { background: var(--awdal-primary-light); color: var(--awdal-primary); }

/* Modal */
.awdal-modal { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 24px; }
.awdal-modal.is-open { display: flex; }
.awdal-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.awdal-modal__dialog {
    position: relative; background: #fff; border-radius: var(--awdal-radius-lg);
    max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-lg); padding: 24px;
}

/* Empty state */
.awdal-empty { text-align: center; padding: 64px 24px; }
.awdal-empty i { font-size: 48px; color: var(--awdal-muted-light); margin-bottom: 16px; }

/* Auth layout */
.awdal-auth { display: flex; min-height: calc(100vh - var(--awdal-nav-h)); background: var(--awdal-white); }
.awdal-auth__form { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.awdal-auth__card { width: 100%; max-width: 440px; }
.awdal-auth__header { margin-bottom: 40px; }
.awdal-auth__header--compact { margin-bottom: 32px; }
.awdal-auth__heading { font-size: 28px; margin-top: 0; line-height: 1.3; }
.awdal-auth__header:not(.awdal-auth__header--compact) .awdal-auth__heading { margin-top: 24px; }
.awdal-auth__subheading { margin-top: 8px; line-height: 1.7; }
.awdal-auth__terms {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; margin-bottom: 24px; cursor: pointer; line-height: 1.7;
}
.awdal-auth__terms a { color: var(--awdal-primary); text-decoration: none; font-weight: 600; }
.awdal-auth__footer-link { text-align: center; margin-top: 24px; }
.awdal-auth__footer-link a { color: var(--awdal-primary); font-weight: 600; text-decoration: none; }
.awdal-btn--dark { background: var(--awdal-dark); color: #fff; }
.awdal-btn--dark:hover { background: #12121f; box-shadow: 0 8px 30px rgba(26, 26, 46, 0.35); transform: translateY(-2px); }

.awdal-auth__panel {
    flex: 1;
    position: relative;
    display: none;
    background-color: var(--awdal-surface);
    background-size: cover;
    background-position: center;
    min-height: 420px;
}
.awdal-auth__panel-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(61,43,82,0.12));
}
.awdal-auth__panel-card {
    width: 100%; max-width: 360px;
    padding: 32px 28px;
    border-radius: var(--awdal-radius-xl);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.awdal-auth__panel-logo {
    width: 56px; height: 56px; margin: 0 auto 20px;
    border-radius: 999px; overflow: hidden;
    background: rgba(255,255,255,0.9);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-card);
}
.awdal-auth__panel-logo img { width: 36px; height: 36px; object-fit: contain; }
.awdal-auth__panel-title {
    font-family: var(--font-kufi); font-size: 22px; font-weight: 700;
    color: var(--awdal-dark); margin: 0 0 12px; line-height: 1.5;
}
.awdal-auth__panel-desc {
    font-size: 14px; color: var(--awdal-muted); margin: 0; line-height: 1.8;
}

.awdal-auth-merchant { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--awdal-bg); }

/* Merchant auth — Figma login / register */
.awdal-m-auth-body { background: #FAFAFC; }
.awdal-m-login {
    display: flex; min-height: 100vh; background: #fff; direction: ltr;
}
.awdal-m-login__visual {
    position: relative; flex: 1; min-height: 100vh; overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 18% 22%, rgba(186, 168, 230, 0.85) 0%, transparent 58%),
        radial-gradient(ellipse 55% 50% at 82% 18%, rgba(168, 214, 214, 0.75) 0%, transparent 55%),
        radial-gradient(ellipse 60% 55% at 78% 78%, rgba(196, 176, 230, 0.7) 0%, transparent 58%),
        radial-gradient(ellipse 50% 45% at 20% 80%, rgba(176, 214, 196, 0.55) 0%, transparent 55%),
        linear-gradient(160deg, #E8E4F5 0%, #E4F0F0 45%, #EDE8F6 100%);
}
.awdal-m-login__orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(0.5px);
}
.awdal-m-login__orb--1 { width: 280px; height: 280px; top: -40px; right: 8%; background: rgba(210, 198, 240, 0.55); }
.awdal-m-login__orb--2 { width: 220px; height: 220px; top: 12%; left: -40px; background: rgba(186, 168, 230, 0.45); }
.awdal-m-login__orb--3 { width: 260px; height: 260px; bottom: 8%; left: 18%; background: rgba(176, 220, 210, 0.4); }
.awdal-m-login__orb--4 { width: 180px; height: 180px; bottom: 18%; right: 10%; background: rgba(200, 186, 230, 0.4); }
.awdal-m-login__panel-card {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(420px, calc(100% - 64px));
    padding: 40px 36px; text-align: center; direction: rtl;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(80, 70, 120, 0.08);
}
.awdal-m-login__panel-icon {
    width: 40px; height: 40px; margin: 0 auto 18px;
    border-radius: 12px; color: #6B7280;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; overflow: hidden;
}
.awdal-m-login__panel-icon img {
    width: 100%; height: 100%; object-fit: contain; display: block;
}
.awdal-m-login__panel-title {
    margin: 0 0 10px; font-family: var(--font-kufi); font-size: 20px; font-weight: 700;
    color: #111827; line-height: 1.6;
}
.awdal-m-login__panel-desc {
    margin: 0; font-size: 13px; color: #6B7280; line-height: 1.9;
}
.awdal-m-login__form {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 48px 32px; background: #fff; direction: rtl;
    min-height: 100vh; overflow-y: auto;
}
.awdal-m-login__form--tall .awdal-m-login__card {
    max-width: 440px;
}
.awdal-m-login__form--tall {
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 56px;
}
.awdal-m-steps {
    display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px;
}
.awdal-m-steps__item {
    flex: 1; min-width: 0;
    height: 36px; padding: 0 10px; border: 0; border-radius: 999px;
    background: #F4F1F8; color: #9CA3AF;
    font-family: var(--font-kufi); font-size: 12px; font-weight: 700;
    cursor: default; white-space: nowrap;
}
.awdal-m-steps__item.is-active {
    background: var(--awdal-primary-light); color: var(--awdal-primary);
}
.awdal-m-otp { margin-bottom: 0; }
.awdal-m-otp .awdal-otp__digit {
    width: 48px; height: 52px; border: 0; border-radius: 14px; background: #F4F1F8;
}
.awdal-m-login__card { width: 100%; max-width: 400px; }
.awdal-m-login__logo {
    display: inline-flex; margin-bottom: 28px;
}
.awdal-m-login__logo img { height: 36px; width: auto; display: block; }
.awdal-m-login__heading {
    margin: 0 0 8px; font-family: var(--font-kufi); font-size: 28px; font-weight: 700;
    color: #111827; line-height: 1.4;
}
.awdal-m-login__subheading {
    margin: 0 0 32px; font-size: 13px; color: #9CA3AF; line-height: 1.8;
}
.awdal-m-login__footer {
    margin: 24px 0 0; text-align: center; font-size: 13px; color: #9CA3AF;
}
.awdal-m-field { margin-bottom: 18px; }
.awdal-m-field--full { grid-column: 1 / -1; }
.awdal-m-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}
.awdal-m-row .awdal-m-field { margin-bottom: 0; min-width: 0; }
.awdal-m-genders {
    display: flex;
    gap: 8px;
}
.awdal-m-gender {
    flex: 1;
    min-width: 0;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    background: #F4F1F8;
    color: #111827;
    font-family: var(--font-kufi);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.2s, background 0.2s;
}
.awdal-m-gender input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.awdal-m-gender.is-active,
.awdal-m-gender:has(input:checked) {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(27, 122, 74, 0.35);
}
.awdal-m-gender i { font-size: 16px; color: #6B7280; }
.awdal-m-label {
    display: block; margin-bottom: 8px;
    font-family: var(--font-kufi); font-size: 13px; font-weight: 600; color: #111827;
}
.awdal-m-label-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px;
}
.awdal-m-label-row .awdal-m-label { margin-bottom: 0; }
.awdal-m-link { color: var(--awdal-primary); text-decoration: none; font-size: 13px; font-weight: 600; }
.awdal-m-link:hover { text-decoration: underline; }
.awdal-m-input-wrap { position: relative; }
.awdal-m-input, .awdal-m-select {
    width: 100%; height: 48px;
    padding: 0 var(--awdal-field-pad-plain);
    border: 0; outline: none;
    border-radius: 999px;
    background: #F4F1F8;
    font-family: var(--font-sans); font-size: 14px; color: #111827;
    transition: box-shadow 0.2s, background 0.2s;
    appearance: none; -webkit-appearance: none;
}
.awdal-m-input::placeholder { color: #C4B8D4; }
.awdal-m-input:focus, .awdal-m-select:focus {
    background: #F7F5FB;
    box-shadow: 0 0 0 2px rgba(27, 122, 74, 0.18);
}
.awdal-m-input-icon {
    position: absolute; top: 0; bottom: 0; right: 0; left: auto; width: var(--awdal-field-icon-w);
    display: flex; align-items: center; justify-content: center;
    color: #9CA3AF; pointer-events: none; font-size: 18px; z-index: 2;
}
.awdal-m-input-toggle,
.awdal-m-input-wrap .awdal-input-toggle {
    position: absolute; top: 0; bottom: 0; left: 0; right: auto; width: var(--awdal-field-icon-w);
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; color: #9CA3AF; font-size: 18px; z-index: 2;
}

/* Auth fields (RTL): icon right, gap before placeholder/text like Figma */
.awdal-m-login__form .awdal-m-input-wrap .awdal-m-input,
.awdal-m-login__form .awdal-m-input-wrap .awdal-m-select,
.awdal-m-register .awdal-m-input-wrap .awdal-m-input,
.awdal-m-register .awdal-m-input-wrap .awdal-m-select,
[dir="rtl"] .awdal-input-wrap .awdal-input,
[dir="rtl"] .awdal-input-wrap .awdal-select {
    direction: rtl;
    text-align: right;
    unicode-bidi: isolate;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: var(--awdal-field-pad-icon);
    padding-left: var(--awdal-field-pad-plain);
}
.awdal-m-login__form .awdal-m-input-wrap:not(:has(.awdal-m-input-icon)) .awdal-m-input,
.awdal-m-login__form .awdal-m-input-wrap:not(:has(.awdal-m-input-icon)) .awdal-m-select {
    padding-right: var(--awdal-field-pad-plain);
}
.awdal-m-login__form .awdal-m-input-wrap:has(.awdal-m-input-icon) .awdal-m-input,
.awdal-m-login__form .awdal-m-input-wrap:has(.awdal-m-input-icon) .awdal-m-select,
.awdal-m-register .awdal-m-input-wrap:has(.awdal-m-input-icon) .awdal-m-input,
.awdal-m-register .awdal-m-input-wrap:has(.awdal-m-input-icon) .awdal-m-select,
[dir="rtl"] .awdal-input-wrap:has(.awdal-input-icon) .awdal-input,
[dir="rtl"] .awdal-input-wrap:has(.awdal-input-icon) .awdal-select {
    padding-right: var(--awdal-field-pad-icon);
}
.awdal-m-login__form .awdal-m-input-wrap:has(.awdal-m-input-toggle, .awdal-input-toggle) .awdal-m-input,
.awdal-m-login__form .awdal-m-input-wrap:has(.awdal-m-input-toggle, .awdal-input-toggle) .awdal-m-select,
.awdal-m-register .awdal-m-input-wrap:has(.awdal-m-input-toggle, .awdal-input-toggle) .awdal-m-input,
.awdal-m-register .awdal-m-input-wrap:has(.awdal-m-input-toggle, .awdal-input-toggle) .awdal-m-select,
[dir="rtl"] .awdal-input-wrap:has(.awdal-input-toggle) .awdal-input,
[dir="rtl"] .awdal-input-wrap:has(.awdal-input-toggle) .awdal-select {
    padding-left: var(--awdal-field-pad-icon);
}
.awdal-m-login__form .awdal-m-input::placeholder,
.awdal-m-register .awdal-m-input::placeholder,
[dir="rtl"] .awdal-input-wrap .awdal-input::placeholder {
    text-align: right;
    direction: rtl;
}
.awdal-m-login__form .awdal-m-input-wrap .awdal-m-input[type="password"],
.awdal-m-register .awdal-m-input-wrap .awdal-m-input[type="password"],
[dir="rtl"] .awdal-input-wrap .awdal-input[type="password"] {
    direction: rtl;
    text-align: right;
}
.awdal-m-login__form .awdal-m-input-wrap .awdal-m-input[dir="ltr"],
.awdal-m-register .awdal-m-input-wrap .awdal-m-input[dir="ltr"] {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
    padding-right: var(--awdal-field-pad-icon);
    padding-left: var(--awdal-field-pad-plain);
}
.awdal-m-login__form .awdal-m-input-wrap .awdal-m-input[dir="ltr"]::placeholder,
.awdal-m-register .awdal-m-input-wrap .awdal-m-input[dir="ltr"]::placeholder {
    text-align: left;
    direction: ltr;
}

.awdal-m-check {
    display: flex; align-items: center; justify-content: flex-end; gap: 8px;
    margin: 8px 0 22px; font-size: 13px; color: #111827; cursor: pointer;
}
.awdal-m-check input { width: 16px; height: 16px; accent-color: var(--awdal-primary); }
.awdal-m-check--terms {
    justify-content: flex-start; align-items: flex-start; margin: 0 0 20px; line-height: 1.8; color: #6B7280;
}
.awdal-m-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
    font-family: var(--font-kufi); font-size: 15px; font-weight: 700;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.awdal-m-btn--dark { background: #111111; color: #fff; }
.awdal-m-btn--dark:hover { background: #000; box-shadow: 0 10px 28px rgba(17, 17, 17, 0.2); transform: translateY(-1px); }
.awdal-m-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.awdal-m-btn.is-loading { pointer-events: none; }
.awdal-m-btn.is-loading .awdal-spin { display: inline-block; animation: awdalSpin 0.85s linear infinite; vertical-align: -2px; }
@keyframes awdalSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.awdal-ajax-form.is-submitting { position: relative; pointer-events: none; }
.awdal-ajax-form.is-submitting .awdal-m-register__inner { opacity: 0.92; }
.awdal-ajax-form-overlay {
    position: absolute; inset: 0; z-index: 30;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    padding: 24px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(2px);
    border-radius: 16px; font-family: var(--font-kufi); font-size: 15px; font-weight: 600; color: #111827;
    text-align: center;
}
.awdal-ajax-form-overlay .awdal-spin {
    font-size: 32px; line-height: 1; display: inline-block;
    animation: awdalSpin 0.85s linear infinite;
}
.awdal-m-input.is-invalid,
.awdal-m-select.is-invalid { border-color: #dc2626 !important; box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15); }
.awdal-m-upload.is-invalid { outline: 2px solid rgba(220, 38, 38, 0.35); outline-offset: 2px; border-radius: 12px; }
.awdal-m-check.is-invalid { color: #b91c1c; }
.awdal-m-field-error { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #b91c1c; }

.awdal-m-register { min-height: 100vh; padding: 48px 24px 72px; background: #FAFAFC; }
.awdal-m-register__inner { max-width: 920px; margin: 0 auto; }
.awdal-m-register__header { text-align: center; margin-bottom: 36px; }
.awdal-m-register__heading {
    margin: 16px 0 8px; font-family: var(--font-kufi); font-size: 30px; font-weight: 700;
    color: #111827; line-height: 1.4;
}
.awdal-m-register__subheading { margin: 0; font-size: 13px; color: #9CA3AF; line-height: 1.8; }
.awdal-m-card {
    background: #fff; border-radius: 24px;
    box-shadow: 0 8px 30px rgba(17, 17, 17, 0.04);
    padding: 28px 28px 8px; margin-bottom: 20px;
}
.awdal-m-card--submit { padding: 28px; }
.awdal-m-card__title {
    display: flex; align-items: center; justify-content: flex-start; gap: 8px;
    margin: 0 0 22px; font-family: var(--font-kufi); font-size: 16px; font-weight: 700; color: #111827;
}
.awdal-m-card__title i { color: #9CA3AF; font-size: 18px; }
.awdal-m-account-type {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px;
}
.awdal-m-account-type__option { cursor: pointer; margin: 0; }
.awdal-m-account-type__option input { position: absolute; opacity: 0; pointer-events: none; }
.awdal-m-account-type__box {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    height: 100%; padding: 18px; border-radius: 18px; background: #F7F5FB;
    border: 2px solid transparent; transition: border-color 0.2s, background 0.2s;
}
.awdal-m-account-type__box i { font-size: 22px; color: #6B7280; }
.awdal-m-account-type__box strong { font-family: var(--font-kufi); font-size: 14px; color: #111827; }
.awdal-m-account-type__box small { font-size: 11px; color: #9CA3AF; line-height: 1.6; }
.awdal-m-account-type__option input:checked + .awdal-m-account-type__box {
    border-color: var(--awdal-primary); background: var(--awdal-primary-light, #E8F5EE);
}
.awdal-m-account-type__option input:checked + .awdal-m-account-type__box i { color: var(--awdal-primary); }
.awdal-m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 20px; }
.awdal-m-grid .awdal-m-field { margin-bottom: 0; }
.awdal-m-social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.awdal-m-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.awdal-m-uploads--register-docs { align-items: stretch; }
.awdal-m-upload {
    display: flex; flex-direction: column; gap: 10px;
    padding: 18px; border-radius: 18px; background: #F7F5FB;
    min-height: 132px;
}
.awdal-m-uploads--register-docs .awdal-m-upload { height: 100%; }
.awdal-m-upload__picker {
    display: flex; flex-direction: column; gap: 14px; cursor: pointer;
    flex: 1; justify-content: space-between; min-height: 96px;
}
.awdal-m-upload__head { display: flex; align-items: flex-start; gap: 10px; }
.awdal-m-upload__head i { font-size: 20px; color: #6B7280; margin-top: 2px; }
.awdal-m-upload__head strong { display: block; font-size: 13px; color: #111827; margin-bottom: 4px; }
.awdal-m-upload__head small { display: block; font-size: 11px; color: #9CA3AF; }
.awdal-m-upload__btn {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 16px; border-radius: 999px;
    background: #EFEAF6; color: #6B7280; font-size: 12px; font-weight: 600;
}
.awdal-m-upload__name { font-size: 12px; color: var(--awdal-primary); min-height: 16px; }
.awdal-m-upload.is-filled .awdal-m-upload__btn { background: var(--awdal-primary-light); color: var(--awdal-primary); }
.awdal-m-upload__status { display: block; margin-top: 4px; color: #D97706; font-weight: 600; }
.awdal-m-upload__current {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--awdal-primary);
}

/* Client auth pages: navbar + split form + footer (same chrome as the rest of the site) */
.awdal-page--auth {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #fff;
}
.awdal-page--auth .awdal-nav,
.awdal-page--auth .awdal-footer {
    flex-shrink: 0;
}
.awdal-page--auth .awdal-m-login {
    flex: 1 1 auto;
    min-height: 0;
}
.awdal-page--auth .awdal-m-login__visual,
.awdal-page--auth .awdal-m-login__form {
    min-height: 0;
}
.awdal-page--auth .awdal-otp__phone {
    margin-bottom: 24px;
    text-align: right;
}
.awdal-page--auth .awdal-otp__timer-wrap {
    margin-top: 20px;
}

@media (max-width: 991px) {
    .awdal-m-login { flex-direction: column; }
    .awdal-m-login__visual { min-height: 280px; flex: none; }
    .awdal-m-login__panel-card { width: min(360px, calc(100% - 32px)); padding: 28px 22px; }
    .awdal-m-login__form { padding: 36px 20px 56px; }
    .awdal-page--auth .awdal-m-login__visual { min-height: 280px; }
}
@media (max-width: 768px) {
    .awdal-m-row { grid-template-columns: 1fr; gap: 18px; }
    .awdal-m-grid, .awdal-m-uploads, .awdal-m-social { grid-template-columns: 1fr; }
    .awdal-m-register__heading { font-size: 24px; }
    .awdal-m-card { padding: 22px 18px 8px; }
    .awdal-m-card--submit { padding: 22px 18px; }
}

@media (min-width: 992px) {
    .awdal-auth__panel { display: block; }
    .awdal-auth__form { flex: 0 0 50%; max-width: 50%; }
    .awdal-auth__panel { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 991px) {
    .awdal-auth { flex-direction: column; }
    .awdal-auth__form { padding: 32px 20px 48px; }
}

/* Auth breadcrumb */
.awdal-auth-breadcrumb {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 32px;
    background: var(--awdal-surface);
    border-bottom: 1px solid var(--awdal-border);
}
.awdal-auth-breadcrumb__back {
    width: 32px; height: 32px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--awdal-muted); text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.awdal-auth-breadcrumb__back:hover { background: rgba(27, 122, 74, 0.08); color: var(--awdal-primary); }
.awdal-auth-breadcrumb__text { font-size: 13px; color: var(--awdal-muted); font-weight: 600; }

/* OTP page */
.awdal-otp-page {
    display: flex;
    justify-content: center;
    min-height: calc(100vh - var(--awdal-nav-h));
    background: var(--awdal-white);
}
.awdal-otp {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 48px 24px 96px;
    text-align: center;
}
.awdal-otp__crumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 56px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #F4F1F8;
    color: #9CA3AF;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}
.awdal-otp__crumb a {
    color: #9CA3AF;
    text-decoration: none;
}
.awdal-otp__crumb a:hover { color: var(--awdal-primary); }
.awdal-otp__crumb span:last-child { color: #6B7280; }
.awdal-otp__crumb-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--awdal-primary);
}
.awdal-otp__crumb-home i {
    font-size: 16px;
    color: var(--awdal-primary);
}
.awdal-otp__crumb-sep { color: #C4B8D4; }
.awdal-otp__icon-wrap {
    width: 88px; height: 88px; margin: 0 auto 24px;
    border-radius: 50%;
    background: #F4F6F5;
    display: flex; align-items: center; justify-content: center;
}
.awdal-otp__icon-default {
    font-size: 30px; color: #9CA3AF; line-height: 1;
}
.awdal-otp__icon-img { width: 36px; height: 36px; object-fit: contain; }
.awdal-otp__title {
    font-family: var(--font-kufi); font-size: 28px; font-weight: 700;
    color: #111827; margin: 0 0 10px; line-height: 1.4;
}
.awdal-otp__desc {
    font-size: 14px; color: #9CA3AF; margin: 0 0 6px; line-height: 1.8;
}
.awdal-otp__phone {
    font-size: 16px; font-weight: 700; color: #111827;
    margin: 0 0 28px; letter-spacing: 0.4px;
}
.awdal-otp__inputs {
    display: flex; gap: 10px; justify-content: center; margin-bottom: 20px;
}
.awdal-otp__digit {
    width: 52px; height: 56px;
    border: 0;
    border-radius: 14px;
    background: #F4F1F8;
    text-align: center; font-size: 22px; font-family: var(--font-mono);
    color: #111827;
    transition: box-shadow 0.2s, background 0.2s;
}
.awdal-otp__digit:focus {
    outline: none;
    background: #F7F5FB;
    box-shadow: 0 0 0 2px rgba(27, 122, 74, 0.18);
}
.awdal-otp__submit { margin-bottom: 20px; }
.awdal-otp .awdal-m-btn { margin-bottom: 20px; }
.awdal-otp__timer-wrap {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 13px; color: #9CA3AF; margin-bottom: 20px; min-height: 24px;
}
.awdal-otp__timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.awdal-otp__timer-wrap i { font-size: 16px; color: #9CA3AF; }
.awdal-otp__timer[hidden],
.awdal-otp__resend[hidden] {
    display: none !important;
}
.awdal-otp__resend {
    background: none; border: none; padding: 0;
    color: var(--awdal-primary); font-weight: 700; font-size: 13px;
    cursor: pointer; font-family: inherit;
}
.awdal-otp__resend:hover { text-decoration: underline; }
.awdal-otp__resend:disabled { opacity: 0.55; cursor: not-allowed; }
.awdal-otp__help {
    font-size: 13px; color: #9CA3AF; margin: 0; line-height: 1.8;
}
.awdal-otp__help a {
    color: var(--awdal-primary); font-weight: 700; text-decoration: none;
}
.awdal-otp__help a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .awdal-otp { padding: 32px 16px 72px; }
    .awdal-otp__crumb { margin-bottom: 36px; padding: 8px 14px; font-size: 12px; }
    .awdal-otp__inputs { gap: 8px; }
    .awdal-otp__digit { width: 44px; height: 52px; font-size: 20px; }
    .awdal-auth-breadcrumb { padding: 12px 16px; }
}

/* Grid */
.awdal-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.awdal-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.awdal-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

@media (max-width: 1024px) {
    .awdal-grid-4, .awdal-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .awdal-nav__links { display: none; }
    .awdal-dash-kpis { grid-template-columns: repeat(2, 1fr); }
    .awdal-dash-split { grid-template-columns: 1fr; }
}
.d-none { display: none !important; }
[data-user-menu].is-open { display: block !important; }

@media (max-width: 768px) {
    .awdal-grid-4, .awdal-grid-3, .awdal-grid-2 { grid-template-columns: 1fr; }
    .awdal-sidebar-toggle { display: inline-flex; }
    .awdal-merchant__sidebar {
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }
    .awdal-merchant__sidebar.is-open { transform: translateX(0); }
    .awdal-merchant__main { margin-right: 0; }
    .awdal-merchant__header { padding: 0 16px; }
    .awdal-merchant__search { display: none; max-width: none; margin: 0; }
    .awdal-merchant__header.is-search-open .awdal-merchant__header-start,
    .awdal-merchant__header.is-search-open .awdal-merchant__header-actions { display: none; }
    .awdal-merchant__header.is-search-open .awdal-merchant__search { display: block; flex: 1; }
    .awdal-merchant__header.is-search-open .awdal-merchant__search-close { display: inline-flex; }
    .awdal-merchant__search-toggle { display: inline-flex; }
    .awdal-merchant__user-name { display: none; }
    .awdal-merchant__content { padding: 20px 16px 32px; }
    .awdal-dash-kpis { grid-template-columns: 1fr; }
    .awdal-dash-kpi { min-height: 0; }
    .awdal-dash-chart { height: 220px; }
    .awdal-camp-toolbar__search { min-width: 100%; }
    .awdal-camp-toolbar__select { flex: 1; }
    .awdal-pkg-grid { grid-template-columns: 1fr; }
    .awdal-wizard__label { font-size: 11px; }
    .awdal-wizard-footer .awdal-btn { flex: 1; }
    .awdal-h1 { font-size: 32px; }
}

/* =========================================================
   Home page — Figma sync ([Customer] 01.01 — Landing Page)
   ========================================================= */

/* Navbar (Figma) */
.awdal-nav__search {
    display: flex; align-items: center; gap: 8px;
    height: 44px; min-width: 220px; padding: 0 18px; border-radius: 999px;
    background: var(--awdal-surface); border: 1px solid var(--awdal-border);
    color: var(--awdal-muted); font-size: 13px;
    transition: border-color 0.2s, background 0.2s;
}
.awdal-nav__search:hover,
.awdal-nav__search:focus-within { border-color: rgba(27, 122, 74, 0.25); background: #fff; color: var(--awdal-text); }
.awdal-nav__search i { font-size: 16px; color: var(--awdal-primary); flex-shrink: 0; }
.awdal-nav__search input {
    flex: 1; min-width: 0; height: 100%; border: none; outline: none;
    background: transparent; color: var(--awdal-dark); font-family: inherit; font-size: 13px;
}
.awdal-nav__search input::placeholder { color: var(--awdal-muted); }
.awdal-nav__search input::-webkit-search-cancel-button { appearance: none; }
.awdal-nav__icons { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.awdal-nav__icon-search { display: none; }
.awdal-nav__login-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 999px; flex-shrink: 0;
    background: var(--awdal-primary); color: #fff; text-decoration: none;
    font-family: var(--font-kufi); font-size: 14px; font-weight: 700;
    transition: background 0.2s;
}
.awdal-nav__login-btn i { font-size: 18px; line-height: 1; }
.awdal-nav__login-btn:hover { background: var(--awdal-primary-hover); color: #fff; }
.awdal-nav__pills { display: flex; align-items: center; gap: 4px; }
.awdal-nav__pill {
    display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
    border-radius: 999px; font-family: var(--font-kufi); font-size: 14px; font-weight: 700;
    color: var(--awdal-text); text-decoration: none; transition: background 0.2s;
}
.awdal-nav__pill:hover { background: var(--awdal-primary-light); color: var(--awdal-primary); }

/* Mobile / tablet nav menu */
.awdal-nav__compact {
    display: none;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.awdal-nav__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--awdal-dark);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.awdal-nav__menu-toggle:hover { background: rgba(0, 0, 0, 0.04); }
.awdal-nav__compact-search {
    background: transparent;
    color: var(--awdal-dark);
}
.awdal-nav__compact-search:hover { background: rgba(0, 0, 0, 0.04); color: var(--awdal-dark); }
.awdal-nav__menu-icon {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.awdal-nav__menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.awdal-nav.is-menu-open .awdal-nav__menu-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.awdal-nav.is-menu-open .awdal-nav__menu-icon span:nth-child(2) { opacity: 0; }
.awdal-nav.is-menu-open .awdal-nav__menu-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.awdal-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
}
.awdal-nav-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}
.awdal-nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.awdal-nav-drawer.is-open .awdal-nav-drawer__backdrop { opacity: 1; }
.awdal-nav-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: min(320px, 88vw);
    max-width: 100%;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 16px 20px 28px;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
}
.awdal-nav-drawer:not(.is-open) .awdal-nav-drawer__panel {
    visibility: hidden;
    pointer-events: none;
}
.awdal-nav-drawer.is-open .awdal-nav-drawer__panel {
    transform: translateX(0);
    visibility: visible;
}
.awdal-nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.awdal-nav-drawer__title {
    font-family: var(--font-kufi);
    font-size: 18px;
    font-weight: 700;
    color: var(--awdal-dark);
}
.awdal-nav-drawer__search {
    display: none;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 16px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--awdal-surface);
    border: 1px solid var(--awdal-border);
}
.awdal-nav-drawer__search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
}
.awdal-nav-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.awdal-nav-drawer__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--awdal-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.awdal-nav-drawer__link:hover,
.awdal-nav-drawer__link:focus-visible {
    background: var(--awdal-primary-light);
    color: var(--awdal-primary);
}
.awdal-nav-drawer__link--primary {
    background: var(--awdal-primary);
    color: #fff;
    justify-content: center;
    margin-top: 8px;
}
.awdal-nav-drawer__link--primary:hover { background: var(--awdal-primary-hover); color: #fff; }
body.awdal-nav-open {
    overflow: hidden;
    touch-action: none;
}
body.awdal-nav-open .awdal-nav {
    padding-inline-end: var(--awdal-scrollbar-compensation, 0);
}

@media (max-width: 1024px) {
    .awdal-nav { --awdal-nav-h: 64px; }
    .awdal-footer__grid { grid-template-columns: 1fr 1fr; }
    .awdal-footer__brand { grid-column: 1 / -1; max-width: none; }

    .awdal-nav__pills { display: none; }
    .awdal-nav__actions { display: none; }
    .awdal-nav__compact { display: inline-flex; }

    .awdal-nav__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 0 16px;
    }
    [dir="ltr"] .awdal-nav__inner { flex-direction: row-reverse; }
    .awdal-nav__brand { max-width: min(50vw, 200px); flex-shrink: 0; }
    .awdal-nav__compact { flex-shrink: 0; }

    .awdal-brand-logo--nav {
        height: 40px;
        max-height: 40px;
        max-width: 100%;
        object-position: center;
    }
    .awdal-nav-drawer__search { display: flex; }
}

@media (max-width: 768px) {
    .awdal-brand-logo--footer { height: 72px; max-height: 72px; max-width: 100%; }
    .awdal-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .awdal-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Hero — visual left, text right */
.awdal-hero { position: relative; overflow: hidden; padding: 72px 0 48px; background: #fff; }
.awdal-hero__inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px 72px;
}
.awdal-hero__device {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    display: flex;
    justify-content: flex-start;
    min-width: 0;
}
.awdal-hero__content {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    text-align: left;
}
[dir="rtl"] .awdal-hero__content {
    text-align: right;
}
.awdal-hero__title {
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.28;
    letter-spacing: -0.5px;
    color: #0f172a;
    font-weight: 800;
    margin: 0;
}
.awdal-hero__desc {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.85;
    color: #64748b;
    max-width: 480px;
}
[dir="rtl"] .awdal-hero__desc {
    margin-inline-start: auto;
    margin-inline-end: 0;
}
.awdal-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}
[dir="rtl"] .awdal-hero__actions {
    justify-content: flex-start;
}
.awdal-hero__btn-how {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.awdal-hero__btn-how i { font-size: 1.15em; line-height: 1; }
.awdal-hero__device-glow {
    position: absolute; width: 70%; height: 70%; border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 176, 230, 0.42) 0%, rgba(196, 176, 230, 0) 70%);
    filter: blur(12px); top: 12%; z-index: 0; pointer-events: none;
    left: 4%; right: auto;
}
.awdal-hero__visual-card {
    position: relative; z-index: 1;
    display: block;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 16 / 11;
    border-radius: 28px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14), 0 8px 24px rgba(15, 23, 42, 0.08);
    text-decoration: none;
}
.awdal-hero__visual-card::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}
.awdal-hero__visual-card img,
.awdal-hero__media-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.awdal-hero__media-fallback {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.55) 100%),
        linear-gradient(135deg, #f59e0b 0%, #7c3aed 42%, #1e293b 100%);
}
.awdal-hero__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 999px; background: rgba(255,255,255,0.95);
    display: flex; align-items: center; justify-content: center; z-index: 3;
    color: #111; font-size: 26px; box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.awdal-hero__media-info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 22px 24px;
    text-align: right;
    z-index: 2;
}
[dir="ltr"] .awdal-hero__media-info { text-align: left; }
.awdal-hero__media-badge {
    display: inline-flex; align-items: center; height: 26px; padding: 0 12px; margin-bottom: 8px;
    border-radius: 999px; background: var(--awdal-primary); color: #fff;
    font-family: var(--font-kufi); font-size: 11px; font-weight: 700;
}
.awdal-hero__media-title { margin: 0; color: #fff; font-family: var(--font-kufi); font-size: 20px; font-weight: 700; }

/* Category strip */
.awdal-home-cats { padding: 8px 0 28px; background: #fff; overflow-x: clip; max-width: 100%; }
.awdal-home-section,
.awdal-home-values,
.awdal-home-cta,
.awdal-hero { max-width: 100%; overflow-x: clip; }
.awdal-home-cats__row { display: flex; align-items: center; gap: 20px; }
.awdal-home-cats__title {
    margin: 0; font-family: var(--font-kufi); font-size: 18px; font-weight: 700;
    color: var(--awdal-dark); white-space: nowrap;
}
.awdal-home-cats__list {
    flex: 1; display: flex; align-items: center; justify-content: space-evenly;
    gap: 12px; min-width: 0; overflow-x: auto; padding: 8px 0;
    scrollbar-width: none;
}
.awdal-home-cats__list::-webkit-scrollbar { display: none; }
.awdal-home-cats__all {
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    color: var(--awdal-primary); font-size: 13px; font-weight: 700; text-decoration: none;
}
.awdal-home-cats__all:hover { color: var(--awdal-primary-hover); }
.awdal-cat-tab {
    flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px;
    min-width: 72px; background: none; border: none; cursor: pointer; text-decoration: none;
}
.awdal-cat-tab__icon {
    width: 56px; height: 56px; border-radius: 999px; background: #fff;
    box-shadow: 0 4px 14px rgba(26, 26, 46, 0.08);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.awdal-cat-tab__label { font-size: 12px; font-weight: 500; color: var(--awdal-dark); text-align: center; }
.awdal-home-section { padding: 40px 0 48px; }
.awdal-home-values { padding: 28px 0 40px; }
.awdal-home-cta { padding: 24px 0 56px; }

/* Featured / new campaign cards */
.awdal-campaign-card-wrap { height: 100%; }
.awdal-campaign-card { height: 100%; display: flex; flex-direction: column; }
.awdal-campaign-card__img .awdal-favorite-form { display: contents; margin: 0; }
.awdal-campaign-card__save {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    width: 44px; height: 44px; padding: 0;
    border-radius: 50%; border: none; cursor: pointer;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: #1A1A2E;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.15s ease, color 0.15s ease;
}
.awdal-campaign-card__save i {
    font-size: 18px; line-height: 1;
    -webkit-text-stroke: 0.35px currentColor;
}
.awdal-campaign-card__save:hover { background: #F7F7F8; }
.awdal-campaign-card__save.is-active {
    background: #fff;
    color: var(--awdal-error);
}
.awdal-campaign-card__save.is-active i { -webkit-text-stroke: 0; }
.awdal-campaign-card__badge {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    display: inline-flex; align-items: center; height: 24.5px; padding: 0 12px;
    border-radius: 999px; background: var(--awdal-primary); color: #fff;
    font-family: var(--font-kufi); font-size: 11px; font-weight: 700;
}
.awdal-campaign-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.awdal-campaign-card__cat { font-size: 12px; color: var(--awdal-muted); }
.awdal-campaign-card__title { font-size: 17px; margin: 0; }
.awdal-campaign-card__desc {
    font-size: 12px; color: var(--awdal-muted); margin: 0; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.awdal-campaign-card .awdal-progress { margin-top: auto; }
.awdal-countdown { display: flex; align-items: flex-start; justify-content: center; gap: 3px; }
.awdal-countdown__box { display: flex; flex-direction: column; align-items: center; min-width: 22px; }
.awdal-countdown__num { font-size: 13px; font-weight: 700; color: var(--awdal-dark); font-family: var(--font-mono); line-height: 1.1; }
.awdal-countdown__label { font-size: 8px; color: var(--awdal-muted); margin-top: 2px; }
.awdal-countdown__sep { color: var(--awdal-muted); font-size: 11px; line-height: 1.1; padding-top: 1px; }
.awdal-campaign-card__stats { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.awdal-campaign-card__stats > div { text-align: center; }
.awdal-campaign-card__stats .amount { display: block; font-size: 15px; font-weight: 700; color: var(--awdal-dark); }
.awdal-campaign-card__stats .percent { display: block; font-size: 15px; font-weight: 700; color: var(--awdal-success); }
.awdal-campaign-card__stats small { display: block; font-size: 10px; color: var(--awdal-muted); margin-top: 2px; }
.awdal-campaign-card__ended {
    position: absolute; inset: 0; z-index: 3; background: rgba(0,0,0,0.55);
    display: flex; align-items: center; justify-content: center;
}
.awdal-campaign-card__ended span {
    color: #fff; font-family: var(--font-kufi); font-weight: 700; font-size: 14px;
    padding: 8px 20px; border: 1px solid rgba(255,255,255,0.5); border-radius: 999px;
}

/* Values (why awdal) cards */
.awdal-value-card {
    display: flex; align-items: center; gap: 14px; background: #fff;
    border-radius: 20px; padding: 22px 20px;
    box-shadow: 0 8px 28px rgba(26, 26, 46, 0.05);
}
.awdal-value-card__icon {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.awdal-value-card__title { margin: 0; font-family: var(--font-kufi); font-size: 15px; font-weight: 700; color: var(--awdal-dark); }
.awdal-value-card__desc { margin: 4px 0 0; font-size: 12px; color: var(--awdal-muted); line-height: 1.6; }

/* Success stories */
.awdal-story-card {
    position: relative; display: block; text-decoration: none; color: inherit;
    background: #fff; border-radius: 16px; overflow: visible;
    box-shadow: var(--shadow-card);
}
.awdal-story-card__media { position: relative; }
.awdal-story-card__img { aspect-ratio: 16/10; overflow: hidden; border-radius: 16px 16px 0 0; }
.awdal-story-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    filter: blur(16px); transform: scale(1.18);
}
.awdal-story-card__ended {
    position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
    z-index: 2; white-space: nowrap;
    display: inline-flex; align-items: center; height: 32px; padding: 0 16px;
    border-radius: 999px; background: var(--awdal-primary); color: #fff;
    font-family: var(--font-kufi); font-size: 12px; font-weight: 700;
    box-shadow: 0 6px 16px rgba(27, 122, 74, 0.28);
}
.awdal-story-card__body { padding: 28px 16px 16px; }
.awdal-story-card__title { font-size: 16px; margin: 0 0 6px; }
.awdal-story-card__desc {
    font-size: 12px; color: var(--awdal-muted); margin: 0 0 8px; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.awdal-story-card__creator {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--awdal-muted); margin: 0 0 12px;
}
.awdal-story-card__achieved { font-size: 13px; font-weight: 700; color: var(--awdal-warning); margin-bottom: 10px; }
.awdal-story-card__stats { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; color: var(--awdal-warning); }
.awdal-story-card__stats .amount { display: block; font-size: 18px; font-weight: 700; }
.awdal-story-card__stats .goal { color: var(--awdal-muted); font-size: 10px; margin-top: 2px; }
.awdal-story-card__backers { font-size: 11px; color: var(--awdal-warning); white-space: nowrap; }

/* Merchant CTA banner */
.awdal-merchant-cta {
    position: relative; overflow: hidden; border-radius: 24px; background: #fff;
    border: 1px solid #E8F7EC; box-shadow: 0 8px 40px rgba(107, 45, 139, 0.07);
    padding: 41px; display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.awdal-merchant-cta__blob-a { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #ECF7EA; filter: blur(60px); top: -120px; right: -100px; }
.awdal-merchant-cta__blob-b { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: var(--awdal-success); opacity: 0.15; filter: blur(50px); bottom: -80px; left: -60px; }
.awdal-merchant-cta__actions { position: relative; z-index: 1; display: flex; gap: 12px; }
.awdal-merchant-cta__content { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; flex: 1 1 420px; }
.awdal-merchant-cta__icon {
    flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; background: var(--awdal-primary);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px;
    box-shadow: 0 6px 20px rgba(107, 45, 139, 0.3);
}
.awdal-merchant-cta__title { font-size: 22px; margin: 0; }
.awdal-merchant-cta__desc { margin: 8px 0 0; font-size: 14px; color: #1A7F5A; max-width: 448px; }

@media (max-width: 991px) {
    .awdal-hero__inner { grid-template-columns: 1fr; gap: 36px; }
    .awdal-hero__content {
        grid-column: 1;
        grid-row: 1;
    }
    .awdal-hero__device {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
        width: 100%;
    }
    [dir="rtl"] .awdal-hero__desc { margin-inline-start: 0; }
    .awdal-home-cats__row { flex-wrap: wrap; }
    .awdal-home-cats__list { order: 3; flex: 1 1 100%; justify-content: flex-start; }
    .awdal-merchant-cta { padding: 28px; }
}
@media (max-width: 480px) {
    .awdal-hero__title { font-size: 36px; }
}

/* =========================================================
   Wallet page — user ([Customer] 08.01 — Wallet)
   ========================================================= */

.awdal-wallet {
    background: var(--awdal-bg);
    padding: 32px 0 72px;
    min-height: calc(100vh - var(--awdal-nav-h));
}
.awdal-wallet__container { max-width: 1040px; }

.awdal-wallet-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 24px; font-size: 13px; color: var(--awdal-muted);
}
.awdal-wallet-breadcrumb a { color: var(--awdal-muted); text-decoration: none; }
.awdal-wallet-breadcrumb a:hover { color: var(--awdal-primary); }
.awdal-wallet-breadcrumb i { font-size: 16px; }
.awdal-wallet-breadcrumb span { color: var(--awdal-dark); font-weight: 700; }

.awdal-wallet-balance {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin-bottom: 20px; padding: 28px 32px; min-height: 132px;
    border-radius: 24px; background: var(--awdal-primary); color: #fff;
}
.awdal-wallet-balance__badge {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px;
    background: rgba(255,255,255,0.16);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.awdal-wallet-balance__info { min-width: 0; }
.awdal-wallet-balance__label {
    margin: 0; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.82);
}
.awdal-wallet-balance__amount {
    margin: 8px 0 0; font-family: var(--font-kufi); font-size: 36px; font-weight: 700;
    line-height: 1.15; color: #fff; display: flex; align-items: baseline; gap: 8px;
}
.awdal-wallet-balance__currency { font-size: 18px; font-weight: 700; color: #fff; }
.awdal-wallet-balance__updated {
    margin: 10px 0 0; display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: rgba(255,255,255,0.78);
}
.awdal-wallet-balance__updated i { font-size: 15px; }

.awdal-wallet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.awdal-wallet-quick {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; padding: 22px 24px; background: #fff; border: none; cursor: pointer;
    border-radius: 24px; box-shadow: var(--shadow-card); text-align: start;
    transition: box-shadow 0.2s, transform 0.2s;
}
.awdal-wallet-quick:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-1px); }
.awdal-wallet-quick__text { display: flex; flex-direction: column; gap: 4px; }
.awdal-wallet-quick__text strong { font-family: var(--font-kufi); font-size: 16px; color: var(--awdal-dark); }
.awdal-wallet-quick__text small { font-size: 13px; color: var(--awdal-muted); }
.awdal-wallet-quick__icon {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.awdal-wallet-quick__icon--success { background: var(--awdal-primary-light); color: var(--awdal-primary); }
.awdal-wallet-quick__icon--warning { background: #FFF3E8; color: #E8873D; }

.awdal-wallet-tx-card {
    padding: 28px 28px 12px;
    border-radius: 24px;
}
.awdal-wallet-tx-card__head {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    margin-bottom: 8px;
}
.awdal-wallet-tabs {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 0; width: 100%;
    justify-content: flex-start; direction: rtl;
}
[dir="ltr"] .awdal-wallet-tx-card__head { align-items: flex-start; }
[dir="ltr"] .awdal-wallet-tabs { justify-content: flex-start; direction: ltr; }
.awdal-wallet-tabs .awdal-tab {
    padding: 8px 18px; background: var(--awdal-surface); color: var(--awdal-muted);
}
.awdal-wallet-tabs .awdal-tab.is-active {
    background: var(--awdal-dark); color: #fff;
}

.awdal-wallet-tx-list { display: flex; flex-direction: column; }
.awdal-wallet-tx {
    display: flex; align-items: center; gap: 16px; padding: 20px 4px;
    border-bottom: 1px solid var(--awdal-border);
}
.awdal-wallet-tx:last-child { border-bottom: none; }
.awdal-wallet-tx.d-none { display: none; }
.awdal-wallet-tx__icon {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.awdal-wallet-tx__icon--success { background: var(--awdal-primary-light); color: var(--awdal-primary); }
.awdal-wallet-tx__icon--info { background: #EFEAFB; color: #6B4FCB; }
.awdal-wallet-tx__icon--warning { background: #FFF3E8; color: #E8873D; }
.awdal-wallet-tx__icon--danger { background: #F4F2F7; color: var(--awdal-muted); }
.awdal-wallet-tx__body { flex: 1; min-width: 0; }
.awdal-wallet-tx__name {
    display: block; font-family: var(--font-kufi); font-size: 15px; font-weight: 700;
    color: var(--awdal-dark);
}
.awdal-wallet-tx__desc { margin: 4px 0 0; font-size: 13px; color: var(--awdal-muted); }
.awdal-wallet-tx__meta { margin: 4px 0 0; font-size: 12px; color: var(--awdal-muted-light); }
.awdal-wallet-tx__amount {
    flex: 0 0 auto; font-family: var(--font-kufi); font-size: 15px; font-weight: 700; white-space: nowrap;
}
.awdal-wallet-tx__amount--credit { color: var(--awdal-primary); }
.awdal-wallet-tx__amount--debit { color: var(--awdal-dark); }
.awdal-wallet-tx--link {
    text-decoration: none; color: inherit; transition: background 0.15s ease;
}
.awdal-wallet-tx--link:hover { background: #F8FAFC; }
.awdal-wallet-tx__side {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.awdal-wallet-tx__chevron { color: var(--awdal-muted); font-size: 18px; }
.awdal-wallet-tx__status { font-weight: 600; }
.awdal-wallet-tx__status--success { color: var(--awdal-primary); }
.awdal-wallet-tx__status--warning { color: var(--awdal-warning); }
.awdal-wallet-tx__status--danger { color: var(--awdal-error); }
.awdal-wallet-tx__status--muted { color: var(--awdal-muted); }

.awdal-wallet-withdrawal { padding: 24px 0 72px; }
.awdal-wallet-withdrawal__card { padding: 28px 32px; border-radius: 20px; }
.awdal-wallet-withdrawal__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.awdal-wallet-withdrawal__ref {
    display: inline-block; margin-bottom: 8px; font-family: var(--font-mono);
    font-size: 13px; color: var(--awdal-muted);
}
.awdal-wallet-withdrawal__title { margin: 0 0 8px; font-size: clamp(22px, 3vw, 28px); }
.awdal-wallet-withdrawal__meta { margin: 0 0 24px; }
.awdal-wallet-withdrawal__amount { font-size: 18px !important; font-weight: 800 !important; }
.awdal-wallet-withdrawal__notice {
    margin: 0 0 24px; padding: 16px 18px; border-radius: 12px; font-size: 14px; line-height: 1.7;
}
.awdal-wallet-withdrawal__notice strong { display: block; margin-bottom: 6px; }
.awdal-wallet-withdrawal__notice p { margin: 0; }
.awdal-wallet-withdrawal__notice--danger {
    background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B;
}
.awdal-wallet-withdrawal__proof { margin-bottom: 24px; }
.awdal-wallet-withdrawal__proof .awdal-h3 { margin: 0 0 12px; font-size: 16px; }
.awdal-wallet-withdrawal__footer { padding-top: 8px; }

[dir="ltr"] .awdal-wallet-balance__amount,
[dir="ltr"] .awdal-wallet-balance__updated { justify-content: flex-start; }

@media (max-width: 768px) {
    .awdal-wallet { padding: 24px 0 56px; }
    .awdal-wallet-actions { grid-template-columns: 1fr; }
    .awdal-wallet-balance { padding: 24px 20px; min-height: 0; }
    .awdal-wallet-balance__amount { font-size: 28px; }
    .awdal-wallet-tx-card { padding: 20px 16px 8px; }
    .awdal-wallet-tx-card__head { align-items: flex-start; gap: 12px; }
}

/* =========================================================
   User profile page
   ========================================================= */
.awdal-profile {
    background: var(--awdal-bg);
    padding: 32px 0 64px;
    min-height: calc(100vh - var(--awdal-nav-h));
}
.awdal-profile__container { max-width: 960px; }

.awdal-profile-header {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.awdal-profile-header__avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.awdal-profile-header__avatar {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: var(--awdal-surface);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.awdal-profile-header__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.awdal-profile-header__avatar > i {
    font-size: 40px;
    color: var(--awdal-muted-light);
}
.awdal-profile-header__verified {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--awdal-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid #fff;
}
.awdal-profile-header__info { flex: 1; min-width: 220px; }
.awdal-profile-header__name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.awdal-profile-header__name {
    margin: 0;
    font-family: var(--font-kufi);
    font-size: 22px;
    font-weight: 700;
    color: var(--awdal-dark);
}
.awdal-profile-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-kufi);
}
.awdal-profile-header__badge--verified {
    background: var(--awdal-primary-light);
    color: var(--awdal-primary);
}
.awdal-profile-header__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}
.awdal-profile-header__contacts span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--awdal-muted);
}
.awdal-profile-header__contacts i { font-size: 15px; color: var(--awdal-muted-light); }
.awdal-profile-header__joined {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--awdal-muted-light);
}
.awdal-profile-header__joined i { font-size: 14px; }

.awdal-profile-header__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    margin-right: auto;
}
.awdal-profile-header__stats {
    display: flex;
    gap: 28px;
}
.awdal-profile-header__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.awdal-profile-header__stat-value {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 700;
    color: var(--awdal-dark);
    line-height: 1;
}
.awdal-profile-header__stat-label {
    font-size: 12px;
    color: var(--awdal-muted);
}
.awdal-profile-header__edit {
    background: var(--awdal-dark);
    color: #fff;
    padding: 12px 24px;
    font-size: 13px;
    border-radius: var(--awdal-radius);
}
.awdal-profile-header__edit:hover {
    background: #2a2a42;
    box-shadow: 0 8px 24px rgba(26, 26, 46, 0.25);
    transform: translateY(-1px);
}

.awdal-profile__section-title {
    font-family: var(--font-kufi);
    font-size: 16px;
    font-weight: 700;
    color: var(--awdal-dark);
    margin: 0 0 16px;
}

.awdal-profile-quick {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}
.awdal-profile-quick__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}
.awdal-profile-quick__item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.awdal-profile-quick__icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.awdal-profile-quick__icon--rose   { background: #FEE2E2; color: #EF4444; }
.awdal-profile-quick__icon--purple { background: #EDE9FE; color: #7C3AED; }
.awdal-profile-quick__icon--amber  { background: #FEF3C7; color: #D97706; }
.awdal-profile-quick__icon--green  { background: #D1FAE5; color: #059669; }
.awdal-profile-quick__icon--blue   { background: #DBEAFE; color: #2563EB; }
.awdal-profile-quick__icon--yellow { background: #FEF9C3; color: #CA8A04; }
.awdal-profile-quick__icon--teal   { background: #CCFBF1; color: #0D9488; }
.awdal-profile-quick__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--awdal-dark);
    text-align: center;
    line-height: 1.4;
}

.awdal-profile-settings { overflow: hidden; margin-bottom: 20px; }
.awdal-profile-settings__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    text-decoration: none;
    color: var(--awdal-dark);
    border-bottom: 1px solid var(--awdal-border);
    transition: background 0.15s;
}
button.awdal-profile-settings__row {
    width: 100%;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
    text-align: inherit;
}
.awdal-profile-settings__row:hover { background: var(--awdal-bg); }
.awdal-profile-settings__row--last { border-bottom: none; }
.awdal-profile-settings__start {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}
.awdal-profile-settings__start i {
    font-size: 18px;
    color: var(--awdal-muted);
    width: 20px;
    text-align: center;
}
.awdal-profile-settings__end {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--awdal-muted);
}
.awdal-profile-settings__chevron {
    font-size: 18px;
    color: var(--awdal-muted-light);
}

.awdal-profile-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(232, 93, 78, 0.35);
    border-radius: var(--awdal-radius-lg);
    background: #fff;
    color: var(--awdal-error);
    font-family: var(--font-kufi);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.awdal-profile-logout:hover {
    background: #FEF2F2;
    border-color: var(--awdal-error);
}

@media (max-width: 1024px) {
    .awdal-profile-quick { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .awdal-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .awdal-profile-header__name-row { justify-content: center; }
    .awdal-profile-header__contacts { align-items: center; }
    .awdal-profile-header__side {
        align-items: center;
        margin-right: 0;
        width: 100%;
    }
    .awdal-profile-header__edit { width: 100%; }
    .awdal-profile-quick { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .awdal-profile-quick { grid-template-columns: repeat(2, 1fr); }
    .awdal-profile { padding-top: 20px; }
}

/* =========================================================
   Campaign detail — user show page
   ========================================================= */

.awdal-cdetail { padding: 28px 0 80px; background: #fff; }
.awdal-cdetail__crumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    margin-bottom: 28px; font-size: 13px; color: var(--awdal-muted);
}
.awdal-cdetail__crumb a { color: var(--awdal-muted); text-decoration: none; }
.awdal-cdetail__crumb a:hover { color: var(--awdal-primary); }
.awdal-cdetail__crumb span:last-child { color: var(--awdal-dark); font-weight: 600; }

.awdal-cdetail__hero {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
    align-items: start; margin-bottom: 64px;
}

.awdal-cdetail__stage {
    position: relative; border-radius: 24px; overflow: hidden;
    background: #0b0b12; aspect-ratio: 1 / 0.92;
}
.awdal-cdetail__stage img { width: 100%; height: 100%; object-fit: cover; display: block; background: #0b0b12; }
.awdal-cdetail__stage video { width: 100%; height: 100%; object-fit: contain; display: block; background: #0b0b12; }
.awdal-cdetail__thumb-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.35); color: #fff; font-size: 18px; pointer-events: none;
}
.awdal-cdetail__stage-actions {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    display: flex; align-items: center; gap: 8px;
}
.awdal-cdetail__stage-actions .awdal-favorite-form { margin: 0; display: contents; }
.awdal-cdetail__icon-btn {
    width: 40px; height: 40px; border-radius: 999px; border: none;
    background: #fff; color: var(--awdal-dark); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: transform 0.15s, background 0.15s;
}
.awdal-cdetail__icon-btn:hover { transform: translateY(-1px); }
.awdal-cdetail__icon-btn.awdal-campaign-card__save {
    position: static; top: auto; left: auto; background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.awdal-cdetail__icon-btn.awdal-campaign-card__save.is-active { color: var(--awdal-error); background: #fff; }
.awdal-cdetail__counter {
    position: absolute; left: 16px; bottom: 16px;
    background: rgba(0,0,0,0.72); color: #fff; border-radius: 999px;
    padding: 4px 10px; font-size: 12px; font-weight: 600;
}

.awdal-cdetail__thumbs {
    display: flex; justify-content: center; gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.awdal-cdetail__thumb {
    position: relative; width: 64px; height: 64px; padding: 0; border: 2px solid transparent;
    border-radius: 14px; overflow: hidden; background: #111; cursor: pointer;
}
.awdal-cdetail__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-cdetail__thumb.is-active { border-color: var(--awdal-primary); }

.awdal-cdetail__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.awdal-cdetail__pill {
    display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
    border-radius: 999px; background: #F4F2F7; color: var(--awdal-dark);
    font-size: 12px; font-weight: 600; text-decoration: none;
}
.awdal-cdetail__title {
    font-family: var(--font-kufi); font-size: 36px; font-weight: 700;
    line-height: 1.25; color: var(--awdal-dark); margin: 0 0 12px;
}
.awdal-cdetail__lead {
    margin: 0 0 16px; font-size: 15px; line-height: 1.8; color: var(--awdal-muted); max-width: 520px;
}
.awdal-cdetail__maker {
    display: flex; align-items: center; gap: 6px; margin-bottom: 14px;
    font-size: 14px; font-weight: 600; color: var(--awdal-dark);
}
.awdal-cdetail__maker i { color: #2563EB; font-size: 16px; }
.awdal-cdetail__social {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
    margin-bottom: 28px; font-size: 13px; color: var(--awdal-muted);
}
.awdal-cdetail__social i { color: var(--awdal-dark); margin-left: 4px; }
.awdal-cdetail__social .ri-star-fill { color: #F5B301; }
.awdal-cdetail__social small { color: var(--awdal-muted); }

.awdal-cdetail__funding {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    margin-bottom: 12px;
}
.awdal-cdetail__funding strong {
    display: block; font-family: var(--font-kufi); font-size: 32px; font-weight: 700; color: var(--awdal-dark);
}
.awdal-cdetail__funding small { display: block; margin-top: 4px; font-size: 13px; color: var(--awdal-muted); }
.awdal-cdetail__percent { font-family: var(--font-kufi); font-size: 28px; font-weight: 700; color: var(--awdal-primary); }
.awdal-cdetail__bar { height: 8px; background: #E8F5EE; }
.awdal-cdetail__bar-caption { margin: 10px 0 0; font-size: 13px; color: var(--awdal-muted); }
.awdal-cdetail__facts {
    display: flex; align-items: stretch; justify-content: space-between;
    margin-top: 24px; padding-top: 8px; gap: 12px;
}
.awdal-cdetail__facts > div {
    flex: 1; text-align: center; padding: 0 8px;
    border-left: 1px solid var(--awdal-border);
}
.awdal-cdetail__facts > div:last-child { border-left: none; }
.awdal-cdetail__facts strong { display: block; font-size: 18px; font-weight: 700; color: var(--awdal-dark); }
.awdal-cdetail__facts small { display: block; margin-top: 4px; font-size: 12px; color: var(--awdal-muted); }

.awdal-cdetail__section-title {
    font-family: var(--font-kufi); font-size: 22px; font-weight: 700;
    color: var(--awdal-dark); margin: 0 0 24px;
}
.awdal-cdetail__packages { margin-bottom: 72px; }
.awdal-cdetail__package-wrap { position: relative; min-width: 0; }
.awdal-cdetail__package-wrap .awdal-cdetail__package { width: 100%; }
.awdal-cdetail__package-fav {
    position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0;
}
.awdal-cdetail__package-fav-btn {
    width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--awdal-border);
    background: #fff; color: var(--awdal-muted); display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 18px; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.awdal-cdetail__package-fav-btn.is-active { color: var(--awdal-error); border-color: #FECACA; }
.awdal-favorite-package { position: relative; }
.awdal-favorite-package__link { display: block; text-decoration: none; color: inherit; }
.awdal-favorite-package__remove {
    position: absolute; top: 12px; left: 12px; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.awdal-cdetail__package-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 20px;
}
.awdal-cdetail__package {
    position: relative; text-align: right; background: #fff;
    border: 1px solid #EEEAF4; border-radius: 20px; padding: 24px 20px 20px;
    cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    font-family: var(--font-sans); appearance: none;
}
.awdal-cdetail__package:hover { border-color: #D9D2E8; }
.awdal-cdetail__package.is-selected {
    background: #F3FBF6; border-color: var(--awdal-primary);
    box-shadow: 0 0 0 1px var(--awdal-primary);
}
.awdal-cdetail__package-check {
    position: absolute; top: 16px; left: 16px; width: 22px; height: 22px;
    border-radius: 999px; border: 1.5px solid #D9D2E8; background: #fff;
    display: flex; align-items: center; justify-content: center; color: transparent; font-size: 13px;
}
.awdal-cdetail__package.is-selected .awdal-cdetail__package-check {
    background: var(--awdal-primary); border-color: var(--awdal-primary); color: #fff;
}
.awdal-cdetail__package-name {
    display: block; font-family: var(--font-kufi); font-size: 18px; margin-bottom: 10px; color: var(--awdal-dark);
}
.awdal-cdetail__package-price {
    display: block; font-family: var(--font-kufi); font-size: 26px; font-weight: 700;
    color: var(--awdal-dark); margin-bottom: 10px;
}
.awdal-cdetail__package-desc { display: block; font-size: 13px; color: var(--awdal-muted); line-height: 1.6; margin-bottom: 10px; }
.awdal-cdetail__package-ship {
    display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--awdal-muted);
}
.awdal-cdetail__package-limit { display: block; margin-top: 8px; font-size: 12px; color: #C2410C; }
.awdal-cdetail__cta {
    background: #fff; border: 1px solid #F0ECF6; border-radius: 20px; padding: 16px 16px 16px;
    box-shadow: 0 8px 30px rgba(26, 26, 46, 0.04);
}
.awdal-cdetail__ship-note {
    display: flex; align-items: center; justify-content: flex-end; gap: 6px;
    margin: 0 8px 12px; font-size: 13px; color: var(--awdal-muted);
}
.awdal-cdetail__cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.awdal-cdetail__cta-btn { width: 100%; justify-content: center; border-radius: 14px; min-height: 56px; }

.awdal-cdetail__story { margin-bottom: 64px; text-align: start; }
.awdal-cdetail__story-body { font-size: 15px; line-height: 2; color: var(--awdal-muted); text-align: start; }
.awdal-cdetail__story-body p { margin: 0 0 1em; }
.awdal-cdetail__story-body p:last-child { margin-bottom: 0; }

.awdal-cdetail__creator { margin-bottom: 72px; }
.awdal-cdetail__creator-media {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px;
}
.awdal-cdetail__creator-shot {
    border-radius: 20px; overflow: hidden; background: #0b0b12; aspect-ratio: 16 / 10;
}
.awdal-cdetail__creator-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-cdetail__creator-card {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: #fff; border: 1px solid #F0ECF6; border-radius: 20px;
    padding: 20px 24px; box-shadow: var(--shadow-card);
}
.awdal-cdetail__creator-main { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.awdal-cdetail__creator-logo {
    width: 56px; height: 56px; border-radius: 16px; overflow: hidden; flex: 0 0 56px;
    background: var(--awdal-dark); color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-kufi); font-size: 20px;
}
.awdal-cdetail__creator-logo img { width: 100%; height: 100%; object-fit: cover; }
.awdal-cdetail__creator-name {
    display: flex; align-items: center; gap: 6px; margin-bottom: 6px;
}
.awdal-cdetail__creator-name i { color: #2563EB; }
.awdal-cdetail__creator-name strong { font-family: var(--font-kufi); font-size: 16px; }
.awdal-cdetail__creator-main p { margin: 0 0 10px; font-size: 13px; line-height: 1.7; color: var(--awdal-muted); }
.awdal-cdetail__creator-meta {
    display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--awdal-muted);
}
.awdal-cdetail__creator-meta i { margin-left: 4px; }
.awdal-cdetail__creator-meta .ri-star-fill { color: #F5B301; }
.awdal-cdetail__creator-socials {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px;
}
.awdal-cdetail__creator-social {
    width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--awdal-border);
    color: var(--awdal-dark); display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px; text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.awdal-cdetail__creator-social:hover {
    background: var(--awdal-primary); border-color: var(--awdal-primary); color: #fff;
}

.awdal-cdetail__similar { margin-top: 16px; }

@media (max-width: 991px) {
    .awdal-cdetail__hero { grid-template-columns: 1fr; gap: 32px; }
    .awdal-cdetail__package-grid { grid-template-columns: 1fr; }
    .awdal-cdetail__title { font-size: 28px; }
    .awdal-cdetail__creator-media { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .awdal-cdetail {
        padding: 16px 0 48px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .awdal-cdetail .awdal-container,
    .awdal-cdetail__hero,
    .awdal-cdetail__gallery,
    .awdal-cdetail__info,
    .awdal-cdetail__story-body,
    .awdal-cdetail__creator-card {
        min-width: 0;
        max-width: 100%;
    }
    .awdal-cdetail__story-body { overflow-wrap: anywhere; word-break: break-word; }
    .awdal-cdetail .awdal-container { padding-inline: 16px; }
    .awdal-cdetail__crumb {
        margin-bottom: 16px;
        font-size: 12px;
        gap: 6px;
        max-height: 2.4em;
        overflow: hidden;
    }
    .awdal-cdetail__crumb > span:last-child,
    .awdal-cdetail__crumb > span:nth-last-child(2) {
        display: none;
    }
    .awdal-cdetail__hero { gap: 20px; margin-bottom: 28px; }
    .awdal-cdetail__stage { border-radius: 16px; aspect-ratio: 4 / 3; }
    .awdal-cdetail__thumbs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .awdal-cdetail__thumbs::-webkit-scrollbar { display: none; }
    .awdal-cdetail__thumb { flex: 0 0 56px; width: 56px; height: 56px; }
    .awdal-cdetail__title { font-size: 22px; }
    .awdal-cdetail__lead { font-size: 14px; max-width: none; }
    .awdal-cdetail__social { gap: 10px 14px; margin-bottom: 20px; }
    .awdal-cdetail__funding { gap: 10px; align-items: center; }
    .awdal-cdetail__funding strong { font-size: 22px; }
    .awdal-cdetail__percent { font-size: 20px; }
    .awdal-cdetail__facts {
        gap: 0;
        margin-top: 16px;
    }
    .awdal-cdetail__facts > div {
        padding: 0 6px;
        border-left: 1px solid var(--awdal-border);
        border-top: none;
    }
    .awdal-cdetail__facts > div:last-child { border-left: none; }
    .awdal-cdetail__facts strong { font-size: 16px; }
    .awdal-cdetail__facts small { font-size: 11px; }
    .awdal-cdetail__section-title { font-size: 18px; margin-bottom: 16px; }
    .awdal-cdetail__packages,
    .awdal-cdetail__story,
    .awdal-cdetail__creator { margin-bottom: 36px; }
    .awdal-cdetail__cta-row { grid-template-columns: 1fr; }
    .awdal-cdetail__creator-card { padding: 16px; }
    .awdal-cdetail__creator-main { gap: 12px; }
    .awdal-cdetail__creator-main > div:last-child { min-width: 0; flex: 1; }
    .awdal-cdetail__creator-meta { gap: 8px 12px; }
    [dir="rtl"] .awdal-cdetail .awdal-progress__bar { float: right; }
}

/* =========================================================
   Search page
   ========================================================= */

.awdal-search { padding: 32px 0 72px; }
.awdal-search__layout { display: flex; align-items: flex-start; gap: 32px; }
.awdal-search__filters {
    width: 280px; flex-shrink: 0; background: #fff;
    border: 1px solid #F0ECF6; border-radius: 20px; padding: 24px 20px;
    box-shadow: var(--shadow-card);
}
.awdal-search__filters-title {
    font-family: var(--font-kufi); font-size: 16px; font-weight: 700;
    color: var(--awdal-dark); margin: 0 0 20px;
}
.awdal-search__field { margin-bottom: 18px; }
.awdal-search__label {
    display: block; font-family: var(--font-kufi); font-size: 13px; font-weight: 600;
    color: var(--awdal-dark); margin-bottom: 8px;
}
.awdal-search__input, .awdal-search__select {
    width: 100%; height: 44px; padding: 0 14px;
    background: #F7F5FA; border: 1px solid transparent; border-radius: 12px;
    font-family: var(--font-sans); font-size: 13px; color: var(--awdal-dark); outline: none;
}
.awdal-search__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B7A9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; padding-left: 36px; }
.awdal-search__input:focus, .awdal-search__select:focus { background: #fff; border-color: var(--awdal-border); }
.awdal-search__input::placeholder { color: var(--awdal-muted-light); }
.awdal-price-slider { padding: 4px 2px 2px; }
.awdal-price-slider__values {
    display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px;
}
.awdal-price-slider__values span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.awdal-price-slider__values small { font-size: 11px; color: var(--awdal-muted); }
.awdal-price-slider__values strong {
    font-size: 13px; color: var(--awdal-dark);
    unicode-bidi: isolate; direction: ltr;
}
.awdal-price-slider__control { position: relative; height: 28px; }
.awdal-price-slider__track {
    position: absolute; left: 0; right: 0; top: 50%;
    height: 6px; margin-top: -3px;
    background: #EDE8F7; border-radius: 999px;
}
.awdal-price-slider__connect {
    position: absolute; top: 0; height: 100%;
    background: var(--awdal-primary); border-radius: 999px;
}
.awdal-price-slider__input {
    position: absolute; inset: 0; width: 100%; margin: 0; padding: 0;
    appearance: none; background: none; pointer-events: none;
}
.awdal-price-slider__input::-webkit-slider-runnable-track { height: 6px; background: transparent; border: none; }
.awdal-price-slider__input::-webkit-slider-thumb {
    pointer-events: auto; appearance: none;
    width: 18px; height: 18px; margin-top: -6px;
    border-radius: 50%; background: #fff;
    border: 2px solid var(--awdal-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); cursor: pointer;
}
.awdal-price-slider__input::-moz-range-track { height: 6px; background: transparent; border: none; }
.awdal-price-slider__input::-moz-range-thumb {
    pointer-events: auto;
    width: 18px; height: 18px;
    border-radius: 50%; background: #fff;
    border: 2px solid var(--awdal-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); cursor: pointer;
}
.awdal-search__checks { display: flex; flex-direction: column; gap: 10px; }
.awdal-search__check {
    display: flex; align-items: center; gap: 8px; font-size: 13px;
    color: var(--awdal-dark); cursor: pointer;
}
.awdal-search__check input { width: 16px; height: 16px; accent-color: var(--awdal-primary); }
.awdal-search__apply { width: 100%; border-radius: 12px; min-height: 46px; }
.awdal-search__clear {
    display: block; width: 100%; margin-top: 10px; padding: 8px;
    background: none; border: none; cursor: pointer;
    font-size: 13px; font-weight: 600; color: var(--awdal-muted);
}
.awdal-search__clear:hover { color: var(--awdal-primary); }

.awdal-search__main { flex: 1; min-width: 0; }
.awdal-search__toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 8px;
}
.awdal-search__title { font-family: var(--font-kufi); font-size: 20px; font-weight: 700; color: var(--awdal-dark); margin: 0; }
.awdal-search__tools { display: flex; align-items: center; gap: 8px; }
.awdal-search__tool {
    width: 40px; height: 40px; border: none; border-radius: 12px;
    background: #F4F2F7; color: var(--awdal-dark); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.awdal-search__tool:hover { background: #EBE7F2; }
.awdal-search__tool.is-active { background: var(--awdal-primary); color: #fff; }
.awdal-search__sort { position: relative; display: inline-flex; align-items: center; }
.awdal-search__sort select {
    height: 40px; padding: 0 14px 0 32px; border: none; border-radius: 12px;
    background: #F4F2F7; color: var(--awdal-dark); font-size: 13px; font-weight: 600;
    appearance: none; cursor: pointer; min-width: 44px;
}
.awdal-search__sort i {
    position: absolute; left: 10px; pointer-events: none; font-size: 16px; color: var(--awdal-muted);
}

.awdal-search__tabs { gap: 8px; margin-bottom: 20px; }
.awdal-search__tab {
    background: none; padding: 4px 8px; font-size: 14px; font-weight: 600;
}
.awdal-search__tab.is-active { background: none; color: var(--awdal-dark); }
.awdal-search__tab:not(.is-active) { color: var(--awdal-muted); }

.awdal-search__results.is-grid [data-search-campaigns],
.awdal-search__results.is-grid [data-search-products] {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.awdal-search__results.is-list [data-search-campaigns],
.awdal-search__results.is-list [data-search-products] {
    display: flex; flex-direction: column; gap: 16px;
}
.awdal-search__results.is-list .awdal-campaign-card {
    display: grid; grid-template-columns: 240px 1fr; align-items: stretch; height: auto;
}
.awdal-search__results.is-list .awdal-campaign-card__img { aspect-ratio: auto; min-height: 180px; }
.awdal-search__results.is-list .awdal-campaign-card__body { padding: 20px 24px; justify-content: center; }
.awdal-search__empty { grid-column: 1 / -1; }
.awdal-campaign-card__price { margin: 8px 0 0; font-weight: 700; color: var(--awdal-primary); }

.awdal-search__pager {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin-top: 8px;
}
.awdal-search__page {
    min-width: 36px; height: 36px; padding: 0 10px; border: none; border-radius: 10px;
    background: #F4F2F7; color: var(--awdal-dark); font-size: 13px; font-weight: 600; cursor: pointer;
}
.awdal-search__page.is-current { background: var(--awdal-primary); color: #fff; }
.awdal-search__page.is-disabled { opacity: 0.45; cursor: default; }
.awdal-search__results.is-loading { opacity: 0.55; pointer-events: none; }

@media (max-width: 1100px) {
    .awdal-search__results.is-grid [data-search-campaigns],
    .awdal-search__results.is-grid [data-search-products] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .awdal-search__layout { flex-direction: column; }
    .awdal-search__filters { width: 100%; }
}
@media (max-width: 640px) {
    .awdal-search__results.is-grid [data-search-campaigns],
    .awdal-search__results.is-grid [data-search-products] { grid-template-columns: 1fr; }
    .awdal-search__results.is-list .awdal-campaign-card { grid-template-columns: 1fr; }
    .awdal-search__toolbar { flex-direction: column; align-items: stretch; }
    .awdal-search__tools { justify-content: flex-end; }
}

/* =========================================================
   Shared profile sub-pages
   ========================================================= */
.awdal-page-breadcrumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-bottom: 24px; font-size: 13px; color: var(--awdal-muted);
}
.awdal-page-breadcrumb a { color: var(--awdal-muted); text-decoration: none; }
.awdal-page-breadcrumb a:hover { color: var(--awdal-primary); }
.awdal-page-breadcrumb span { color: var(--awdal-dark); font-weight: 600; }

.awdal-modal__dialog--lg { max-width: 640px; }
.awdal-modal__header, .awdal-modal__footer {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.awdal-modal__footer { margin-top: 20px; }

.awdal-chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.awdal-chip {
    display: flex; align-items: center; justify-content: center;
    padding: 12px; border-radius: 12px; border: 1px solid var(--awdal-border);
    background: var(--awdal-bg); cursor: pointer; font-size: 13px; font-weight: 600;
}
.awdal-chip:has(input:checked) { border-color: var(--awdal-primary); background: var(--awdal-primary-light); color: var(--awdal-primary); }

.awdal-upload-drop {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 20px; border: 1px dashed #CFC3E8; border-radius: 12px; cursor: pointer;
    color: var(--awdal-muted); font-size: 13px;
}

.awdal-btn--gold { background: #C5A04D; color: #fff; }
.awdal-btn--gold:hover { background: #B08E3F; }

/* Support */
.awdal-support { padding: 24px 0 64px; }
.awdal-support__head, .awdal-notify__head, .awdal-orders__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px;
}
.awdal-support-actions {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px;
}
.awdal-support-action {
    display: flex; align-items: center; gap: 14px; padding: 20px; text-decoration: none; color: inherit;
}
.awdal-support-action__icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.awdal-support-action__icon--green { background: #D1FAE5; color: #059669; }
.awdal-support-action__icon--blue { background: #DBEAFE; color: #2563EB; }
.awdal-support-action__icon--whatsapp { background: #DCFCE7; color: #16A34A; }
.awdal-support-action__icon--orange { background: #FFEDD5; color: #EA580C; }
.awdal-support-action__text { display: flex; flex-direction: column; gap: 4px; }
.awdal-support-action__text strong { font-size: 14px; }
.awdal-support-action__text small { font-size: 12px; color: var(--awdal-muted); }

.awdal-support-ticket {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px; margin-bottom: 12px; text-decoration: none; color: inherit;
}
.awdal-support-ticket__ref { font-family: var(--font-mono); font-size: 12px; color: var(--awdal-muted); }
.awdal-support-ticket__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.awdal-support-ticket__subject { margin: 0 0 4px; font-size: 15px; }
.awdal-support-ticket__chevron { color: var(--awdal-muted-light); }

.awdal-support-detail { padding: 24px; }
.awdal-support-detail__head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.awdal-support-reply { padding: 16px; border-radius: 12px; background: var(--awdal-bg); margin-top: 12px; }

/* Notifications */
.awdal-notify { padding: 24px 0 64px; }
.awdal-notify-tabs { margin-bottom: 20px; flex-wrap: wrap; }
.awdal-notify-tabs .awdal-tab { text-decoration: none; }
.awdal-notify-card {
    display: flex; align-items: flex-start; gap: 16px; padding: 20px; margin-bottom: 12px;
}
.awdal-notify-card__main {
    display: flex; align-items: flex-start; gap: 16px; flex: 1; min-width: 0;
    text-decoration: none; color: inherit;
}
.awdal-notify-card__main:hover .awdal-notify-card__action { color: var(--awdal-primary); }
.awdal-notify-card.is-unread { border-right: 3px solid var(--awdal-primary); }
.awdal-notify-card__icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.awdal-notify-card__icon--info { background: #DBEAFE; color: #2563EB; }
.awdal-notify-card__icon--purple { background: #EDE9FE; color: #7C3AED; }
.awdal-notify-card__icon--success { background: #D1FAE5; color: #059669; }
.awdal-notify-card__icon--warning { background: #FEF3C7; color: #D97706; }
.awdal-notify-card__icon--primary { background: var(--awdal-primary-light); color: var(--awdal-primary); }
.awdal-notify-card__body { flex: 1; min-width: 0; }
.awdal-notify-card__title { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.awdal-notify-card__meta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px;
}
.awdal-notify-card__action {
    display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--awdal-muted);
}
.awdal-notify-card__read { flex-shrink: 0; }
.awdal-notify-card__badge {
    padding: 2px 8px; border-radius: 999px; background: var(--awdal-primary-light); color: var(--awdal-primary); font-size: 11px;
}

/* Reviews */
.awdal-reviews { padding: 24px 0 64px; }
.awdal-reviews-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.awdal-reviews-stat { padding: 24px; text-align: center; }
.awdal-reviews-stat__label { display: block; font-size: 13px; color: var(--awdal-muted); margin-bottom: 8px; }
.awdal-reviews-stat__value { font-size: 32px; font-family: var(--font-kufi); }
.awdal-reviews-stat__stars { color: #F5B301; font-size: 16px; margin-right: 8px; }
.awdal-reviews__actions { margin-bottom: 24px; }
.awdal-review-card { display: flex; gap: 16px; padding: 24px; margin-bottom: 12px; }
.awdal-review-card__media img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.awdal-review-card__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.awdal-review-card__stars { color: #F5B301; margin-bottom: 8px; }
.awdal-review-pick-list { display: flex; flex-direction: column; gap: 10px; }
.awdal-review-pick {
    display: block; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--awdal-border); cursor: pointer;
}
.awdal-review-pick:has(input:checked) { border-color: var(--awdal-primary); background: var(--awdal-primary-light); }
.awdal-review-pick small { display: block; color: var(--awdal-muted); margin-top: 4px; }
.awdal-star-input { display: flex; gap: 6px; font-size: 28px; color: #E5E7EB; }
.awdal-star-input__btn { background: none; border: none; padding: 0; cursor: pointer; color: inherit; }
.awdal-star-input__btn.is-active, .awdal-star-input__btn.is-active ~ .awdal-star-input__btn { color: #F5B301; }

/* Orders */
.awdal-orders { padding: 24px 0 64px; }
.awdal-orders-tabs { flex-wrap: wrap; margin-bottom: 16px; }
.awdal-orders-tabs .awdal-tab { text-decoration: none; }
.awdal-orders-search {
    display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 48px;
    border: 1px solid var(--awdal-border); border-radius: 12px; margin-bottom: 24px; background: #fff;
}
.awdal-orders-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; }
.awdal-order-card { padding: 20px 24px; margin-bottom: 16px; }
.awdal-order-card__top { display: flex; justify-content: space-between; gap: 16px; }
.awdal-order-card__info { display: flex; gap: 16px; min-width: 0; }
.awdal-order-card__thumb { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.awdal-order-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.awdal-order-card__ref { padding: 4px 10px; border-radius: 999px; background: #F3E8FF; color: #7C3AED; font-size: 12px; font-family: var(--font-mono); }
.awdal-order-card__title { margin: 0 0 4px; font-size: 16px; }
.awdal-order-card__details { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--awdal-muted); }
.awdal-order-card__price { font-size: 20px; font-weight: 700; white-space: nowrap; }
.awdal-order-card__actions {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--awdal-border);
}
.awdal-order-detail-page { background: #F8FAFC; }
.awdal-order-detail__container { max-width: 1120px; }
.awdal-order-detail__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
    margin-bottom: 28px; flex-wrap: wrap;
}
.awdal-order-detail__title { margin: 0 0 12px; font-size: clamp(26px, 3vw, 32px); }
.awdal-order-detail__badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.awdal-order-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.awdal-order-detail__actions .awdal-btn--outline {
    background: #fff; border-color: var(--awdal-border); color: var(--awdal-dark);
}
.awdal-order-detail__grid {
    display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
    gap: 24px; align-items: start;
}
.awdal-order-detail__section { padding: 24px 28px; margin-bottom: 0; border: 1px solid var(--awdal-border); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.awdal-order-detail__main,
.awdal-order-detail__aside { display: flex; flex-direction: column; gap: 20px; }
.awdal-order-detail__section-title {
    margin: 0 0 20px; font-family: var(--font-kufi); font-size: 18px; font-weight: 700; color: var(--awdal-dark);
}
.awdal-order-timeline {
    display: flex; justify-content: space-between; gap: 8px; position: relative;
    padding: 4px 0 8px; min-height: 96px;
}
.awdal-order-timeline__track {
    position: absolute; top: 22px; right: 24px; left: 24px; height: 2px;
    background: var(--awdal-border); z-index: 0; pointer-events: none;
}
.awdal-order-timeline__track::after {
    content: ''; display: block; height: 100%; width: var(--awdal-order-progress, 0%);
    background: var(--awdal-primary); border-radius: 999px; transition: width 0.3s ease;
}
.awdal-order-timeline__step {
    position: relative; z-index: 1; flex: 1; min-width: 0; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--awdal-muted);
}
.awdal-order-timeline__step.is-done { color: var(--awdal-dark); }
.awdal-order-timeline__icon {
    width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--awdal-border);
    background: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.awdal-order-timeline__step.is-done .awdal-order-timeline__icon {
    border-color: var(--awdal-primary); background: var(--awdal-primary); color: #fff;
}
.awdal-order-timeline__step.is-next .awdal-order-timeline__icon {
    border-color: var(--awdal-primary); color: var(--awdal-primary); background: #fff;
}
.awdal-order-timeline__copy strong { display: block; font-size: 12px; line-height: 1.5; font-weight: 700; }
.awdal-order-timeline__copy small { display: block; margin-top: 4px; font-size: 11px; color: var(--awdal-muted); }
.awdal-order-products { display: flex; flex-direction: column; }
.awdal-order-product {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 0; border-bottom: 1px solid var(--awdal-border);
}
.awdal-order-product:last-child { border-bottom: none; padding-bottom: 0; }
.awdal-order-product:first-child { padding-top: 0; }
.awdal-order-product__info { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.awdal-order-product__img {
    width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
    background: var(--awdal-surface);
}
.awdal-order-product__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.awdal-order-product__name { font-size: 15px; font-weight: 700; color: var(--awdal-dark); }
.awdal-order-product__campaign { font-size: 13px; color: var(--awdal-muted); }
.awdal-order-product__qty { font-size: 12px; color: var(--awdal-muted); margin-top: 2px; }
.awdal-order-product__price { font-size: 16px; font-weight: 700; white-space: nowrap; }
.awdal-order-shipping-address {
    display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px;
    font-size: 14px; line-height: 1.7; color: var(--awdal-dark);
}
.awdal-order-shipping-address i { color: var(--awdal-primary); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.awdal-order-shipping-contact {
    display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 20px; font-size: 13px; color: var(--awdal-muted);
}
.awdal-order-meta-list { margin: 0; display: grid; gap: 12px; }
.awdal-order-meta-list div {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: 14px;
}
.awdal-order-meta-list dt { margin: 0; color: var(--awdal-muted); font-weight: 500; }
.awdal-order-meta-list dd { margin: 0; font-weight: 600; color: var(--awdal-dark); text-align: end; }
.awdal-order-meta-list--payment { margin-top: 8px; padding-top: 4px; }
.awdal-order-meta-list--payment .is-total {
    margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--awdal-border);
}
.awdal-order-meta-list--payment .is-total dt,
.awdal-order-meta-list--payment .is-total dd { font-size: 16px; font-weight: 700; }
.awdal-order-payment-method {
    display: flex; align-items: center; gap: 8px; margin: 0 0 16px;
    font-size: 14px; color: var(--awdal-dark);
}
.awdal-order-payment-method i { color: var(--awdal-primary); font-size: 18px; }
.awdal-order-payment-status {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--awdal-border);
    font-size: 13px; color: var(--awdal-muted);
}
.awdal-order-detail__aside-actions { display: flex; flex-direction: column; gap: 10px; }
.awdal-order-detail__aside-actions .awdal-btn { width: 100%; }

/* Order track page */
.awdal-order-track-page { background: #F8FAFC; padding: 24px 0 72px; }
.awdal-order-track__container { max-width: 1120px; }
.awdal-order-track-hero {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin: 20px 0 28px; padding: 28px 32px; border-radius: 16px;
    background: linear-gradient(135deg, #14532D 0%, #1B7A4A 55%, #15803D 100%);
    color: #fff; box-shadow: 0 8px 24px rgba(20, 83, 45, 0.18);
}
.awdal-order-track-hero__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.awdal-order-track-hero__ref { font-family: var(--font-mono); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.awdal-order-track-hero__badge {
    background: rgba(255, 255, 255, 0.2) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.35);
}
.awdal-order-track-hero__eta { margin: 0 0 8px; font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.2; font-family: var(--font-kufi); }
.awdal-order-track-hero__updated { margin: 0; font-size: 14px; opacity: 0.88; }
.awdal-order-track-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.awdal-order-track-hero__btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.12);
    color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.2s ease;
}
.awdal-order-track-hero__btn:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.awdal-order-track__layout {
    display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.88fr);
    gap: 24px; align-items: start; margin-bottom: 24px;
}
.awdal-order-track__aside { display: flex; flex-direction: column; gap: 20px; }
.awdal-order-track__main { min-width: 0; }
.awdal-order-track__card {
    padding: 24px 28px; margin-bottom: 0; border: 1px solid var(--awdal-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.awdal-order-track__card-title {
    margin: 0 0 20px; font-family: var(--font-kufi); font-size: 18px; font-weight: 700; color: var(--awdal-dark);
    text-align: start;
}
.awdal-order-track__status-value { color: var(--awdal-primary) !important; }
.awdal-order-track__amount { font-size: 16px !important; font-weight: 800 !important; }
.awdal-order-track__address { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--awdal-border); }
.awdal-order-track-path {
    list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 0;
    direction: rtl;
}
.awdal-order-track-path__item {
    display: flex; flex-direction: row; gap: 16px; align-items: flex-start; position: relative;
    padding: 0 0 28px 0; text-align: start;
}
.awdal-order-track-path__item:not(.is-last)::before {
    content: ''; position: absolute; top: 36px; bottom: 0; width: 2px;
    background: var(--awdal-border); inset-inline-start: 17px;
}
.awdal-order-track-path__item.is-done:not(.is-last)::before { background: var(--awdal-primary); opacity: 0.35; }
.awdal-order-track-path__marker {
    width: 36px; height: 36px; border-radius: 999px; flex-shrink: 0; position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    border: 2px solid var(--awdal-border); background: #fff; color: transparent;
}
.awdal-order-track-path__item.is-done .awdal-order-track-path__marker {
    border-color: var(--awdal-primary); background: var(--awdal-primary); color: #fff;
}
.awdal-order-track-path__item.is-pending .awdal-order-track-path__marker {
    background: #F8FAFC; border-color: #CBD5E1;
}
.awdal-order-track-path__body { flex: 1; min-width: 0; padding-top: 6px; }
.awdal-order-track-path__label {
    display: block; font-size: 15px; font-weight: 700; color: var(--awdal-dark); margin-bottom: 4px;
}
.awdal-order-track-path__item.is-pending .awdal-order-track-path__label { color: var(--awdal-muted); font-weight: 600; }
.awdal-order-track-path__time { display: block; font-size: 13px; color: var(--awdal-muted); }
.awdal-order-track__aside .awdal-order-meta-list dd { text-align: end; }
.awdal-order-track-hero__main { text-align: start; }
.awdal-order-track__map-sub { margin: -8px 0 20px; font-size: 14px; color: var(--awdal-muted); text-align: start; }
.awdal-order-track__map-placeholder {
    min-height: 280px; border-radius: 12px; background: linear-gradient(180deg, #E2E8F0 0%, #F1F5F9 100%);
    display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 48px;
}

.awdal-profile-form { padding: 24px 0 64px; }
.awdal-profile-form__card { padding: 32px; }

.awdal-support__pager { margin-top: 24px; }

/* Cart + checkout + success */
.awdal-cart, .awdal-checkout, .awdal-success { padding: 24px 0 72px; }
.awdal-cart__header, .awdal-checkout__header {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
    margin-bottom: 20px; flex-wrap: wrap;
}
.awdal-cart__title { font-size: 32px; }
.awdal-cart__subtitle { margin: 8px 0 0; color: var(--awdal-muted); font-size: 14px; }
.awdal-cart__count { margin: 0; color: var(--awdal-primary); font-weight: 700; font-size: 14px; }
.awdal-cart-alert {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px;
    padding: 14px 16px; border-radius: 14px; background: #FFF9E8; color: #8A6A12;
    border: 1px solid #F3E4B8; font-size: 13px; line-height: 1.7;
}
.awdal-cart-alert i { font-size: 18px; margin-top: 2px; }
.awdal-cart-alert p { margin: 0; }
.awdal-cart__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.awdal-cart__layout--full { grid-template-columns: 1fr; }
.awdal-cart__groups { min-width: 0; width: 100%; }
.awdal-cart__layout--full .awdal-empty {
    width: 100%;
    min-height: 420px;
    padding: 88px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.awdal-cart-group { overflow: hidden; margin-bottom: 20px; }
.awdal-cart-group__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    padding: 18px 20px 16px; border-bottom: 1px solid var(--awdal-border);
}
.awdal-cart-group__title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.awdal-cart-group__title { margin: 0; font-family: var(--font-kufi); font-size: 16px; }
.awdal-cart-group__merchant { margin: 6px 0 0; font-size: 13px; color: var(--awdal-muted); }
.awdal-cart-group__time { margin: 8px 0 0; font-size: 12px; color: var(--awdal-muted); display: flex; align-items: center; gap: 6px; }
.awdal-cart-group__link {
    display: inline-flex; align-items: center; gap: 4px; color: var(--awdal-primary);
    text-decoration: none; font-weight: 700; font-size: 13px; white-space: nowrap;
}
.awdal-cart-item {
    display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px;
    padding: 20px; border-bottom: 1px solid var(--awdal-border); align-items: start;
}
.awdal-cart-item__media, .awdal-cart-item__media img {
    width: 88px; height: 88px; border-radius: 14px; object-fit: cover; background: var(--awdal-surface);
}
.awdal-cart-item__name { margin: 0; font-weight: 700; font-size: 15px; }
.awdal-cart-item__options { margin: 6px 0 0; color: var(--awdal-muted); font-size: 12px; }
.awdal-cart-item__ship { margin: 10px 0 0; color: var(--awdal-muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.awdal-cart-item__fav {
    margin-top: 8px; background: none; border: none; padding: 0; cursor: pointer;
    color: var(--awdal-primary); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.awdal-cart-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; min-width: 96px; }
.awdal-cart-item__delete { color: var(--awdal-error); background: #FEF2F2; }
.awdal-cart-item__price { margin: 0; font-weight: 700; font-size: 16px; color: var(--awdal-dark); }
.awdal-qty {
    display: inline-flex; align-items: center; gap: 0; margin-top: 12px;
    border: 1px solid var(--awdal-border); border-radius: 999px; overflow: hidden; background: #fff;
}
.awdal-qty__btn {
    width: 32px; height: 32px; border: none; background: transparent; color: var(--awdal-dark); cursor: pointer;
}
.awdal-qty__btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.awdal-qty.is-loading { opacity: 0.7; pointer-events: none; }
.awdal-qty__value { min-width: 28px; text-align: center; font-weight: 700; font-family: var(--font-mono); }
.awdal-cart-group__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 20px; background: #FAFCFA; flex-wrap: wrap;
}
.awdal-cart-group__ship-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--awdal-muted); }
.awdal-cart-group__ship-badge.is-free { color: var(--awdal-primary); font-weight: 700; }
.awdal-cart-group__ship-note { font-size: 12px; color: var(--awdal-muted); }
.awdal-cart-summary { padding: 24px; position: sticky; top: 96px; }
.awdal-cart-summary__title { font-size: 18px; margin-bottom: 20px; }
.awdal-cart-summary__list { margin: 0 0 20px; }
.awdal-cart-summary__list div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.awdal-cart-summary__list dt { color: var(--awdal-muted); }
.awdal-cart-summary__list dd { margin: 0; font-weight: 700; }
.awdal-cart-summary__list .is-discount, .awdal-cart-summary__list .is-free { color: var(--awdal-primary); }
.awdal-cart-summary__list .is-total {
    padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--awdal-border); font-size: 16px;
}
.awdal-cart-summary__list .is-total dd { color: var(--awdal-primary); }
.awdal-cart-summary__trust {
    display: flex; justify-content: space-between; gap: 8px; margin: 16px 0 12px;
    font-size: 12px; color: var(--awdal-muted);
}
.awdal-cart-summary__trust span { display: inline-flex; align-items: center; gap: 6px; }
.awdal-cart-summary__trust i { color: var(--awdal-primary); }
.awdal-cart-summary__shop {
    display: block; text-align: center; color: var(--awdal-primary); text-decoration: none; font-weight: 700; font-size: 13px;
}

.awdal-checkout-box { padding: 22px 24px; margin-bottom: 20px; overflow: visible; }
.awdal-checkout-box__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.awdal-checkout-box__head h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.awdal-checkout-box__head i { color: var(--awdal-primary); }
.awdal-checkout-add {
    display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
    color: var(--awdal-primary); font-weight: 700; cursor: pointer;
}
.awdal-checkout-addresses { display: flex; flex-direction: column; gap: 12px; }
.awdal-checkout-address {
    display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start;
    padding: 16px 18px; border: 1px solid var(--awdal-border); border-radius: 16px; cursor: pointer; position: relative;
}
.awdal-checkout-address input { position: absolute; opacity: 0; pointer-events: none; }
.awdal-checkout-address__mark {
    width: 22px; height: 22px; border: 1px solid var(--awdal-border); border-radius: 999px;
    display: flex; align-items: center; justify-content: center; color: transparent; margin-top: 2px;
}
.awdal-checkout-address:has(input:checked) { border-color: var(--awdal-primary); background: #F4FBF7; }
.awdal-checkout-address:has(input:checked) .awdal-checkout-address__mark {
    background: var(--awdal-primary); border-color: var(--awdal-primary); color: #fff;
}
.awdal-checkout-address__top { display: flex; align-items: center; gap: 8px; }
.awdal-checkout-address__top em {
    font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px;
    background: var(--awdal-primary-light); color: var(--awdal-primary);
}
.awdal-checkout-address__phone, .awdal-checkout-address__text { display: block; color: var(--awdal-muted); font-size: 13px; margin-top: 4px; }
.awdal-checkout-address__edit { color: var(--awdal-muted); text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.awdal-checkout-empty { padding: 32px; }
.awdal-checkout-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.awdal-checkout-method {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: 96px; border: 1px solid var(--awdal-border); border-radius: 16px; cursor: pointer; text-align: center; padding: 12px;
}
.awdal-checkout-method input { position: absolute; opacity: 0; pointer-events: none; }
.awdal-checkout-method__icon {
    width: 36px; height: 36px; border-radius: 10px; background: var(--awdal-surface);
    display: flex; align-items: center; justify-content: center; color: var(--awdal-dark); font-size: 18px;
}
.awdal-checkout-method__label { font-size: 12px; font-weight: 700; }
.awdal-checkout-method:has(input:checked) { border-color: var(--awdal-primary); box-shadow: 0 0 0 1px var(--awdal-primary); }
.awdal-checkout-lines { margin-bottom: 16px; }
.awdal-checkout-line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.awdal-checkout-line img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.awdal-checkout-line div { flex: 1; min-width: 0; }
.awdal-checkout-line p { margin: 0; font-size: 13px; font-weight: 700; }
.awdal-checkout-line small { color: var(--awdal-muted); }
.awdal-checkout-default { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 16px; cursor: pointer; }

.awdal-success__hero { text-align: center; max-width: 640px; margin: 24px auto 32px; }
.awdal-success__icon {
    width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 999px;
    background: var(--awdal-primary-light); color: var(--awdal-primary);
    display: flex; align-items: center; justify-content: center; font-size: 36px;
}
.awdal-success__lead { color: var(--awdal-muted); line-height: 1.8; margin: 12px 0 20px; }
.awdal-success__meta {
    display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-bottom: 24px; color: var(--awdal-muted); font-size: 13px;
}
.awdal-success__meta span { display: inline-flex; align-items: center; gap: 6px; }
.awdal-success__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.awdal-success__home { color: var(--awdal-primary); text-decoration: none; font-weight: 700; font-size: 13px; }
.awdal-success-track { padding: 24px; margin-bottom: 20px; }
.awdal-success-track h2 { margin: 0 0 24px; text-align: right; font-size: 16px; }
.awdal-success-steps {
    list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 8px; position: relative;
}
.awdal-success-steps::before {
    content: ''; position: absolute; top: 12px; right: 8%; left: 8%; height: 2px; background: var(--awdal-border);
}
.awdal-success-steps li { position: relative; z-index: 1; flex: 1; text-align: center; }
.awdal-success-steps__dot {
    width: 24px; height: 24px; margin: 0 auto 8px; border-radius: 999px; background: #fff;
    border: 2px solid var(--awdal-border); display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.awdal-success-steps li.is-done .awdal-success-steps__dot { background: var(--awdal-primary); border-color: var(--awdal-primary); color: #fff; }
.awdal-success-steps__label { font-size: 12px; color: var(--awdal-muted); }
.awdal-success-steps li.is-done .awdal-success-steps__label { color: var(--awdal-dark); font-weight: 700; }
.awdal-success-track__note { text-align: center; color: var(--awdal-muted); font-size: 13px; margin: 16px 0 0; }
.awdal-success-help {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; flex-wrap: wrap;
}
.awdal-success-help__copy { display: flex; align-items: flex-start; gap: 14px; }
.awdal-success-help__icon {
    width: 44px; height: 44px; border-radius: 999px; background: #EEF4FF; color: #3B6BDB;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.awdal-success-help h3 { margin: 0 0 6px; font-size: 16px; }
.awdal-success-help p, .awdal-success-help small { margin: 0; color: var(--awdal-muted); }
.awdal-success-help__actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 991px) {
    .awdal-support-actions { grid-template-columns: repeat(2, 1fr); }
    .awdal-order-detail__grid { grid-template-columns: 1fr; }
    .awdal-order-track__layout { grid-template-columns: 1fr; }
    .awdal-order-track-hero { flex-direction: column; }
    .awdal-cart__layout { grid-template-columns: 1fr; }
    .awdal-cart-summary { position: static; }
    .awdal-checkout-methods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .awdal-support-actions, .awdal-reviews-stats, .awdal-chip-grid { grid-template-columns: 1fr; }
    .awdal-support__head, .awdal-notify__head, .awdal-order-detail__head { flex-direction: column; }
    .awdal-cart-item { grid-template-columns: 72px minmax(0, 1fr); }
    .awdal-cart-item__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
    .awdal-cart-item__media, .awdal-cart-item__media img { width: 72px; height: 72px; }
    .awdal-success-steps { flex-direction: column; align-items: stretch; }
    .awdal-success-steps::before { display: none; }
    .awdal-success-steps li { display: flex; align-items: center; gap: 10px; text-align: right; }
    .awdal-success-steps__dot { margin: 0; }
}

/* ── Direction (RTL / LTR) ── */
[dir="ltr"] .awdal-dir-icon,
[dir="ltr"] .awdal-profile-settings__chevron,
[dir="ltr"] .awdal-page-breadcrumb i[class*="arrow-left"],
[dir="ltr"] .awdal-support-ticket__chevron,
[dir="ltr"] .awdal-language-option__chevron,
[dir="ltr"] .awdal-wallet-breadcrumb i[class*="arrow-left"],
[dir="ltr"] .ri-arrow-right-line.awdal-dir-icon {
    transform: scaleX(-1);
}

[dir="ltr"] body.awdal-body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

[dir="ltr"] .awdal-h1,
[dir="ltr"] .awdal-h2,
[dir="ltr"] .awdal-h3,
[dir="ltr"] .awdal-btn {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

[dir="ltr"] .awdal-profile-header__name,
[dir="ltr"] .awdal-profile__section-title {
    text-align: left;
}

[dir="ltr"] .awdal-success-track h2 {
    text-align: left;
}

[dir="ltr"] .awdal-success-steps li {
    text-align: left;
}

/* Language selection page */
.awdal-language-options {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.awdal-language-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.awdal-language-option:hover {
    background: var(--awdal-bg);
}

.awdal-language-option.is-active {
    background: var(--awdal-primary-light);
    box-shadow: inset 0 0 0 1px rgba(27, 122, 74, 0.2);
}

.awdal-language-option__icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--awdal-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--awdal-primary);
}

.awdal-language-option__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.awdal-language-option__text strong {
    font-size: 15px;
}

.awdal-language-option__text small {
    font-size: 12px;
    color: var(--awdal-muted);
}

.awdal-language-option__chevron {
    color: var(--awdal-muted-light);
    font-size: 18px;
}

.awdal-language-options--modal {
    padding: 8px 0 0;
    margin-top: 8px;
}

/* Edit profile */
.awdal-profile-edit {
    padding: 28px 0 80px;
}
.awdal-profile-edit__container { max-width: 720px; }
.awdal-profile-edit .awdal-page-breadcrumb span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.awdal-profile-edit__card {
    padding: 40px 48px 36px;
    border-radius: 28px;
    overflow: visible;
}
.awdal-profile-edit__title {
    margin: 0 0 36px;
    font-family: var(--font-kufi);
    font-size: 26px;
    font-weight: 700;
    color: var(--awdal-dark);
    text-align: start;
}
.awdal-profile-edit__avatar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
}
.awdal-profile-edit__avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}
.awdal-profile-edit__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
    background: #F3F0EA;
    box-shadow: 0 0 0 6px #F4FBF7;
}
.awdal-profile-edit__camera {
    position: absolute;
    left: 4px;
    bottom: 4px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--awdal-success);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 0 0 3px #fff;
}
.awdal-profile-edit__avatar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.awdal-profile-edit__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: #F3F0F8;
    color: var(--awdal-dark);
    font-family: var(--font-kufi);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.awdal-profile-edit__pill i { font-size: 16px; }
.awdal-profile-edit__pill--danger {
    background: #FDECEC;
    color: var(--awdal-error);
}
.awdal-profile-edit .awdal-label {
    margin-bottom: 10px;
    font-size: 14px;
}
.awdal-profile-edit .awdal-input,
.awdal-profile-edit .awdal-select {
    height: 56px;
    border: none;
    border-radius: 999px;
    background: #F5F3F8;
    padding: 0 48px 0 20px;
}
.awdal-profile-edit .awdal-select {
    appearance: none;
    padding-left: 42px;
}
.awdal-profile-edit .awdal-input:focus,
.awdal-profile-edit .awdal-select:focus {
    background: #F5F3F8;
    border: none;
    box-shadow: 0 0 0 1px rgba(27, 122, 74, 0.18);
}
.awdal-profile-edit .awdal-input-icon {
    width: 48px;
    color: #9A8FB0;
    font-size: 18px;
}
.awdal-profile-edit__chevron {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 16px;
    display: flex;
    align-items: center;
    color: #9A8FB0;
    pointer-events: none;
    font-size: 20px;
}
.awdal-profile-edit__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.awdal-profile-edit__genders {
    display: flex;
    gap: 10px;
}
.awdal-profile-edit__gender {
    flex: 1;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: #F5F3F8;
    color: var(--awdal-dark);
    font-family: var(--font-kufi);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.awdal-profile-edit__gender input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.awdal-profile-edit__gender.is-active,
.awdal-profile-edit__gender:has(input:checked) {
    background: #fff;
    box-shadow: 0 0 0 1px #1A1A2E;
}
.awdal-profile-edit__gender i { font-size: 16px; }
.awdal-profile-edit__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}
.awdal-profile-edit__save {
    flex: 1;
    height: 56px;
    border-radius: 999px;
    font-size: 16px;
}
.awdal-profile-edit__cancel {
    min-width: 96px;
    height: 56px;
    border-radius: 999px;
    background: #F5F3F8;
    color: var(--awdal-dark);
    padding: 0 22px;
}
.awdal-profile-edit__cancel:hover {
    background: #ECEAF3;
    transform: none;
}
.awdal-profile-edit__crop-dialog { max-width: 560px; }
.awdal-profile-edit__crop-stage {
    height: 360px;
    background: #111;
    border-radius: 16px;
    overflow: hidden;
}
.awdal-profile-edit__crop-stage img {
    display: block;
    max-width: 100%;
}

@media (max-width: 640px) {
    .awdal-profile-edit { padding-top: 16px; }
    .awdal-profile-edit__card { padding: 24px 18px 22px; }
    .awdal-profile-edit__title { font-size: 22px; margin-bottom: 24px; }
    .awdal-profile-edit__row { grid-template-columns: 1fr; }
    .awdal-profile-edit__actions { flex-direction: column-reverse; }
    .awdal-profile-edit__save,
    .awdal-profile-edit__cancel { width: 100%; }
}

[dir="ltr"] .awdal-profile-edit .awdal-input,
[dir="ltr"] .awdal-profile-edit .awdal-select {
    padding: 0 20px 0 48px;
}
[dir="ltr"] .awdal-profile-edit .awdal-select { padding-right: 42px; }
[dir="ltr"] .awdal-profile-edit .awdal-input-icon { right: auto; left: 0; }
[dir="ltr"] .awdal-profile-edit__chevron { left: auto; right: 16px; }
[dir="ltr"] .awdal-profile-edit__camera { left: auto; right: 4px; }

/* Merchant campaign show */
.awdal-cshow-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    padding: 22px 24px 20px;
    margin-bottom: 20px;
}
.awdal-cshow-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.awdal-cshow-head__title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.awdal-cshow-head__name {
    margin: 0;
    font-family: var(--font-kufi);
    font-size: 22px;
    font-weight: 700;
    color: var(--awdal-dark);
    line-height: 1.35;
}
.awdal-cshow-head__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.awdal-cshow-head__edit { margin-inline-end: 4px; }
.awdal-cshow-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.awdal-cshow-toolbar__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.awdal-cshow-toolbar__dates {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--awdal-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.awdal-cshow-toolbar__ended {
    color: var(--awdal-primary);
    font-size: 13px;
    font-weight: 700;
}
.awdal-cshow-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--awdal-border);
    background: #fff;
    color: var(--awdal-dark);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.awdal-cshow-pdf:hover { background: var(--awdal-surface); }
.awdal-cshow-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.awdal-cshow-kpis--stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 16px;
}
.awdal-cshow-kpi {
    background: #F8F6FB;
    border-radius: 16px;
    padding: 22px 12px 18px;
    text-align: center;
}
.awdal-cshow-kpi__value {
    margin: 0 0 8px;
    font-family: var(--font-kufi);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--awdal-dark);
}
.awdal-cshow-kpi__value.is-success { color: var(--awdal-primary); }
.awdal-cshow-kpi__label {
    margin: 0;
    font-size: 13px;
    color: var(--awdal-muted);
}
.awdal-cshow-tabs {
    gap: 8px;
    margin: 8px 0 28px;
}
.awdal-cshow-tabs .awdal-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    background: transparent;
    color: var(--awdal-muted);
    font-size: 13px;
    font-weight: 600;
}
.awdal-cshow-tabs .awdal-tab i { font-size: 16px; }
.awdal-cshow-tabs .awdal-tab.is-active {
    background: #fff;
    color: var(--awdal-primary);
    box-shadow: var(--shadow-card);
}
.awdal-cshow-panel {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    padding: 28px 24px 32px;
    margin-bottom: 24px;
}
.awdal-cshow-panel--overview {
    padding: 26px 28px 28px;
}
.awdal-cshow-overview {
    text-align: right;
}
.awdal-cshow-overview__title {
    font-family: var(--font-kufi);
    font-size: 16px;
    font-weight: 700;
    color: var(--awdal-dark);
    margin: 0 0 12px;
}
.awdal-cshow-overview__text {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.95;
    color: var(--awdal-text);
}
.awdal-cshow-media {
    padding: 20px;
    margin-bottom: 24px;
}
.awdal-cshow-media--embedded {
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    background: transparent;
}
.awdal-cshow-media-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--awdal-muted);
}
.awdal-cshow-media-empty i {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
    opacity: 0.45;
}
.awdal-cshow-media-empty p { margin: 0; font-size: 14px; }

/* Merchant account — view mode */
.awdal-merchant-account__section {
    padding: 28px 32px;
    margin-bottom: 24px;
}
.awdal-merchant-account__heading {
    font-family: var(--font-kufi);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--awdal-dark);
}
.awdal-merchant-account__list {
    margin: 0;
    display: grid;
    gap: 0;
}
.awdal-merchant-account__list > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--awdal-border);
    font-size: 14px;
}
.awdal-merchant-account__list > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.awdal-merchant-account__list dt {
    margin: 0;
    color: var(--awdal-muted);
    font-weight: 500;
    flex-shrink: 0;
}
.awdal-merchant-account__list dd {
    margin: 0;
    font-weight: 600;
    color: var(--awdal-dark);
    text-align: left;
    word-break: break-word;
}
.awdal-merchant-account__aside {
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}
.awdal-merchant-account__avatar-wrap {
    margin-bottom: 16px;
}
.awdal-merchant-account__avatar {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: var(--awdal-surface);
    margin: 0 auto 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--awdal-muted);
    font-size: 28px;
}
.awdal-merchant-account__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.awdal-merchant-account__meta {
    margin: 16px 0 0;
    font-size: 13px;
    display: grid;
    gap: 8px;
    text-align: right;
}
.awdal-merchant-account__meta > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.awdal-merchant-account__meta dt {
    margin: 0;
    color: var(--awdal-muted);
}
.awdal-merchant-account__meta dd {
    margin: 0;
    font-weight: 600;
}
.awdal-merchant-account__doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--awdal-border);
}
.awdal-merchant-account__doc-row:last-child {
    border-bottom: none;
}
.awdal-merchant-account__doc-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.awdal-merchant-account__doc-label i {
    color: var(--awdal-primary);
}
.awdal-merchant-account__doc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.awdal-merchant-account__doc-dl {
    width: 32px;
    height: 32px;
}

.awdal-wizard-form .awdal-wiz-input input.is-invalid,
.awdal-wizard-form .awdal-wiz-input select.is-invalid,
.awdal-wizard-form .awdal-wiz-area.is-invalid,
.awdal-wizard-form .awdal-upload-grid.is-invalid {
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.35);
}
.awdal-wizard-form .awdal-upload-grid.is-invalid {
    border-radius: 16px;
    padding: 4px;
}
.awdal-wizard-form .awdal-review-check.is-invalid {
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.35);
    border-radius: 12px;
    padding: 8px 10px;
    margin: -8px -10px 16px;
}
.awdal-cshow-media__gallery {
    max-width: 480px;
    margin: 0 auto;
}
.awdal-cshow-media .awdal-cdetail__stage {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
}
.awdal-cshow-media .awdal-cdetail__thumbs {
    margin-top: 12px;
    gap: 8px;
}
.awdal-cshow-media .awdal-cdetail__thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
}
.awdal-cshow-media .awdal-cdetail__counter {
    font-size: 11px;
    padding: 3px 8px;
    left: 12px;
    bottom: 12px;
}
.awdal-cshow-media .awdal-cshow-section__title {
    font-size: 15px;
    margin-bottom: 12px;
}
.awdal-cshow-section { margin-bottom: 36px; text-align: center; }
.awdal-cshow-section--flush { margin-bottom: 0; }
.awdal-cshow-section__title {
    font-family: var(--font-kufi);
    font-size: 16px;
    font-weight: 700;
    color: var(--awdal-dark);
    margin: 0 0 14px;
}
.awdal-cshow-section__text {
    max-width: 820px;
    margin: 0 auto 28px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--awdal-text);
}
.awdal-cshow-facts-bar,
.awdal-cshow-facts {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 16px;
    flex-wrap: wrap;
}
.awdal-cshow-facts-bar {
    background: #F8F6FB;
    border-radius: 16px;
    padding: 20px 28px;
    margin-bottom: 16px;
}
.awdal-cshow-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 140px;
}
.awdal-cshow-fact--row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1 1 160px;
    max-width: 100%;
}
.awdal-cshow-fact__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}
.awdal-cshow-fact__icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #E8F6EE;
    color: var(--awdal-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.awdal-cshow-fact__label { font-size: 13px; color: var(--awdal-muted); line-height: 1.2; }
.awdal-cshow-fact__value {
    font-size: 14px;
    font-weight: 700;
    color: var(--awdal-dark);
    line-height: 1.35;
    word-break: break-word;
}
.awdal-cshow-duration-bar {
    background: #F8F6FB;
    border-radius: 16px;
    padding: 18px 24px 20px;
    text-align: right;
}
.awdal-cshow-duration-bar__title {
    font-family: var(--font-kufi);
    font-size: 15px;
    font-weight: 700;
    color: var(--awdal-dark);
    margin: 0 0 12px;
}
.awdal-cshow-duration {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--awdal-muted);
    font-size: 13px;
}
.awdal-cshow-duration strong { color: var(--awdal-dark); font-weight: 600; }
.awdal-cshow-duration__sep {
    color: var(--awdal-border);
    font-weight: 400;
    user-select: none;
}
.awdal-cshow-duration__ended {
    color: var(--awdal-primary);
    font-weight: 700;
}
.awdal-cshow-table-wrap {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    overflow-x: auto;
}
.awdal-cshow-table-wrap .awdal-camp-table { min-width: 720px; }
.awdal-cshow-product {
    display: flex;
    align-items: center;
    gap: 10px;
}
.awdal-cshow-product__thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--awdal-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--awdal-muted);
    flex-shrink: 0;
}
.awdal-cshow-product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-cshow-product small { display: block; color: var(--awdal-muted); font-size: 12px; font-weight: 400; }

@media (max-width: 1100px) {
    .awdal-cshow-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .awdal-cshow-kpis--stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .awdal-cshow-kpis,
    .awdal-cshow-kpis--stats { grid-template-columns: 1fr 1fr; }
    .awdal-cshow-facts,
    .awdal-cshow-facts-bar { gap: 20px; }
    .awdal-cshow-fact--row {
        flex: 1 1 100%;
        justify-content: flex-start;
    }
    .awdal-cshow-duration { gap: 10px 14px; }
}

@media print {
    .awdal-merchant__sidebar,
    .awdal-merchant__header,
    .awdal-cshow-tabs,
    .awdal-cshow-pdf,
    [data-tab-panel="products"],
    [data-tab-panel="media"] { display: none !important; }
    .awdal-merchant__main { margin: 0 !important; }
    .awdal-merchant__content { padding: 0 !important; }
    .awdal-cshow-card { box-shadow: none; }
    [data-tab-panel="overview"] { display: block !important; }
}

/* Merchant orders */
.awdal-status--ordered { background: #FFF6E5; color: #B45309; }
.awdal-status--preparing { background: #F3F4F6; color: #6B7280; }
.awdal-status--prepared { background: #E6F7F4; color: #0F766E; }
.awdal-status--shipping { background: #EFF6FF; color: #2563EB; }
.awdal-status--done { background: #ECFDF3; color: #1B7A4A; }
.awdal-status--cancelled { background: #FEF2F2; color: #E85D4E; }

.awdal-ord-tabs {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    margin: 0 0 20px; border-bottom: 1px solid var(--awdal-border);
}
.awdal-ord-tabs__item {
    position: relative; padding: 0 2px 12px;
    text-decoration: none; font-size: 14px; font-weight: 600;
    color: var(--awdal-muted);
}
.awdal-ord-tabs__item:hover { color: var(--awdal-dark); }
.awdal-ord-tabs__item.is-active { color: var(--awdal-dark); }
.awdal-ord-tabs__item.is-active::after {
    content: ""; position: absolute; right: 0; left: 0; bottom: -1px;
    height: 2px; background: var(--awdal-dark); border-radius: 2px;
}

.awdal-ord-search {
    display: flex; align-items: center; gap: 10px;
    height: 48px; margin-bottom: 20px; padding: 0 18px;
    background: #fff; border: 1px solid var(--awdal-border);
    border-radius: 999px; color: var(--awdal-muted);
}
.awdal-ord-search i { font-size: 16px; }
.awdal-ord-search input {
    flex: 1; min-width: 0; border: none; outline: none;
    background: transparent; font-family: inherit; font-size: 13px; color: var(--awdal-dark);
}
.awdal-ord-search input::placeholder { color: var(--awdal-muted-light); }

.awdal-ord-table { min-width: 1100px; }
.awdal-ord-table__ref {
    font-weight: 700; color: var(--awdal-dark); text-decoration: none;
}
.awdal-ord-table__ref:hover { color: var(--awdal-primary); }
.awdal-ord-table__name { margin: 0; font-size: 13px; font-weight: 700; }
.awdal-ord-table__sub { margin: 2px 0 0; font-size: 12px; color: var(--awdal-muted); }
.awdal-ord-table__amount { font-weight: 700; }
.awdal-ord-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.awdal-ord-chip {
    display: inline-flex; align-items: center; max-width: 180px;
    padding: 4px 10px; border-radius: 999px; background: var(--awdal-surface);
    color: var(--awdal-text); font-size: 11px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.awdal-ord-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.awdal-ord-toolbar__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.awdal-ord-ref {
    display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
    border-radius: 999px; background: #FFF6E5; color: #B45309;
    font-size: 13px; font-weight: 700;
}
.awdal-ord-toolbar__date { font-size: 13px; color: var(--awdal-muted); }
.awdal-ord-toolbar__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.awdal-ord-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 18px; border-radius: 999px; border: none;
    font-family: inherit; font-size: 13px; font-weight: 700;
    cursor: pointer; text-decoration: none; white-space: nowrap;
}
.awdal-ord-btn--ghost {
    background: #fff; color: var(--awdal-dark); border: 1px solid var(--awdal-border);
}
.awdal-ord-btn--ghost:hover { background: var(--awdal-surface); }
.awdal-ord-btn--update { background: #4F46E5; color: #fff; }
.awdal-ord-btn--update:hover { background: #4338CA; color: #fff; }

.awdal-ord-metrics {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0; margin-bottom: 28px; background: var(--awdal-surface);
    border-radius: 20px; overflow: hidden;
}
.awdal-ord-metric { padding: 22px 16px; text-align: center; }
.awdal-ord-metric span { display: block; margin-bottom: 8px; font-size: 13px; color: var(--awdal-muted); }
.awdal-ord-metric strong { display: block; font-size: 16px; color: var(--awdal-dark); }
.awdal-ord-metric strong.is-total { color: var(--awdal-primary); }

.awdal-ord-status { margin-bottom: 28px; text-align: center; }
.awdal-ord-status .awdal-ord-card__title { text-align: right; margin-bottom: 28px; }
.awdal-ord-status__form { margin-top: 8px; }

.awdal-ord-stepper {
    list-style: none; display: flex; align-items: flex-start;
    margin: 0 0 24px; padding: 0; position: relative;
}
.awdal-ord-stepper::before {
    content: ""; position: absolute; top: 11px; right: 10%; left: 10%;
    height: 2px; background: var(--awdal-border); z-index: 0;
}
.awdal-ord-stepper li {
    position: relative; z-index: 1; flex: 1; display: flex;
    flex-direction: column; align-items: center; gap: 10px;
}
.awdal-ord-stepper__dot {
    width: 24px; height: 24px; border-radius: 999px; background: #fff;
    border: 2px solid var(--awdal-border); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.awdal-ord-stepper li.is-done .awdal-ord-stepper__dot,
.awdal-ord-stepper li.is-current .awdal-ord-stepper__dot {
    background: var(--awdal-dark); border-color: var(--awdal-dark);
}
.awdal-ord-stepper__label { font-size: 13px; font-weight: 600; color: var(--awdal-muted); }
.awdal-ord-stepper li.is-done .awdal-ord-stepper__label,
.awdal-ord-stepper li.is-current .awdal-ord-stepper__label { color: var(--awdal-dark); }

.awdal-ord-card {
    background: #fff; border-radius: var(--awdal-radius-xl);
    box-shadow: var(--shadow-card); padding: 22px;
}
.awdal-ord-card__title {
    font-family: var(--font-kufi); font-size: 16px; font-weight: 700;
    color: var(--awdal-dark); margin: 0 0 16px;
}

.awdal-ord-split {
    display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
    gap: 16px; align-items: start; margin-bottom: 16px;
}
.awdal-ord-side { display: flex; flex-direction: column; gap: 16px; }

.awdal-ord-items { overflow-x: auto; }
.awdal-ord-items table { width: 100%; border-collapse: collapse; font-size: 13px; }
.awdal-ord-items th {
    text-align: right; padding: 10px 8px; font-weight: 500;
    color: var(--awdal-muted); border-bottom: 1px solid var(--awdal-border);
}
.awdal-ord-items td {
    padding: 14px 8px; border-bottom: 1px solid var(--awdal-border);
    vertical-align: middle; color: var(--awdal-dark);
}
.awdal-ord-items tr:last-child td { border-bottom: none; }
.awdal-ord-items__campaign { color: var(--awdal-primary); font-weight: 600; }
.awdal-ord-product { display: flex; align-items: center; gap: 10px; }
.awdal-ord-product__thumb {
    width: 44px; height: 44px; border-radius: 10px; overflow: hidden;
    background: var(--awdal-surface); display: inline-flex;
    align-items: center; justify-content: center; color: var(--awdal-muted); flex-shrink: 0;
}
.awdal-ord-product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awdal-ord-product strong { display: block; font-size: 13px; }
.awdal-ord-product small { display: block; color: var(--awdal-muted); font-size: 12px; }

.awdal-ord-totals { margin: 16px 0 0; padding-top: 12px; }
.awdal-ord-totals div,
.awdal-ord-bill div {
    display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px;
}
.awdal-ord-totals dt,
.awdal-ord-bill dt { color: var(--awdal-muted); }
.awdal-ord-totals dd,
.awdal-ord-bill dd { margin: 0; font-weight: 600; }
.awdal-ord-totals .is-grand,
.awdal-ord-bill .is-grand {
    margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--awdal-border);
    font-weight: 700;
}
.awdal-ord-totals .is-grand dt,
.awdal-ord-bill .is-grand dt { color: var(--awdal-dark); }

.awdal-ord-customer { list-style: none; margin: 0 0 12px; padding: 0; }
.awdal-ord-customer li {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 8px 0; font-size: 14px; font-weight: 600;
}
.awdal-ord-customer i { color: var(--awdal-muted); font-size: 16px; }
.awdal-ord-address {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 10px; padding: 12px 14px; border-radius: 12px; background: #FFF8EE;
}
.awdal-ord-address p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--awdal-dark); }
.awdal-ord-address__copy {
    width: 28px; height: 28px; border: none; background: transparent;
    color: var(--awdal-muted); cursor: pointer; flex-shrink: 0;
}
.awdal-ord-bill { margin: 0; }

.awdal-ord-review { margin-bottom: 20px; scroll-margin-top: 88px; }
.awdal-ord-review__head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap;
    margin-bottom: 12px;
}
.awdal-ord-review__head time { display: block; margin-top: 4px; }
.awdal-ord-review__stars { color: #F5B301; font-size: 18px; display: flex; gap: 2px; }
.awdal-ord-review__comment { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--awdal-dark); }
.awdal-ord-review__image img {
    width: 120px; height: 120px; object-fit: cover; border-radius: 12px; border: 1px solid var(--awdal-border);
}

.awdal-ord-ship__desc { margin: 0 0 18px; font-size: 13px; color: var(--awdal-muted); line-height: 1.7; }
.awdal-ord-ship__facts {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    padding: 16px; border-radius: 14px; background: var(--awdal-surface); margin-bottom: 16px;
}
.awdal-ord-ship__facts span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--awdal-muted); }
.awdal-ord-ship__facts strong { font-size: 14px; }
.awdal-ord-ship__notes { margin-bottom: 20px; }
.awdal-ord-ship__notes span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--awdal-muted); }
.awdal-ord-ship__notes p { margin: 0; font-size: 13px; color: var(--awdal-dark); }
.awdal-ord-ship__actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }

@media (max-width: 980px) {
    .awdal-ord-metrics { grid-template-columns: 1fr 1fr; }
    .awdal-ord-split { grid-template-columns: 1fr; }
    .awdal-ord-ship__facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .awdal-ord-metrics { grid-template-columns: 1fr; }
    .awdal-ord-stepper { overflow-x: auto; }
    .awdal-ord-stepper li { min-width: 88px; }
}

/* Merchant wallet & settlements */
.awdal-wallet-kpis {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px;
}
.awdal-wallet-kpi {
    background: #fff; border-radius: var(--awdal-radius-xl); padding: 24px 22px 22px;
    box-shadow: var(--shadow-card); min-height: 148px;
    display: flex; flex-direction: column;
}
.awdal-wallet-kpi__icon {
    width: 28px; height: 28px; margin-bottom: 18px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
}
.awdal-wallet-kpi__icon--mint,
.awdal-wallet-kpi__icon--green { color: var(--awdal-primary); }
.awdal-wallet-kpi__icon--sand { color: var(--awdal-warning); }
.awdal-wallet-kpi__icon--muted { color: var(--awdal-muted-light); }
.awdal-wallet-kpi__value {
    margin: 0 0 6px; font-size: 28px; font-weight: 700; line-height: 1.2;
    font-family: var(--font-kufi);
}
.awdal-wallet-kpi__value--mint,
.awdal-wallet-kpi__value--green { color: var(--awdal-primary); }
.awdal-wallet-kpi__value--sand { color: var(--awdal-warning); }
.awdal-wallet-kpi__value--muted { color: var(--awdal-dark); }
.awdal-wallet-kpi__label { margin: 0; font-size: 13px; color: var(--awdal-muted); }
.awdal-wallet-kpi__sub { margin: 0 0 4px; font-size: 12px; color: var(--awdal-muted-light); }
.awdal-wallet-section-title {
    font-family: var(--font-kufi); font-size: 16px; font-weight: 700;
    color: var(--awdal-dark); margin: 0 0 16px;
}
.awdal-wallet-table { min-width: 960px; }
.awdal-wallet-table td:last-child { text-align: left; }
.awdal-wallet-table__name { font-weight: 700; color: var(--awdal-dark); }
.awdal-wallet-table__amount { color: var(--awdal-muted); white-space: nowrap; }
.awdal-wallet-status { font-size: 13px; font-weight: 600; white-space: nowrap; }
.awdal-wallet-status--success { color: var(--awdal-primary); }
.awdal-wallet-status--warning { color: var(--awdal-warning); }
.awdal-wallet-status--muted { color: var(--awdal-muted-light); }
.awdal-wallet-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 36px; padding: 0 16px; border: none; border-radius: 999px;
    font-family: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; white-space: nowrap; text-decoration: none;
}
.awdal-wallet-action i { font-size: 16px; }
.awdal-wallet-action--request { background: var(--awdal-primary); color: #fff; }
.awdal-wallet-action--request:hover { background: var(--awdal-primary-hover); }
.awdal-wallet-action--details { background: #F3F0F8; color: var(--awdal-muted); }
.awdal-wallet-action--details:hover { background: #EDE8F7; color: var(--awdal-text); }
.awdal-wallet-status--danger { color: var(--awdal-error, #EA5455); }
.awdal-merchant-settlement-detail { padding: 28px 32px; border-radius: 20px; margin-bottom: 24px; }
.awdal-merchant-settlement-detail__receipt {
    max-width: 420px; border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08); margin-bottom: 12px;
}
.awdal-merchant-settlement-detail__receipt img {
    width: 100%; display: block; max-height: 320px; object-fit: contain; background: #f8f9fa;
}
.awdal-wallet-modal {
    max-width: 560px; padding: 28px 28px 24px; border-radius: 24px;
}
.awdal-wallet-modal__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 22px;
}
.awdal-wallet-modal__title {
    margin: 0; font-family: var(--font-kufi); font-size: 20px; font-weight: 700;
    color: var(--awdal-dark);
}
.awdal-wallet-modal__close {
    width: 32px; height: 32px; border: none; background: transparent;
    color: var(--awdal-muted); font-size: 22px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.awdal-wallet-modal__close:hover { color: var(--awdal-dark); }
.awdal-wallet-modal__box {
    border: 1px dashed #D8D0E8; border-radius: 14px; padding: 18px 20px;
}
.awdal-wallet-modal__row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 10px 0;
}
.awdal-wallet-modal__row + .awdal-wallet-modal__row { border-top: none; }
.awdal-wallet-modal__row span { font-size: 13px; color: var(--awdal-muted); }
.awdal-wallet-modal__row strong { font-size: 14px; font-weight: 700; color: var(--awdal-dark); text-align: left; }
.awdal-wallet-modal__iban { font-size: 16px; letter-spacing: 0.02em; }
.awdal-wallet-modal__footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-top: 28px;
}
.awdal-wallet-modal__cancel {
    border: none; background: transparent; color: var(--awdal-muted);
    font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px 4px;
}
.awdal-wallet-modal__cancel:hover { color: var(--awdal-dark); }
.awdal-wallet-modal__submit {
    min-width: 220px; height: 48px; padding: 0 28px; border: none; border-radius: 999px;
    background: var(--awdal-primary); color: #fff;
    font-family: var(--font-kufi); font-size: 15px; font-weight: 700; cursor: pointer;
}
.awdal-wallet-modal__submit:hover { background: var(--awdal-primary-hover); }
.awdal-wallet-modal__submit[hidden] { display: none; }
.awdal-wallet-modal__submit:disabled { opacity: 0.55; cursor: not-allowed; }

@media (max-width: 1100px) {
    .awdal-wallet-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .awdal-wallet-kpis { grid-template-columns: 1fr; }
    .awdal-wallet-kpi { min-height: 0; }
    .awdal-wallet-modal { padding: 22px 18px 18px; }
    .awdal-wallet-modal__footer { flex-direction: column-reverse; align-items: stretch; }
    .awdal-wallet-modal__submit { width: 100%; min-width: 0; }
}

/* Merchant notifications */
.awdal-mnotify { display: flex; flex-direction: column; gap: 20px; }
.awdal-mnotify__day {
    margin: 0 4px 0; font-family: var(--font-kufi); font-size: 15px;
    font-weight: 700; color: var(--awdal-dark);
}
.awdal-mnotify__list {
    background: #fff; border-radius: var(--awdal-radius-xl);
    box-shadow: var(--shadow-card); overflow: hidden;
}
.awdal-mnotify__item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px 24px; border-bottom: 1px solid var(--awdal-border);
}
.awdal-mnotify__item:last-child { border-bottom: none; }
.awdal-mnotify__item.is-unread { background: #F7FBF8; }
.awdal-mnotify__icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.awdal-mnotify__icon--info { background: #EFF6FF; color: #2563EB; }
.awdal-mnotify__icon--purple { background: #F3F0FF; color: #6D28D9; }
.awdal-mnotify__icon--success { background: #ECFDF3; color: #1B7A4A; }
.awdal-mnotify__icon--warning { background: #FFF6E5; color: #D4A843; }
.awdal-mnotify__icon--primary { background: var(--awdal-primary-light); color: var(--awdal-primary); }
.awdal-mnotify__body { flex: 1; min-width: 0; }
.awdal-mnotify__top {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; margin-bottom: 4px;
}
.awdal-mnotify__title {
    margin: 0; font-size: 14px; font-weight: 600; color: var(--awdal-dark);
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.awdal-mnotify__item.is-unread .awdal-mnotify__title { font-weight: 700; }
.awdal-mnotify__badge {
    display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
    border-radius: 999px; background: var(--awdal-primary-light);
    color: var(--awdal-primary); font-size: 11px; font-weight: 700;
}
.awdal-mnotify__time { font-size: 12px; color: var(--awdal-muted); flex-shrink: 0; white-space: nowrap; }
.awdal-mnotify__text {
    margin: 0; font-size: 13px; line-height: 1.7; color: var(--awdal-muted);
}
.awdal-mnotify__actions {
    display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap;
}
.awdal-mnotify__link,
.awdal-mnotify__read {
    display: inline-flex; align-items: center; gap: 4px;
    height: 32px; padding: 0 12px; border-radius: 999px;
    font-family: inherit; font-size: 12px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
}
.awdal-mnotify__link { background: #F3F0F8; color: var(--awdal-muted); }
.awdal-mnotify__link:hover { background: #EDE8F7; color: var(--awdal-dark); }
.awdal-mnotify__read { background: transparent; color: var(--awdal-primary); padding: 0; }
.awdal-mnotify__read:hover { color: var(--awdal-primary-hover); }
@media (max-width: 640px) {
    .awdal-mnotify__item { padding: 16px; }
    .awdal-mnotify__top { flex-direction: column; gap: 6px; }
}

/* Merchant reports */
.awdal-report-charts {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px;
}
.awdal-report-panel {
    background: #fff; border-radius: var(--awdal-radius-xl);
    box-shadow: var(--shadow-card); padding: 22px 24px 20px; min-height: 280px;
}
.awdal-report-panel__title {
    font-family: var(--font-kufi); font-size: 16px; font-weight: 700;
    color: var(--awdal-dark); margin: 0 0 20px;
}
.awdal-report-bars { display: flex; flex-direction: column; gap: 18px; padding: 4px 0 8px; }
.awdal-report-bars__row {
    display: flex; align-items: center; gap: 14px;
}
.awdal-report-bars__label {
    width: 88px; flex-shrink: 0; font-size: 13px; color: var(--awdal-muted); text-align: right;
}
.awdal-report-bars__track {
    flex: 1; min-width: 0; height: 8px; background: transparent;
    display: flex; justify-content: flex-start;
}
.awdal-report-bars__fill {
    display: block; height: 8px; border-radius: 999px; min-width: 0;
}
.awdal-report-bars__value {
    width: 48px; flex-shrink: 0; font-size: 13px; color: var(--awdal-muted); text-align: left;
}
.awdal-report-line { height: 200px; }
.awdal-report-line__caption {
    margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--awdal-muted);
}
.awdal-report-tabs { justify-content: flex-start; margin-bottom: 16px; }
.awdal-report-table { min-width: 880px; }
.awdal-report-table__sales { color: var(--awdal-primary); font-weight: 600; white-space: nowrap; }

@media (max-width: 980px) {
    .awdal-report-charts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .awdal-report-bars__label { width: 72px; font-size: 12px; }
    .awdal-report-bars__value { width: 36px; font-size: 12px; }
}

/* User FAQ page */
.awdal-faq {
    padding: 48px 0 80px;
    background: #F7F7F8;
}
.awdal-faq__inner { max-width: 760px; }
.awdal-faq__head { text-align: center; margin-bottom: 28px; }
.awdal-faq__title {
    margin: 0; font-family: var(--font-kufi); font-size: 32px; font-weight: 700;
    color: #111827; line-height: 1.4;
}
.awdal-faq__search {
    display: flex; align-items: center; gap: 10px;
    height: 52px; padding: 0 20px; margin: 0 auto 24px;
    border-radius: 999px; background: #fff; border: 1px solid #EFEFEF;
}
.awdal-faq__search i { color: #9CA3AF; font-size: 18px; }
.awdal-faq__search input {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: none;
    background: transparent; font-family: inherit; font-size: 14px; color: #111827;
}
.awdal-faq__search input::placeholder { color: #9CA3AF; }
.awdal-faq__cats {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin: 0 0 28px;
}
.awdal-faq__cat {
    height: 36px; padding: 0 16px; border-radius: 999px; cursor: pointer;
    background: #fff; border: 1px solid #E5E7EB; color: #374151;
    font-family: inherit; font-size: 13px; font-weight: 600;
}
.awdal-faq__cat:hover { border-color: #D1D5DB; }
.awdal-faq__cat.is-active {
    background: #111827; border-color: #111827; color: #fff;
}
.awdal-faq__list { display: flex; flex-direction: column; gap: 10px; }
.awdal-faq__item {
    background: #fff; border-radius: 18px; border: 1px solid #F0F0F0;
    overflow: hidden;
}
.awdal-faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; padding: 18px 20px; border: 0; background: none; cursor: pointer;
    text-align: start; font-family: inherit; font-size: 14px; font-weight: 600;
    color: #111827; line-height: 1.7;
}
.awdal-faq__q i { color: #9CA3AF; font-size: 20px; flex-shrink: 0; }
.awdal-faq__item.is-open .awdal-faq__q i { color: #6B7280; }
.awdal-faq__a {
    display: none; padding: 0 20px 18px; font-size: 13px; line-height: 1.9; color: #6B7280;
}
.awdal-faq__empty {
    margin: 12px 0 0; text-align: center; color: #9CA3AF; font-size: 14px;
}
.awdal-faq__cta {
    margin-top: 40px; padding: 36px 24px; text-align: center;
    background: var(--awdal-primary); border-radius: 28px; color: #fff;
}
.awdal-faq__cta-title {
    margin: 0 0 8px; font-family: var(--font-kufi); font-size: 22px; font-weight: 700;
}
.awdal-faq__cta-desc { margin: 0 0 20px; font-size: 13px; opacity: 0.85; }
.awdal-faq__cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 42px; padding: 0 28px; border-radius: 999px;
    background: #fff; color: var(--awdal-primary); text-decoration: none;
    font-family: var(--font-kufi); font-size: 14px; font-weight: 700;
}
.awdal-faq__cta-btn:hover { background: #F3F4F6; color: var(--awdal-primary-hover); }
@media (max-width: 640px) {
    .awdal-faq { padding: 32px 0 56px; }
    .awdal-faq__title { font-size: 26px; }
    .awdal-faq__cta { padding: 28px 18px; border-radius: 22px; }
}

/* User about page */
.awdal-about {
    padding: 48px 0 80px;
    background: #F7F7F8;
}
.awdal-about__inner { max-width: 980px; }
.awdal-about__head { text-align: center; margin-bottom: 36px; }
.awdal-about__title {
    margin: 0 0 16px; font-family: var(--font-kufi); font-size: 32px; font-weight: 700;
    color: #111827; line-height: 1.4;
}
.awdal-about__lead {
    margin: 0 auto; max-width: 720px; font-size: 15px; line-height: 1.9; color: #6B7280;
}
.awdal-about__lead p { margin: 0 0 12px; }
.awdal-about__lead p:last-child { margin-bottom: 0; }
.awdal-about__media {
    display: grid; gap: 16px; margin: 0 0 40px;
}
.awdal-about__media--pair { grid-template-columns: 1.2fr 0.8fr; }
.awdal-about__figure {
    margin: 0; border-radius: 24px; overflow: hidden; background: #fff;
    min-height: 220px;
}
.awdal-about__figure img {
    width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px;
}
.awdal-about__pillars {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px;
}
.awdal-about__pillar {
    background: #fff; border-radius: 22px; padding: 28px 24px;
    border: 1px solid #F0F0F0;
}
.awdal-about__pillar-icon {
    width: 48px; height: 48px; border-radius: 16px; margin-bottom: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--awdal-primary-light); color: var(--awdal-primary); font-size: 22px;
}
.awdal-about__pillar h2 {
    margin: 0 0 10px; font-family: var(--font-kufi); font-size: 20px; color: #111827;
}
.awdal-about__pillar p,
.awdal-about__pillar-content { margin: 0; font-size: 14px; line-height: 1.8; color: #6B7280; }
.awdal-about__pillar-content p { margin: 0; }
.awdal-about__stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    margin-bottom: 40px;
}
.awdal-about__stat {
    text-align: center; background: #fff; border-radius: 20px; padding: 24px 12px;
    border: 1px solid #F0F0F0;
}
.awdal-about__stat strong {
    display: block; font-family: var(--font-kufi); font-size: 32px; font-weight: 700;
    color: var(--awdal-primary); line-height: 1.2;
}
.awdal-about__stat span { display: block; margin-top: 8px; font-size: 13px; color: #6B7280; }
.awdal-about__values {
    background: #fff; border-radius: 24px; padding: 36px 28px; margin-bottom: 40px;
    border: 1px solid #F0F0F0;
}
.awdal-about__values-title {
    margin: 0 0 24px; text-align: center; font-family: var(--font-kufi);
    font-size: 22px; color: #111827;
}
.awdal-about__values-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.awdal-about__cta {
    padding: 36px 24px; text-align: center;
    background: var(--awdal-primary); border-radius: 28px; color: #fff;
}
.awdal-about__cta-title {
    margin: 0 0 8px; font-family: var(--font-kufi); font-size: 22px; font-weight: 700;
}
.awdal-about__cta-desc { margin: 0 0 20px; font-size: 13px; opacity: 0.85; }
.awdal-about__cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.awdal-about__cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 42px; padding: 0 24px; border-radius: 999px;
    background: transparent; color: #fff; text-decoration: none;
    border: 1px solid rgba(255,255,255,0.35);
    font-family: var(--font-kufi); font-size: 14px; font-weight: 700;
}
.awdal-about__cta-btn--light { background: #fff; color: var(--awdal-primary); border-color: #fff; }
.awdal-about__cta-btn:hover { background: #F3F4F6; color: var(--awdal-primary-hover); border-color: #F3F4F6; }
@media (max-width: 768px) {
    .awdal-about { padding: 32px 0 56px; }
    .awdal-about__title { font-size: 26px; }
    .awdal-about__media--pair,
    .awdal-about__pillars,
    .awdal-about__values-grid,
    .awdal-about__stats { grid-template-columns: 1fr; }
    .awdal-about__values { padding: 24px 18px; }
    .awdal-about__cta { padding: 28px 18px; border-radius: 22px; }
}

.awdal-merchant-settings,
.awdal-merchant-page { width: 100%; }
.awdal-merchant-page__card { padding: 32px; }
.awdal-merchant-page__body {
    line-height: 1.9;
    font-size: 15px;
    color: var(--awdal-text);
}
.awdal-merchant-page__body > *:first-child { margin-top: 0; }
.awdal-merchant-page__body > *:last-child { margin-bottom: 0; }
.awdal-merchant-page__body p { margin: 0 0 16px; }
.awdal-merchant-page__body h1,
.awdal-merchant-page__body h2,
.awdal-merchant-page__body h3 {
    margin: 24px 0 12px;
    color: var(--awdal-primary);
}
.awdal-merchant-page__body ul,
.awdal-merchant-page__body ol { margin: 0 0 16px; padding-inline-start: 22px; }

[dir="ltr"] .awdal-merchant__sidebar {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid var(--awdal-border);
}
[dir="ltr"] .awdal-merchant__main {
    margin-right: 0;
    margin-left: var(--awdal-sidebar-w);
}
[dir="ltr"] .awdal-merchant__user-menu {
    left: auto;
    right: 0;
}
@media (max-width: 768px) {
    [dir="ltr"] .awdal-merchant__sidebar { transform: translateX(-100%); }
    [dir="ltr"] .awdal-merchant__sidebar.is-open { transform: translateX(0); }
    [dir="ltr"] .awdal-merchant__main { margin-left: 0; }
}

/* Reward / package cards (campaign detail) */
.awdal-reward-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.awdal-reward-card {
    background: #fff;
    border: 1px solid var(--awdal-border);
    border-radius: var(--awdal-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.awdal-reward-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--awdal-primary-light);
}
.awdal-reward-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.awdal-reward-card__fav {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
}
.awdal-reward-card__fav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.awdal-reward-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.awdal-reward-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--awdal-dark);
}
.awdal-reward-card__price {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--awdal-primary);
}
.awdal-reward-card__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--awdal-muted);
}
.awdal-reward-card__includes {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 12px 14px;
}
.awdal-reward-card__includes-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--awdal-muted);
    margin-bottom: 6px;
}
.awdal-reward-card__includes-text {
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.awdal-reward-card__form { margin-top: auto; }
.awdal-reward-card__cta {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .awdal-reward-grid { grid-template-columns: 1fr; gap: 16px; }
    .awdal-grid-3 { grid-template-columns: 1fr; }
    .awdal-campaign-card__save {
        width: 44px;
        height: 44px;
    }
    .awdal-cdetail__cta-row,
    .awdal-cart-actions { flex-direction: column; }
    .awdal-cdetail__cta-btn,
    .awdal-cart-actions .awdal-btn,
    .awdal-checkout-actions .awdal-btn {
        width: 100%;
        min-height: 52px;
        white-space: normal;
    }
    .awdal-reward-card-wrap,
    .awdal-reward-card,
    .awdal-reward-card__body,
    .awdal-reward-card__form {
        min-width: 0;
        max-width: 100%;
    }
    .awdal-reward-card__media { overflow: hidden; }
    .awdal-reward-card__media img { display: block; }
    .awdal-reward-card__title,
    .awdal-reward-card__price,
    .awdal-reward-card__desc,
    .awdal-reward-card__includes-text span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .awdal-reward-card__includes-text {
        align-items: flex-start;
    }
    .awdal-reward-card__includes-text i { flex-shrink: 0; margin-top: 2px; }
    .awdal-reward-card__body { padding: 16px; gap: 8px; }
    .awdal-reward-card__title { font-size: 16px; }
    .awdal-reward-card__price { font-size: 20px; }
    .awdal-reward-card__cta {
        font-size: 14px;
        padding: 12px 14px;
        white-space: normal;
        line-height: 1.4;
        text-align: center;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .awdal-wiz-pill,
    .awdal-filter-chip {
        min-height: 44px;
        padding-inline: 16px;
    }
}
