/* ============================================================
   inbithaq_dashboard — shared inline styles extracted from pages
   Block 1: Sonner toast notifications.  Block 2: marquee animations.
   Linked on every page after app.css. Do not inline these again.
   ============================================================ */

/* ---- Sonner toaster ---- */
[data-sonner-toaster][dir="ltr"],
            html[dir="ltr"] {
                --toast-icon-margin-start: -3px;
                --toast-icon-margin-end: 4px;
                --toast-svg-margin-start: -1px;
                --toast-svg-margin-end: 0px;
                --toast-button-margin-start: auto;
                --toast-button-margin-end: 0;
                --toast-close-button-start: 0;
                --toast-close-button-end: unset;
                --toast-close-button-transform: translate(-35%, -35%);
            }
            [data-sonner-toaster][dir="rtl"],
            html[dir="rtl"] {
                --toast-icon-margin-start: 4px;
                --toast-icon-margin-end: -3px;
                --toast-svg-margin-start: 0px;
                --toast-svg-margin-end: -1px;
                --toast-button-margin-start: 0;
                --toast-button-margin-end: auto;
                --toast-close-button-start: unset;
                --toast-close-button-end: 0;
                --toast-close-button-transform: translate(35%, -35%);
            }
            [data-sonner-toaster] {
                position: fixed;
                width: var(--width);
                font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
                    Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol,
                    Noto Color Emoji;
                --gray1: hsl(0, 0%, 99%);
                --gray2: hsl(0, 0%, 97.3%);
                --gray3: hsl(0, 0%, 95.1%);
                --gray4: hsl(0, 0%, 93%);
                --gray5: hsl(0, 0%, 90.9%);
                --gray6: hsl(0, 0%, 88.7%);
                --gray7: hsl(0, 0%, 85.8%);
                --gray8: hsl(0, 0%, 78%);
                --gray9: hsl(0, 0%, 56.1%);
                --gray10: hsl(0, 0%, 52.3%);
                --gray11: hsl(0, 0%, 43.5%);
                --gray12: hsl(0, 0%, 9%);
                --border-radius: 8px;
                box-sizing: border-box;
                padding: 0;
                margin: 0;
                list-style: none;
                outline: 0;
                z-index: 999999999;
                transition: transform 0.4s ease;
            }
            @media (hover: none) and (pointer: coarse) {
                [data-sonner-toaster][data-lifted="true"] {
                    transform: none;
                }
            }
            [data-sonner-toaster][data-x-position="right"] {
                right: var(--offset-right);
            }
            [data-sonner-toaster][data-x-position="left"] {
                left: var(--offset-left);
            }
            [data-sonner-toaster][data-x-position="center"] {
                left: 50%;
                transform: translateX(-50%);
            }
            [data-sonner-toaster][data-y-position="top"] {
                top: var(--offset-top);
            }
            [data-sonner-toaster][data-y-position="bottom"] {
                bottom: var(--offset-bottom);
            }
            [data-sonner-toast] {
                --y: translateY(100%);
                --lift-amount: calc(var(--lift) * var(--gap));
                z-index: var(--z-index);
                position: absolute;
                opacity: 0;
                transform: var(--y);
                touch-action: none;
                transition: transform 0.4s, opacity 0.4s, height 0.4s, box-shadow 0.2s;
                box-sizing: border-box;
                outline: 0;
                overflow-wrap: anywhere;
            }
            [data-sonner-toast][data-styled="true"] {
                padding: 16px;
                background: var(--normal-bg);
                border: 1px solid var(--normal-border);
                color: var(--normal-text);
                border-radius: var(--border-radius);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                width: var(--width);
                font-size: 13px;
                display: flex;
                align-items: center;
                gap: 6px;
            }
            [data-sonner-toast]:focus-visible {
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(0, 0, 0, 0.2);
            }
            [data-sonner-toast][data-y-position="top"] {
                top: 0;
                --y: translateY(-100%);
                --lift: 1;
                --lift-amount: calc(1 * var(--gap));
            }
            [data-sonner-toast][data-y-position="bottom"] {
                bottom: 0;
                --y: translateY(100%);
                --lift: -1;
                --lift-amount: calc(var(--lift) * var(--gap));
            }
            [data-sonner-toast][data-styled="true"] [data-description] {
                font-weight: 400;
                line-height: 1.4;
                color: #3f3f3f;
            }
            [data-rich-colors="true"][data-sonner-toast][data-styled="true"] [data-description] {
                color: inherit;
            }
            [data-sonner-toaster][data-sonner-theme="dark"] [data-description] {
                color: #e8e8e8;
            }
            [data-sonner-toast][data-styled="true"] [data-title] {
                font-weight: 500;
                line-height: 1.5;
                color: inherit;
            }
            [data-sonner-toast][data-styled="true"] [data-icon] {
                display: flex;
                height: 16px;
                width: 16px;
                position: relative;
                justify-content: flex-start;
                align-items: center;
                flex-shrink: 0;
                margin-left: var(--toast-icon-margin-start);
                margin-right: var(--toast-icon-margin-end);
            }
            [data-sonner-toast][data-promise="true"] [data-icon] > svg {
                opacity: 0;
                transform: scale(0.8);
                transform-origin: center;
                animation: sonner-fade-in 0.3s ease forwards;
            }
            [data-sonner-toast][data-styled="true"] [data-icon] > * {
                flex-shrink: 0;
            }
            [data-sonner-toast][data-styled="true"] [data-icon] svg {
                margin-left: var(--toast-svg-margin-start);
                margin-right: var(--toast-svg-margin-end);
            }
            [data-sonner-toast][data-styled="true"] [data-content] {
                display: flex;
                flex-direction: column;
                gap: 2px;
            }
            [data-sonner-toast][data-styled="true"] [data-button] {
                border-radius: 4px;
                padding-left: 8px;
                padding-right: 8px;
                height: 24px;
                font-size: 12px;
                color: var(--normal-bg);
                background: var(--normal-text);
                margin-left: var(--toast-button-margin-start);
                margin-right: var(--toast-button-margin-end);
                border: none;
                font-weight: 500;
                cursor: pointer;
                outline: 0;
                display: flex;
                align-items: center;
                flex-shrink: 0;
                transition: opacity 0.4s, box-shadow 0.2s;
            }
            [data-sonner-toast][data-styled="true"] [data-button]:focus-visible {
                box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
            }
            [data-sonner-toast][data-styled="true"] [data-button]:first-of-type {
                margin-left: var(--toast-button-margin-start);
                margin-right: var(--toast-button-margin-end);
            }
            [data-sonner-toast][data-styled="true"] [data-cancel] {
                color: var(--normal-text);
                background: rgba(0, 0, 0, 0.08);
            }
            [data-sonner-toaster][data-sonner-theme="dark"] [data-sonner-toast][data-styled="true"] [data-cancel] {
                background: rgba(255, 255, 255, 0.3);
            }
            [data-sonner-toast][data-styled="true"] [data-close-button] {
                position: absolute;
                left: var(--toast-close-button-start);
                right: var(--toast-close-button-end);
                top: 0;
                height: 20px;
                width: 20px;
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 0;
                color: var(--gray12);
                background: var(--normal-bg);
                border: 1px solid var(--gray4);
                transform: var(--toast-close-button-transform);
                border-radius: 50%;
                cursor: pointer;
                z-index: 1;
                transition: opacity 0.1s, background 0.2s, border-color 0.2s;
            }
            [data-sonner-toast][data-styled="true"] [data-close-button]:focus-visible {
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(0, 0, 0, 0.2);
            }
            [data-sonner-toast][data-styled="true"] [data-disabled="true"] {
                cursor: not-allowed;
            }
            [data-sonner-toast][data-styled="true"]:hover [data-close-button]:hover {
                background: var(--gray2);
                border-color: var(--gray5);
            }
            [data-sonner-toast][data-swiping="true"]::before {
                content: "";
                position: absolute;
                left: -100%;
                right: -100%;
                height: 100%;
                z-index: -1;
            }
            [data-sonner-toast][data-y-position="top"][data-swiping="true"]::before {
                bottom: 50%;
                transform: scaleY(3) translateY(50%);
            }
            [data-sonner-toast][data-y-position="bottom"][data-swiping="true"]::before {
                top: 50%;
                transform: scaleY(3) translateY(-50%);
            }
            [data-sonner-toast][data-swiping="false"][data-removed="true"]::before {
                content: "";
                position: absolute;
                inset: 0;
                transform: scaleY(2);
            }
            [data-sonner-toast][data-expanded="true"]::after {
                content: "";
                position: absolute;
                left: 0;
                height: calc(var(--gap) + 1px);
                bottom: 100%;
                width: 100%;
            }
            [data-sonner-toast][data-mounted="true"] {
                --y: translateY(0);
                opacity: 1;
            }
            [data-sonner-toast][data-expanded="false"][data-front="false"] {
                --scale: var(--toasts-before) * 0.05 + 1;
                --y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));
                height: var(--front-toast-height);
            }
            [data-sonner-toast] > * {
                transition: opacity 0.4s;
            }
            [data-sonner-toast][data-x-position="right"] {
                right: 0;
            }
            [data-sonner-toast][data-x-position="left"] {
                left: 0;
            }
            [data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"] > * {
                opacity: 0;
            }
            [data-sonner-toast][data-visible="false"] {
                opacity: 0;
                pointer-events: none;
            }
            [data-sonner-toast][data-mounted="true"][data-expanded="true"] {
                --y: translateY(calc(var(--lift) * var(--offset)));
                height: var(--initial-height);
            }
            [data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"] {
                --y: translateY(calc(var(--lift) * -100%));
                opacity: 0;
            }
            [data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"] {
                --y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));
                opacity: 0;
            }
            [data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"] {
                --y: translateY(40%);
                opacity: 0;
                transition: transform 0.5s, opacity 0.2s;
            }
            [data-sonner-toast][data-removed="true"][data-front="false"]::before {
                height: calc(var(--initial-height) + 20%);
            }
            [data-sonner-toast][data-swiping="true"] {
                transform: var(--y) translateY(var(--swipe-amount-y, 0)) translateX(var(--swipe-amount-x, 0));
                transition: none;
            }
            [data-sonner-toast][data-swiped="true"] {
                user-select: none;
            }
            [data-sonner-toast][data-swipe-out="true"][data-y-position="bottom"],
            [data-sonner-toast][data-swipe-out="true"][data-y-position="top"] {
                animation-duration: 0.2s;
                animation-timing-function: ease-out;
                animation-fill-mode: forwards;
            }
            [data-sonner-toast][data-swipe-out="true"][data-swipe-direction="left"] {
                animation-name: swipe-out-left;
            }
            [data-sonner-toast][data-swipe-out="true"][data-swipe-direction="right"] {
                animation-name: swipe-out-right;
            }
            [data-sonner-toast][data-swipe-out="true"][data-swipe-direction="up"] {
                animation-name: swipe-out-up;
            }
            [data-sonner-toast][data-swipe-out="true"][data-swipe-direction="down"] {
                animation-name: swipe-out-down;
            }
            @keyframes swipe-out-left {
                from {
                    transform: var(--y) translateX(var(--swipe-amount-x));
                    opacity: 1;
                }
                to {
                    transform: var(--y) translateX(calc(var(--swipe-amount-x) - 100%));
                    opacity: 0;
                }
            }
            @keyframes swipe-out-right {
                from {
                    transform: var(--y) translateX(var(--swipe-amount-x));
                    opacity: 1;
                }
                to {
                    transform: var(--y) translateX(calc(var(--swipe-amount-x) + 100%));
                    opacity: 0;
                }
            }
            @keyframes swipe-out-up {
                from {
                    transform: var(--y) translateY(var(--swipe-amount-y));
                    opacity: 1;
                }
                to {
                    transform: var(--y) translateY(calc(var(--swipe-amount-y) - 100%));
                    opacity: 0;
                }
            }
            @keyframes swipe-out-down {
                from {
                    transform: var(--y) translateY(var(--swipe-amount-y));
                    opacity: 1;
                }
                to {
                    transform: var(--y) translateY(calc(var(--swipe-amount-y) + 100%));
                    opacity: 0;
                }
            }
            @media (max-width: 600px) {
                [data-sonner-toaster] {
                    position: fixed;
                    right: var(--mobile-offset-right);
                    left: var(--mobile-offset-left);
                    width: 100%;
                }
                [data-sonner-toaster][dir="rtl"] {
                    left: calc(var(--mobile-offset-left) * -1);
                }
                [data-sonner-toaster] [data-sonner-toast] {
                    left: 0;
                    right: 0;
                    width: calc(100% - var(--mobile-offset-left) * 2);
                }
                [data-sonner-toaster][data-x-position="left"] {
                    left: var(--mobile-offset-left);
                }
                [data-sonner-toaster][data-y-position="bottom"] {
                    bottom: var(--mobile-offset-bottom);
                }
                [data-sonner-toaster][data-y-position="top"] {
                    top: var(--mobile-offset-top);
                }
                [data-sonner-toaster][data-x-position="center"] {
                    left: var(--mobile-offset-left);
                    right: var(--mobile-offset-right);
                    transform: none;
                }
            }
            [data-sonner-toaster][data-sonner-theme="light"] {
                --normal-bg: #fff;
                --normal-border: var(--gray4);
                --normal-text: var(--gray12);
                --success-bg: hsl(143, 85%, 96%);
                --success-border: hsl(145, 92%, 87%);
                --success-text: hsl(140, 100%, 27%);
                --info-bg: hsl(208, 100%, 97%);
                --info-border: hsl(221, 91%, 93%);
                --info-text: hsl(210, 92%, 45%);
                --warning-bg: hsl(49, 100%, 97%);
                --warning-border: hsl(49, 91%, 84%);
                --warning-text: hsl(31, 92%, 45%);
                --error-bg: hsl(359, 100%, 97%);
                --error-border: hsl(359, 100%, 94%);
                --error-text: hsl(360, 100%, 45%);
            }
            [data-sonner-toaster][data-sonner-theme="light"] [data-sonner-toast][data-invert="true"] {
                --normal-bg: #000;
                --normal-border: hsl(0, 0%, 20%);
                --normal-text: var(--gray1);
            }
            [data-sonner-toaster][data-sonner-theme="dark"] [data-sonner-toast][data-invert="true"] {
                --normal-bg: #fff;
                --normal-border: var(--gray3);
                --normal-text: var(--gray12);
            }
            [data-sonner-toaster][data-sonner-theme="dark"] {
                --normal-bg: #000;
                --normal-bg-hover: hsl(0, 0%, 12%);
                --normal-border: hsl(0, 0%, 20%);
                --normal-border-hover: hsl(0, 0%, 25%);
                --normal-text: var(--gray1);
                --success-bg: hsl(150, 100%, 6%);
                --success-border: hsl(147, 100%, 12%);
                --success-text: hsl(150, 86%, 65%);
                --info-bg: hsl(215, 100%, 6%);
                --info-border: hsl(223, 43%, 17%);
                --info-text: hsl(216, 87%, 65%);
                --warning-bg: hsl(64, 100%, 6%);
                --warning-border: hsl(60, 100%, 9%);
                --warning-text: hsl(46, 87%, 65%);
                --error-bg: hsl(358, 76%, 10%);
                --error-border: hsl(357, 89%, 16%);
                --error-text: hsl(358, 100%, 81%);
            }
            [data-sonner-toaster][data-sonner-theme="dark"] [data-sonner-toast] [data-close-button] {
                background: var(--normal-bg);
                border-color: var(--normal-border);
                color: var(--normal-text);
            }
            [data-sonner-toaster][data-sonner-theme="dark"] [data-sonner-toast] [data-close-button]:hover {
                background: var(--normal-bg-hover);
                border-color: var(--normal-border-hover);
            }
            [data-rich-colors="true"][data-sonner-toast][data-type="success"] {
                background: var(--success-bg);
                border-color: var(--success-border);
                color: var(--success-text);
            }
            [data-rich-colors="true"][data-sonner-toast][data-type="success"] [data-close-button] {
                background: var(--success-bg);
                border-color: var(--success-border);
                color: var(--success-text);
            }
            [data-rich-colors="true"][data-sonner-toast][data-type="info"] {
                background: var(--info-bg);
                border-color: var(--info-border);
                color: var(--info-text);
            }
            [data-rich-colors="true"][data-sonner-toast][data-type="info"] [data-close-button] {
                background: var(--info-bg);
                border-color: var(--info-border);
                color: var(--info-text);
            }
            [data-rich-colors="true"][data-sonner-toast][data-type="warning"] {
                background: var(--warning-bg);
                border-color: var(--warning-border);
                color: var(--warning-text);
            }
            [data-rich-colors="true"][data-sonner-toast][data-type="warning"] [data-close-button] {
                background: var(--warning-bg);
                border-color: var(--warning-border);
                color: var(--warning-text);
            }
            [data-rich-colors="true"][data-sonner-toast][data-type="error"] {
                background: var(--error-bg);
                border-color: var(--error-border);
                color: var(--error-text);
            }
            [data-rich-colors="true"][data-sonner-toast][data-type="error"] [data-close-button] {
                background: var(--error-bg);
                border-color: var(--error-border);
                color: var(--error-text);
            }
            .sonner-loading-wrapper {
                --size: 16px;
                height: var(--size);
                width: var(--size);
                position: absolute;
                inset: 0;
                z-index: 10;
            }
            .sonner-loading-wrapper[data-visible="false"] {
                transform-origin: center;
                animation: sonner-fade-out 0.2s ease forwards;
            }
            .sonner-spinner {
                position: relative;
                top: 50%;
                left: 50%;
                height: var(--size);
                width: var(--size);
            }
            .sonner-loading-bar {
                animation: sonner-spin 1.2s linear infinite;
                background: var(--gray11);
                border-radius: 6px;
                height: 8%;
                left: -10%;
                position: absolute;
                top: -3.9%;
                width: 24%;
            }
            .sonner-loading-bar:first-child {
                animation-delay: -1.2s;
                transform: rotate(0.0001deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(2) {
                animation-delay: -1.1s;
                transform: rotate(30deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(3) {
                animation-delay: -1s;
                transform: rotate(60deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(4) {
                animation-delay: -0.9s;
                transform: rotate(90deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(5) {
                animation-delay: -0.8s;
                transform: rotate(120deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(6) {
                animation-delay: -0.7s;
                transform: rotate(150deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(7) {
                animation-delay: -0.6s;
                transform: rotate(180deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(8) {
                animation-delay: -0.5s;
                transform: rotate(210deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(9) {
                animation-delay: -0.4s;
                transform: rotate(240deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(10) {
                animation-delay: -0.3s;
                transform: rotate(270deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(11) {
                animation-delay: -0.2s;
                transform: rotate(300deg) translate(146%);
            }
            .sonner-loading-bar:nth-child(12) {
                animation-delay: -0.1s;
                transform: rotate(330deg) translate(146%);
            }
            @keyframes sonner-fade-in {
                0% {
                    opacity: 0;
                    transform: scale(0.8);
                }
                100% {
                    opacity: 1;
                    transform: scale(1);
                }
            }
            @keyframes sonner-fade-out {
                0% {
                    opacity: 1;
                    transform: scale(1);
                }
                100% {
                    opacity: 0;
                    transform: scale(0.8);
                }
            }
            @keyframes sonner-spin {
                0% {
                    opacity: 1;
                }
                100% {
                    opacity: 0.15;
                }
            }
            @media (prefers-reduced-motion) {
                .sonner-loading-bar,
                [data-sonner-toast],
                [data-sonner-toast] > * {
                    transition: none !important;
                    animation: none !important;
                }
            }
            .sonner-loader {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                transform-origin: center;
                transition: opacity 0.2s, transform 0.2s;
            }
            .sonner-loader[data-visible="false"] {
                opacity: 0;
                transform: scale(0.8) translate(-50%, -50%);
            }

/* ---- Marquee animations ---- */
@keyframes marquee-rtl {
                    from {
                        transform: translateX(0);
                    }
                    to {
                        transform: translateX(50%);
                    }
                }
                .marquee-track {
                    animation: marquee-rtl 40s linear infinite;
                }
                .marquee-track-fast {
                    animation: marquee-rtl 40s linear infinite;
                }
                .marquee-track-reverse {
                    animation: marquee-rtl 40s linear infinite reverse;
                }
                .marquee-pause:hover .marquee-track,
                .marquee-pause:hover .marquee-track-fast,
                .marquee-pause:hover .marquee-track-reverse {
                    animation-play-state: paused;
                }

/* NEHA-30 (2026-10-06): the keyframe above only suits RTL — the track is anchored at
   the right edge and +50% brings its second copy in from the left. Under dir="ltr" the
   track is anchored at the LEFT, so the same +50% pushed it out of its box and the row
   went empty (measured: up to 1,058 of 1,152 px blank at 1280). LTR runs the mirror.
   Reduced motion: nothing moves; the row becomes an ordinary scrollable strip. */
@keyframes marquee-ltr {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
[dir="ltr"] .marquee-track,
[dir="ltr"] .marquee-track-fast,
[dir="ltr"] .marquee-track-reverse {
    animation-name: marquee-ltr;
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track,
    .marquee-track-fast,
    .marquee-track-reverse {
        animation: none !important;
    }
    .marquee-pause {
        overflow-x: auto;
        overflow-y: hidden;
    }
}

/* ============================================================
   Block 3: the header count badges (NEHA-17 / INBITHAQ-BADGES-1, 2026-09-30).

   app.css is a FROZEN Tailwind v4 build (191 824 bytes, 22 Aug 2026) — it is
   not regenerated when a blade is edited, so any utility class written after
   that build simply does not exist. partials/header.blade.php was authored on
   8 Sep and asked for `-top-1.5 -left-1.5`, neither of which app.css emits.
   The badge therefore kept `position:absolute` with all four offsets `auto`,
   which inside the `grid place-items-center` icon button resolves to the
   button's CENTRE — a filled disc sitting on top of the icon, the symptom
   Marc reported as "three unrelated circles".

   Written as ONE semantic class, not as the two missing Tailwind utilities,
   so the anchor is a LOGICAL property: `inset-inline-end` is the right corner
   under dir="ltr" and the left corner under dir="rtl", which is what this
   tenant needs (the dashboard renders RTL in ar and LTR in en from the same
   markup). Scoped to this stylesheet, which only the inbithaq_dashboard
   layout links — no other tenant loads it.
   ============================================================ */
.inb-badge {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    display: grid;
    place-items: center;
    height: 16px;
    min-width: 16px;
    padding-inline: 4px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    background: #a63a4a;
    /* Three digits must not stretch the 36px icon button or the header row. */
    box-sizing: border-box;
    pointer-events: none;
    white-space: nowrap;
}

/* ============================================================
   Block 4: the three header dropdown panels — bell, cart, currency
   (NEHA-26 / INBITHAQ-BELL-DROPDOWN-0, 2026-10-02).

   Same cause as Block 3: the panels in partials/header.blade.php asked for
   `top-[calc(100%+10px)]`, `shadow-[…]`, `max-h-72`, `min-w-[96px]` and
   `last:border-b-0`, none of which the frozen app.css emits, so every panel sat
   flush under its icon with no shadow. One semantic family instead of fresh
   utilities; logical properties only, so the card hangs from the icon's END
   corner (right in ltr, left in rtl) from the same markup. The toggle script
   keys on data-inb-dd / data-inb-dd-menu / [hidden], none of which change.
   ============================================================ */
.inb-panel {
    position: absolute;
    inset-block-start: calc(100% + 10px);
    inset-inline-end: 0;
    z-index: 50;
    width: 320px;
    /* 390px phones: never wider than the viewport minus the page gutter. */
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(27, 43, 75, 0.10);
    background: #ffffff;
    color: #1b2b4b;
    box-shadow: 0 24px 60px -20px rgba(27, 43, 75, 0.35);
}
.inb-panel[hidden] {
    display: none;
}
/* The currency menu: a small START-anchored list under its pill. */
.inb-panel-sm {
    inset-block-start: calc(100% + 6px);
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: auto;
    min-width: 96px;
    max-width: none;
    padding: 4px;
    border-radius: 12px;
    box-shadow: 0 16px 44px -18px rgba(27, 43, 75, 0.45);
}
.inb-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(27, 43, 75, 0.10);
}
.inb-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 320px;
    overflow-y: auto;
}
.inb-panel-list > li:last-child {
    border-bottom: 0;
}
.inb-panel-empty {
    margin: 0;
    padding: 24px 16px;
    text-align: center;
    font-size: 13px;
    color: rgba(27, 43, 75, 0.5);
}

/* ============================================================
   Block 5 — NEHA-27 (2026-10-02): the trial-session booking modal on
   /inbithaq/supervision. app.css is a frozen Tailwind build (INV-C02-86), so
   every NEW state lives here as a semantic class: the close button on the
   END side (the avatar sits at the start), a thin scrollbar on the slot list,
   disabled past days / past hours / week arrows, the pressed slot and the
   confirm button's two states. Logical properties: the dialog is dir="rtl".
   ============================================================ */
.inb-dialog-close {
    position: absolute;
    inset-inline-end: 16px;
    inset-block-start: 16px;
}
.inb-book-sup {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(27, 43, 75, 0.65);
}
.inb-book-sup[hidden] {
    display: none;
}
.inb-slot-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(166, 58, 74, 0.45) transparent;
}
.inb-slot-list::-webkit-scrollbar {
    width: 6px;
}
.inb-slot-list::-webkit-scrollbar-track {
    background: transparent;
}
.inb-slot-list::-webkit-scrollbar-thumb {
    background: rgba(166, 58, 74, 0.45);
    border-radius: 999px;
}
.inb-day[disabled],
.inb-slot[disabled],
.inb-wk-btn[disabled] {
    opacity: 0.38;
    cursor: not-allowed;
}
.inb-day[disabled]:hover,
.inb-slot[disabled]:hover,
.inb-wk-btn[disabled]:hover {
    background-color: transparent;
}
.inb-slot[aria-pressed="true"] {
    border-color: #A63A4A;
    background-color: rgba(166, 58, 74, 0.08);
    box-shadow: inset 0 0 0 1px #A63A4A;
}
.inb-confirm {
    background-color: rgba(27, 43, 75, 0.10);
    color: rgba(27, 43, 75, 0.40);
    cursor: not-allowed;
}
.inb-confirm:not([disabled]) {
    background-color: #A63A4A;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.inb-confirm:not([disabled]):hover {
    background-color: #8F2F3E;
}

/* ============================================================
   Block 6 — NEHA-30 (2026-10-06): the home course rows are carousels
   (index.blade.php: featured / focus / free).

   The export shipped them as CSS marquees: an overflow-hidden box whose track
   was pushed by an endless animation. Nobody could steer them (no arrows, no
   swipe), a still frame always showed a cut card, and under dir="ltr" the
   track slid out of its box. They are native scroll rows now: scroll-snap,
   one card = one snap point, swipe on touch. The card width is a share of the
   row so a whole number of cards is at rest (1 / 2 / 3 / 4 by viewport) —
   this overrides the export's w-[min(78vw,300px)] on the card wrapper.
   Semantic classes only: app.css is a frozen build (INV-C02-86). Logical
   properties only: the same markup is RTL in ar and LTR in en. The arrows are
   added by interactions.js homeCarousels(); without JS the row still scrolls.
   ============================================================ */
.inb-carousel {
    position: relative;
    /* cards per page; the card width and the arrows' height both derive from it */
    --inb-per: 1;
    container-type: inline-size;
}
@media (min-width: 560px) {
    .inb-carousel {
        --inb-per: 2;
    }
}
@media (min-width: 900px) {
    .inb-carousel {
        --inb-per: 3;
    }
}
@media (min-width: 1100px) {
    .inb-carousel {
        --inb-per: 4;
    }
}
.inb-carousel .inb-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* room for the card's hover lift and the top of its shadow */
    padding-block: 4px 14px;
}
.inb-carousel .inb-carousel-track::-webkit-scrollbar {
    display: none;
}
@media (prefers-reduced-motion: no-preference) {
    .inb-carousel .inb-carousel-track {
        scroll-behavior: smooth;
    }
}
.inb-carousel .inb-carousel-track > * {
    flex: 0 0 calc((100% - 16px * (var(--inb-per) - 1)) / var(--inb-per));
    width: auto;
    min-width: 0;
    max-width: none;
    scroll-snap-align: start;
}
/* The second copy of every card (the marquee's loop filler) stays in the markup
   but is never laid out. The wrapper also carries the [hidden] attribute. */
.inb-carousel-dup {
    display: none !important;
}
/* The desktop hover card (absolute, beside its course card) used to be laid out
   permanently at opacity 0. Inside a scroll row that would add an empty page
   after the last card, so it only exists while its card is hovered. */
.inb-carousel .inb-carousel-track [class*="group-hover/card:opacity-100"] {
    display: none;
}
@media (min-width: 1024px) and (hover: hover) {
    .inb-carousel .inb-carousel-track .group\/card:hover [class*="group-hover/card:opacity-100"] {
        display: block;
    }
}
.inb-carousel-btn {
    position: absolute;
    inset-block-start: calc(50% - 5px);
    transform: translateY(-50%);
    z-index: 10;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: #A63A4A;
    color: #ffffff;
    box-shadow: 0 8px 20px -8px rgba(27, 43, 75, 0.45);
    cursor: pointer;
    transition: background-color 0.15s, opacity 0.15s;
}
/* Centre the arrows on the card IMAGE (16:9 of the card width), so they never sit on
   the title or the price: 4px track padding + half the image height. Browsers without
   container units keep the mid-row position above. */
@supports (width: 1cqw) {
    .inb-carousel-btn {
        inset-block-start: calc(4px + (100cqw - 16px * (var(--inb-per) - 1)) / var(--inb-per) * 0.28125);
    }
}
.inb-carousel-btn:hover {
    background: #8B2D3A;
}
.inb-carousel-btn:focus-visible {
    outline: 2px solid #1B2B4B;
    outline-offset: 2px;
}
/* "previous" sits on the START side (right in ar, left in en), "next" on the END side. */
.inb-carousel-prev {
    inset-inline-start: -14px;
}
.inb-carousel-next {
    inset-inline-end: -14px;
}
@media (max-width: 559px) {
    .inb-carousel-btn {
        width: 36px;
        height: 36px;
    }
    .inb-carousel-prev {
        inset-inline-start: -10px;
    }
    .inb-carousel-next {
        inset-inline-end: -10px;
    }
}
/* Shared arrow states, set by interactions.js steer() on the home carousels AND on the
   export's own arrow rows (the home pill row, the programs rows): at an end = disabled,
   nothing to scroll = not shown. */
.inb-ctl[disabled] {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}
.inb-ctl-off {
    display: none !important;
}

/* ============================================================
   NEHA-31 (2026-10-06) — /inbithaq/supervision on real tutor data.
   The cards reuse the export's own utility classes (the Tailwind build is
   frozen — NEHA-17); everything the export never had is a semantic
   .inb-sup-* rule here. Markup: supervision.blade.php +
   partials/supervisor-card.blade.php; behaviour: assets/supervision.js.
   ============================================================ */
.inb-sup-card[hidden],
.inb-sup-nomatch[hidden],
.inb-sup-more[hidden] {
    display: none;
}
/* Avatar: the initial sits under the photo, so a missing or broken photo
   (supervision.js removes a failed <img>) leaves the export's gradient circle. */
.inb-sup-avatar > * {
    grid-area: 1 / 1;
}
.inb-sup-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.inb-sup-title {
    margin-top: 2px;
    font-size: 11.5px;
    color: rgba(27, 43, 75, 0.6);
}
.inb-sup-star {
    fill: #e0a93b;
    color: #e0a93b;
}
.inb-sup-bio-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.inb-sup-bio.is-open .inb-sup-bio-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
/* The export drew this divider with md:border-r (right edge = RTL only). */
@media (min-width: 768px) {
    .inb-sup-side {
        border-top-width: 0;
        border-inline-start: 1px solid rgba(27, 43, 75, 0.1);
    }
}
.inb-sup-old-price {
    margin-inline-end: 6px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(27, 43, 75, 0.45);
}
.inb-sup-empty,
.inb-sup-nomatch {
    margin: 2rem auto 0;
    max-width: 30rem;
    padding: 2rem 1.25rem;
    border: 1px dashed rgba(27, 43, 75, 0.2);
    border-radius: 1.5rem;
    background: #fff8fa;
    text-align: center;
    color: rgba(27, 43, 75, 0.7);
    font-size: 13px;
}
.inb-sup-empty-title {
    font-size: 16px;
    font-weight: 700;
    color: #1b2b4b;
}
.inb-sup-empty-hint {
    margin-top: 6px;
}
/* Stage 1b — weekly availability + the request modal on real slots. */
.inb-sup-noslots {
    padding: 14px 8px;
    text-align: center;
    font-size: 11.5px;
    color: rgba(27, 43, 75, 0.55);
}
.inb-sup-book[disabled],
.inb-sup-full[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}
.inb-sup-m-state {
    padding: 28px 8px;
    text-align: center;
    font-size: 12.5px;
    color: rgba(27, 43, 75, 0.6);
}
.inb-sup-m-state[hidden] {
    display: none;
}
/* The dialog header carries the export's sm:text-left, which in RTL pushes the title
   under the close button at the far end; the title belongs beside the avatar. */
#inb-sup-m-title,
#inb-sup-m-name {
    text-align: start;
}
/* The export drew the week arrows for RTL only (previous = chevron-right). */
[dir="ltr"] .inb-sup-m-arrow svg {
    transform: scaleX(-1);
}
/* The page's floating buttons (WhatsApp z 110, the toggle z 100) sat on top of the open
   dialogs — on the message box they covered the send button. An open dialog is above them. */
#inb-sup-modal > [role="dialog"],
#inb-sup-chat > [role="dialog"] {
    z-index: 120;
}
/* Stage 1d — profile links, the favourite heart, the message box. */
.inb-sup-link {
    color: inherit;
    text-decoration: none;
}
.inb-sup-link:hover {
    text-decoration: underline;
}
.inb-sup-avatar > a {
    width: 100%;
    height: 100%;
}
.inb-sup-fav[aria-pressed="true"] {
    background: #a85c6e;
    color: #fff;
}
.inb-sup-fav[aria-pressed="true"] .inb-sup-heart {
    fill: currentColor;
}
.inb-sup-fav[disabled],
.inb-sup-msg[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}
.inb-sup-c-send:not([disabled]) {
    background: #a63a4a;
    color: #fff;
    cursor: pointer;
}
.inb-sup-c-note {
    margin: 2px 0;
    text-align: center;
    font-size: 10.5px;
    color: rgba(27, 43, 75, 0.55);
}
.inb-sup-c-note.is-error {
    color: #a63a4a;
}
/* A day that has free times carries a dot under its number. */
.inb-day.has-slots::after {
    content: "";
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 9999px;
    background: #a63a4a;
}
/* NEHA-35 (B2) — while the request dialog or the message box is open (supervision.js syncFloats),
   the page's three floating buttons (.inb-sup-float) step aside: on a phone the home button sat on
   top of the message box, and the WhatsApp / toggle buttons showed through its corner. */
body.inb-sup-dialog-open .inb-sup-float {
    display: none !important;
}
/* On a phone the message box takes the width of the screen less 16px a side (the export's fixed
   320px left a strip and sat under the home button). 16px, not less: for a signed-in user the shared
   header is 12px wider than a 390px screen, and a narrower inset clipped the box's send button. */
@media (max-width: 640px) {
    #inb-sup-chat > [role="dialog"] {
        left: 16px;
        right: 16px;
        bottom: 8px;
        width: auto;
    }
}
/* NEHA-39 — the /online/tutors filters on this page, in its own look.
   Several-pick box (country, language): the summary looks like the select it replaced. */
.inb-sup-ms {
    position: relative;
}
.inb-sup-ms > summary {
    list-style: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* In the top row the frame keeps the height of its select neighbours (42px). */
.inb-sup-ms:not(.ms-auto) > summary {
    line-height: 24px;
}
.inb-sup-ms > summary::-webkit-details-marker {
    display: none;
}
.inb-sup-ms-panel {
    position: absolute;
    z-index: 30;
    inset-inline-start: -12px;
    top: calc(100% + 10px);
    min-width: 200px;
    max-height: 240px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid rgba(27, 43, 75, 0.15);
    border-radius: 16px;
    background: #fff8fa;
    box-shadow: 0 10px 25px rgba(27, 43, 75, 0.12);
}
.inb-sup-ms.ms-auto .inb-sup-ms-panel {
    inset-inline-start: auto;
    inset-inline-end: -12px;
}
.inb-sup-ms-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 12.5px;
    color: #1b2b4b;
    cursor: pointer;
}
.inb-sup-ms-opt:hover {
    background: rgba(166, 58, 74, 0.08);
}
.inb-sup-ms-opt input {
    accent-color: #a63a4a;
}
.inb-sup-ms-none {
    padding: 6px 8px;
    font-size: 12.5px;
    color: rgba(27, 43, 75, 0.55);
}
/* Price from / to: two plain number boxes inside the select-shaped frame. */
.inb-sup-price {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(27, 43, 75, 0.45);
}
.inb-sup-price input {
    width: 100%;
    min-width: 0;
    color: #1b2b4b;
}
/* Day chips: the time chips' look, one row of eight on a wide screen, four a row on a phone. */
.inb-sup-days {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}
.inb-sup-days .inb-sup-day {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 640px) {
    .inb-sup-days {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}
/* NEHA-40 — the country / language lists can be typed into: a search box at the top of the open list. */
.inb-sup-ms-find {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    padding: 6px 10px;
    border: 1px solid rgba(27, 43, 75, 0.15);
    border-radius: 10px;
    background: #fff;
    font-size: 12.5px;
    color: #1b2b4b;
    outline: none;
}
.inb-sup-ms-find:focus {
    border-color: rgba(166, 58, 74, 0.5);
}
/* display:flex above would beat the hidden attribute. */
.inb-sup-ms-opt[hidden] {
    display: none;
}

/* NEHA-32 (2026-10-07) — home: a category pill hides the featured cards of other
   categories (interactions.js homePills()); keep them out of the row's layout. */
.inb-carousel .inb-carousel-track > [hidden] {
    display: none;
}

/* NEHA-42 (2026-10-07) — home: the course rows scroll like the blog row (Block 2 marquee).
   A pill-hidden card leaves the loop; the desktop hover panel sits outside its card and a
   marquee clips it, so it is off here (the card itself links to the course). */
.inb-course-marquee .marquee-track > [hidden] {
    display: none;
}
.inb-course-marquee [class*="group-hover/card:opacity-100"] {
    display: none !important;
}

/* ============================================================
   Block NEHA-45 (2026-10-08) — /inbithaq/course/{slug}: one course in the
   inbithaqclinic.com reference design (course-detail.blade.php + course-detail/*).
   Semantic classes only (the export's app.css has no lg:grid-cols-[...] / lg:sticky,
   which is what broke the old static page at desktop width). Logical properties,
   so Arabic (RTL) and English (LTR) mirror without a second rule.
   ============================================================ */
.inb-cd { background: #FBF4F2; color: #1B2B4B; padding-bottom: 4rem; }
.inb-cd-wrap { max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
.inb-cd-ico { width: 1rem; height: 1rem; flex-shrink: 0; }
.inb-cd-dim { color: rgba(27, 43, 75, .6); font-size: .8125rem; }

.inb-cd-hero { background: #1B2B4B; color: #fff; padding-block: 2.5rem; }
.inb-cd-hero-grid { display: grid; gap: 2rem; align-items: center; }
.inb-cd-back { display: inline-block; margin-bottom: 1rem; font-size: .8125rem; color: rgba(242, 235, 220, .75); }
.inb-cd-back:hover { color: #F2EBDC; }
.inb-cd-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: #C9A87C; margin-bottom: .5rem; }
.inb-cd-title { font-family: var(--cms-font-display, Tajawal), sans-serif; font-weight: 800; font-size: 1.75rem; line-height: 1.25; }
.inb-cd-hero-trainer { margin-top: .75rem; font-size: .875rem; color: rgba(255, 255, 255, .8); }
.inb-cd-hero-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; font-size: .875rem; color: rgba(255, 255, 255, .85); }
.inb-cd-hero-meta li { display: inline-flex; align-items: center; gap: .375rem; }
.inb-cd-hero-meta .inb-cd-dim { color: rgba(255, 255, 255, .6); }
.inb-cd-star { fill: #C9A87C; }
.inb-cd-updated { margin-top: .75rem; font-size: .75rem; color: rgba(255, 255, 255, .65); }
.inb-cd-hero-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1.25rem; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .55); background: #A85C6E; }

.inb-cd-body { display: grid; gap: 1.5rem; margin-top: 2rem; }
.inb-cd-main { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.inb-cd-card, .inb-cd-price { background: #fff; border: 1px solid rgba(27, 43, 75, .08); border-radius: 1.5rem; padding: 1.5rem; box-shadow: 0 10px 30px -20px rgba(27, 43, 75, .25); }
.inb-cd-h2 { font-family: var(--cms-font-display, Tajawal), sans-serif; font-weight: 800; font-size: 1.25rem; margin-bottom: 1rem; }
.inb-cd-h2-out { margin-bottom: .75rem; }
.inb-cd-h2-bar { display: flex; align-items: center; gap: .625rem; }
.inb-cd-h2-bar::before { content: ""; width: 4px; height: 1.4em; border-radius: 4px; background: #A63A4A; }

.inb-cd-contains { display: grid; gap: .75rem; font-size: .875rem; color: rgba(27, 43, 75, .8); }
.inb-cd-contains li { display: flex; align-items: center; gap: .5rem; }

.inb-cd-acc { background: #fff; border: 1px solid rgba(27, 43, 75, .08); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 10px 30px -20px rgba(27, 43, 75, .25); }
.inb-cd-acc-item + .inb-cd-acc-item { border-top: 1px solid rgba(27, 43, 75, .08); }
.inb-cd-acc-btn { display: flex; width: 100%; align-items: center; gap: .625rem; padding: .875rem 1.25rem; text-align: start; font-weight: 700; font-size: .875rem; color: #1B2B4B; background: transparent; cursor: pointer; }
.inb-cd-acc-btn:hover:not([disabled]) { background: #FBF4F2; }
.inb-cd-acc-btn[disabled] { cursor: default; }
.inb-cd-acc-btn[disabled] .inb-cd-chev { opacity: .3; }
.inb-cd-chev { transition: transform .2s ease; }
.inb-cd-acc-btn[aria-expanded="true"] .inb-cd-chev { transform: rotate(180deg); }
.inb-cd-acc-name { flex: 1; min-width: 0; }
.inb-cd-acc-count { flex-shrink: 0; font-size: .75rem; font-weight: 400; color: rgba(27, 43, 75, .5); }
.inb-cd-acc-panel { padding: 0 1.25rem .875rem; display: grid; gap: .5rem; }
.inb-cd-acc-panel[hidden] { display: none; }
.inb-cd-acc-panel li { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: .75rem; background: #FBF4F2; font-size: .8125rem; color: rgba(27, 43, 75, .85); }
.inb-cd-acc-lesson { flex: 1; min-width: 0; }
.inb-cd-acc-type { flex-shrink: 0; font-size: .6875rem; color: rgba(27, 43, 75, .5); }

.inb-cd-prose { display: grid; gap: .75rem; font-size: .875rem; line-height: 1.9; color: rgba(27, 43, 75, .85); }

.inb-cd-trainer { display: flex; align-items: center; gap: .875rem; }
.inb-cd-avatar { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 9999px; background: #F6E3E6; color: #A63A4A; font-weight: 800; font-size: 1.125rem; flex-shrink: 0; }
.inb-cd-trainer-name { font-weight: 700; }

.inb-cd-price { display: flex; flex-direction: column; gap: .75rem; }
.inb-cd-amount { font-family: var(--cms-font-display, Tajawal), sans-serif; font-weight: 800; font-size: 2rem; line-height: 1.1; color: #1B2B4B; }
.inb-cd-cur { font-size: .875rem; font-weight: 400; color: rgba(27, 43, 75, .6); }
.inb-cd-was { margin-inline-start: .5rem; font-size: 1rem; font-weight: 700; color: rgba(27, 43, 75, .45); }
.inb-cd-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .75rem 1rem; border-radius: 9999px; font-size: .875rem; font-weight: 700; transition: background-color .2s ease, opacity .2s ease; }
.inb-cd-btn-main { background: #A63A4A; color: #F2EBDC; }
.inb-cd-btn-main:hover { background: #8B2D3A; }
.inb-cd-btn-line { border: 1px solid rgba(27, 43, 75, .2); color: #1B2B4B; background: #fff; }
.inb-cd-btn-line:hover { background: #FBF4F2; }
.inb-cd-bnpl { border-radius: 1rem; padding: .75rem 1rem; font-size: .8125rem; background: #EAF7EF; border: 1px solid #B9E4C9; display: grid; gap: .125rem; }
.inb-cd-bnpl-logo { font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; color: #111827; }
.inb-cd-bnpl-tabby .inb-cd-bnpl-logo { justify-self: start; padding: 0 .5rem; border-radius: .375rem; background: #3BFFC1; font-size: .875rem; }
.inb-cd-facts { border-top: 1px solid rgba(27, 43, 75, .1); padding-top: .75rem; display: grid; gap: .5rem; font-size: .8125rem; }
.inb-cd-facts div { display: flex; justify-content: space-between; gap: 1rem; }
.inb-cd-facts dt { color: rgba(27, 43, 75, .6); }
.inb-cd-facts dd { font-weight: 700; text-align: end; }

.inb-cd-related { margin-top: 3rem; }
.inb-cd-related-grid { display: grid; gap: 1.25rem; }
.inb-cd-related-cell { min-width: 0; }
.inb-cd-related-grid [class*="group-hover/card:opacity-100"] { display: none !important; }

@media (min-width: 560px) {
    .inb-cd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .inb-cd-hero { padding-block: 3.5rem; }
    .inb-cd-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; }
    .inb-cd-title { font-size: 2.5rem; }
    .inb-cd-body { grid-template-columns: minmax(0, 1fr) 22.5rem; align-items: start; gap: 2rem; margin-top: 2.5rem; }
    .inb-cd-side { position: sticky; top: 6rem; }
    .inb-cd-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Block NEHA-51 (2026-10-09) — /inbithaq/programs on real courses.
   The tab row and the search box filter the first card row (interactions.js
   programsFilter()). A filtered-out card / an emptied track must leave the layout
   (the export's .flex outranks the [hidden] attribute); the active tab keeps the
   export's look (rose text + 2 px underline); no match = an explicit empty state. */
[data-inb-prog] [data-inb-prog-track][hidden],
[data-inb-prog] [data-inb-prog-track] > [hidden] {
    display: none !important;
}
.inb-prog-tab { color: rgb(27 43 75 / 0.7); }
.inb-prog-tab:hover { color: #1B2B4B; }
.inb-prog-tab.inb-prog-tab-on { color: #A85C6E; }
.inb-prog-tab.inb-prog-tab-on::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 9999px;
    background: #A85C6E;
}
.inb-prog-empty {
    margin-top: 1.25rem;
    border: 1px dashed rgb(27 43 75 / 0.2);
    border-radius: 1.5rem;
    background: #FFF8FA;
    padding: 2.5rem 1.25rem;
    text-align: center;
    color: rgb(27 43 75 / 0.7);
    font-size: 0.875rem;
}
.inb-prog-empty[hidden] { display: none; }
.inb-prog-empty-btn {
    margin-top: 1rem;
    display: inline-block;
    border-radius: 9999px;
    background: #A63A4A;
    color: #F2EBDC;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}
.inb-prog-empty-btn:hover { background: #8B2D3A; }
.inb-prog-search::-webkit-search-cancel-button { cursor: pointer; }

/* ============================================================
   Block NEHA-52 (2026-10-09) — course start countdown (partials/countdown.blade.php,
   interactions.js inbCountdown()) on the course cards (small white pill, bottom-start over
   the image) and in the course page hero ("Starts in:" + large boxes), and the
   "Certificate type:" pills of the hero. Logical properties: AR / EN mirror.
   ============================================================ */
.inb-countdown { display: inline-flex; align-items: center; }
.inb-countdown-u { display: inline-flex; align-items: baseline; gap: .2rem; }
.inb-countdown-u[hidden] { display: none; }
.inb-countdown-u b { font-weight: 800; font-variant-numeric: tabular-nums; }
.inb-countdown-u i { font-style: normal; }

.inb-countdown--card { position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 10; gap: .35rem; padding: 4px 10px; border-radius: 9999px; background: rgba(255, 255, 255, .95); color: #1B2B4B; font-size: 10px; line-height: 1.2; white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.inb-countdown--card .inb-countdown-u b { font-size: 11px; }
.inb-countdown--card .inb-countdown-u i { color: rgba(27, 43, 75, .65); }
.inb-countdown-dot { width: 6px; height: 6px; border-radius: 9999px; background: #A63A4A; animation: inb-countdown-pulse 1.6s ease-in-out infinite; }
@keyframes inb-countdown-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .inb-countdown-dot { animation: none; } }

.inb-cd-starts { margin-top: 1.25rem; }
.inb-cd-starts-label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 700; color: #C9A87C; }
.inb-countdown--hero { gap: .5rem; flex-wrap: wrap; }
.inb-countdown--hero .inb-countdown-u { flex-direction: column; align-items: center; gap: .15rem; min-width: 3.75rem; padding: .5rem .625rem; border-radius: .875rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.inb-countdown--hero .inb-countdown-u b { font-size: 1.625rem; line-height: 1.1; color: #fff; }
.inb-countdown--hero .inb-countdown-u i { font-size: .6875rem; color: rgba(242, 235, 220, .75); }

.inb-cd-creds { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.inb-cd-creds-label { font-size: .875rem; font-weight: 700; color: #C9A87C; }
.inb-cd-cred { display: inline-flex; align-items: center; gap: .375rem; padding: .3rem .75rem; border-radius: 9999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #F2EBDC; font-size: .8125rem; }
.inb-cd-cred .inb-cd-ico { color: #C9A87C; }

/* ============================================================
   Block NEHA-53 (2026-10-09) — home course rows: the card hover popup in one floating box
   on <body> (interactions.js inbHomeCardPopup()); the content is the card's own panel, the
   in-card panel stays hidden inside the marquee (Block NEHA-42). The arrow points at the card.
   ============================================================ */
.inb-card-float { position: fixed; z-index: 120; width: 20rem; }
.inb-card-float[hidden] { display: none; }
.inb-card-float > .absolute { top: 1.5rem; border: 0; border-top: 1px solid rgba(27, 43, 75, .1); border-right: 1px solid rgba(27, 43, 75, .1); }
.inb-card-float[data-side="left"] > .absolute { right: -6px; left: auto; transform: rotate(45deg); }
.inb-card-float[data-side="right"] > .absolute { left: -6px; right: auto; transform: rotate(-135deg); }

/* ============================================================
   Block NEHA-56 (2026-10-12) — home "Browse courses" live search: the results list under
   the box (interactions.js inbLiveSearch(), data from InbithaqController::search). Logical
   properties, so the list follows the page direction (RTL in Arabic, LTR in English).
   ============================================================ */
.inb-ls { position: relative; }
.inb-ls-panel { position: absolute; inset-inline: 0; top: calc(100% + .375rem); z-index: 60; max-height: min(24rem, 60vh); overflow-y: auto; overscroll-behavior: contain; padding: .375rem; border: 1px solid rgba(27, 43, 75, .12); border-radius: 1rem; background: #FFF8FA; box-shadow: 0 20px 50px -25px rgba(27, 43, 75, .45); }
.inb-ls-panel[hidden] { display: none; }
.inb-ls-item { display: flex; align-items: center; gap: .75rem; padding: .5rem; border-radius: .75rem; cursor: pointer; color: #1B2B4B; -webkit-tap-highlight-color: transparent; }
.inb-ls-item:hover, .inb-ls-item[aria-selected="true"] { background: rgba(166, 58, 74, .08); }
.inb-ls-item[aria-selected="true"] { box-shadow: inset 0 0 0 1px rgba(166, 58, 74, .35); }
.inb-ls-thumb { flex: 0 0 auto; width: 3.5rem; height: 2.5rem; overflow: hidden; border-radius: .5rem; background: rgba(168, 92, 110, .18); }
.inb-ls-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.inb-ls-text { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: .125rem; }
.inb-ls-tag { align-self: flex-start; padding: 0 .5rem; border-radius: 999px; font-size: 10px; font-weight: 600; line-height: 1.6; }
.inb-ls-tag--course { background: rgba(166, 58, 74, .12); color: #A63A4A; }
.inb-ls-tag--post { background: rgba(91, 133, 171, .14); color: #5B85AB; }
.inb-ls-title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13px; font-weight: 600; line-height: 1.35; }
.inb-ls-price { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #A63A4A; white-space: nowrap; }
.inb-ls-empty { padding: .75rem; font-size: 12px; color: rgba(27, 43, 75, .65); text-align: center; }
.inb-ls-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inb-ls.is-loading form { opacity: .85; }
@media (max-width: 480px) { .inb-ls-thumb { width: 3rem; height: 2.25rem; } .inb-ls-title { font-size: 12px; } }

/* NEHA-57 / INBITHAQ-MY-COURSES-0: /inbithaq/my-courses - heading, tabs, course cards, empty state */
.inb-mc { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem 3rem; color: #1B2B4B; }
.inb-mc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1rem; position: relative; margin-bottom: 1.5rem; }
.inb-mc-heading { margin: 0; padding-bottom: .5rem; border-bottom: 2px solid #E25A6A; font-size: 26px; font-weight: 700; line-height: 1.3; text-align: center; }
.inb-mc-back { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); padding: .5rem 1.25rem; border-radius: .375rem; background: #A63A4A; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color .15s; }
.inb-mc-back:hover, .inb-mc-back:focus-visible { background: #8B2D3A; }
.inb-mc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.inb-mc-tab { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid rgba(27, 43, 75, .15); border-radius: 999px; background: #fff; color: #1B2B4B; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.inb-mc-tab:hover { border-color: #A63A4A; }
.inb-mc-tab[aria-selected="true"] { border-color: #A63A4A; background: #A63A4A; color: #fff; }
.inb-mc-tab:focus-visible, .inb-mc-btn:focus-visible, .inb-mc-cert:focus-visible { outline: 2px solid #1B2B4B; outline-offset: 2px; }
.inb-mc-count { min-width: 1.5rem; padding: 0 .4rem; border-radius: 999px; background: rgba(27, 43, 75, .08); font-size: 12px; line-height: 1.5rem; text-align: center; }
.inb-mc-tab[aria-selected="true"] .inb-mc-count { background: rgba(255, 255, 255, .22); }
.inb-mc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.inb-mc-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(27, 43, 75, .1); border-radius: 1rem; background: #fff; box-shadow: 0 1px 2px rgba(27, 43, 75, .06); transition: box-shadow .15s; }
.inb-mc-card[hidden] { display: none; }
.inb-mc-card:hover { box-shadow: 0 6px 18px rgba(27, 43, 75, .12); }
.inb-mc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #f2ebdc; }
.inb-mc-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.inb-mc-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; padding: 1rem 1rem 3rem; font-size: 16px; font-weight: 700; text-align: center; }
.inb-mc-strip { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .75rem; background: rgba(27, 43, 75, .9); color: rgba(255, 255, 255, .88); font-size: 11px; }
.inb-mc-updated { white-space: nowrap; }
.inb-mc-brand { display: inline-flex; align-items: center; gap: .375rem; min-width: 0; font-weight: 600; }
.inb-mc-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inb-mc-brand-logo { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 4px; background: #fff; object-fit: contain; }
.inb-mc-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: .75rem; padding: 1rem; }
.inb-mc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.inb-mc-btn { display: inline-flex; align-items: center; justify-content: center; padding: .625rem .75rem; border-radius: .375rem; font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; transition: background-color .15s, color .15s; }
.inb-mc-btn--main { background: #A63A4A; color: #fff; }
.inb-mc-btn--main:hover { background: #8B2D3A; color: #fff; }
.inb-mc-btn--alt { border: 1px solid #A63A4A; background: #fff; color: #A63A4A; }
.inb-mc-btn--alt:hover { background: rgba(166, 58, 74, .08); }
.inb-mc-cert { align-self: center; color: #A63A4A; font-size: 13px; font-weight: 600; text-decoration: underline; }
.inb-mc-bar { position: relative; height: 20px; margin-top: auto; overflow: hidden; border-radius: 999px; background: #e3edfb; }
.inb-mc-bar-fill { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 999px; background: #2196f3; transition: width .3s; }
.inb-mc-bar-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #1B2B4B; font-size: 11px; font-weight: 700; }
.inb-mc-empty { max-width: 640px; margin: 0 auto; padding: 2.5rem 1.5rem; border: 1px dashed rgba(27, 43, 75, .2); border-radius: 1.5rem; background: #fff; text-align: center; }
.inb-mc-empty-title { margin: 0; font-size: 18px; font-weight: 700; }
.inb-mc-empty-hint { margin: .5rem 0 1.25rem; color: rgba(27, 43, 75, .65); font-size: 14px; }
.inb-mc-empty-btn { padding-inline: 1.5rem; }
@media (min-width: 768px) { .inb-mc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .inb-mc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .inb-mc-back { position: static; transform: none; } .inb-mc-head { flex-direction: column; } }
