@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {

    /*Fonts*/
    /*Noto Sans for body text (default font of the whole WL)*/
    --theme-font-family: "Noto Sans", sans-serif;

    /*Cairo for titles and subtitles (applied in section 06 - TYPOGRAPHY)*/
    --brand-heading-font-family: "Cairo", sans-serif;

     /*Sidenav*/
    --ob-nav-text-color: #000000;
    --ob-nav-bg-color: #E6E3CC;

    /*Active button sidenav - light gold background with black text*/
    --ob-nav-list-active-text-color: #FFF;
    --ob-nav-list-active-bg-color: #A8813D;

    /*Topbar inside - black, same as the official logo background*/
    --ob-custom-nav-bg-color: #000000;
    --ob-custom-nav-text-color: #FFF;

    /*Topbar login*/
    --ob-public-nav-bg-color: #000000;
    --ob-public-nav-text-color: #FFF;

    /*TopBar inside*/
    --mat-toolbar-container-text-color: #FFF;
    --mdc-text-button-label-text-color: #FFF;

    /*color primary - scale generated from the brand Gold (500 = #A8813D)*/
    --theme-primary-50: #F5F0E8;
    --theme-primary-100: #E7DCC9;
    --theme-primary-200: #D5C3A2;
    --theme-primary-300: #C4A97B;
    --theme-primary-400: #B5945A;
    --theme-primary-500: #A8813D;
    --theme-primary-600: #947135;
    --theme-primary-700: #7E602D;
    --theme-primary-800: #684F24;
    --theme-primary-900: #503B1B;
    --theme-primary-A100: #F3D58D;
    --theme-primary-A200: #E9C26B;
    --theme-primary-A400: #D9AB45;
    --theme-primary-A700: #C0912A;

    /*Contrast colors checked against WCAG AA (≥4.5:1): black text on 50-600, white text on 700-900*/
    --theme-primary-contrast-50: #000000;
    --theme-primary-contrast-100: #000000;
    --theme-primary-contrast-200: #000000;
    --theme-primary-contrast-300: #000000;
    --theme-primary-contrast-400: #000000;
    --theme-primary-contrast-500: #000000;
    --theme-primary-contrast-600: #000000;
    --theme-primary-contrast-700: #FFFFFF;
    --theme-primary-contrast-800: #FFFFFF;
    --theme-primary-contrast-900: #FFFFFF;
    --theme-primary-contrast-A100: #000000;
    --theme-primary-contrast-A200: #000000;
    --theme-primary-contrast-A400: #000000;
    --theme-primary-contrast-A700: #000000;

    /*Official brand gradients (3.6.2) - reusable across the rest of the CSS*/
    --brand-gold-gradient: linear-gradient(90deg, #6B5230 0%, #A8813D 25%, #F3D58D 37%, #A8813D 55%, #F3D58D 88%, #4A3520 100%);
    --brand-black-gradient: linear-gradient(90deg, #0D0D0D 0%, #3A3D41 60%, #6E7076 100%);
    --brand-pearl-gradient: linear-gradient(90deg, #E6E3CC 0%, #FAF2E8 60%, #FAF2E8 100%);
}

/*===============================
INDEX
01 - FOOTER
02 - TOPBAR
03 - BACKGROUND
04 - HIDDEN ELEMENTS
05 - EVENT DETAIL
06 - TYPOGRAPHY
07 - AUTHENTICATION & LOGIN (Fever oauth / gmail instructions)
08 - CUSTOM FOOTER
09 - LOGIN MODAL
09 - FIC INFO ACCESSIBILITY (EN / AR)
===============================*/

/*-------------------------------
01 - FOOTER
-------------------------------*/

/*Footer background color*/
ob-footer.main-footer {
    background-color: #000000;
    border-top: none;
}

/*Footer text color*/
ob-footer.main-footer * {
    color: #FFF !important;
}

/*Footer button border color*/
ob-footer.main-footer .mat-mdc-outlined-button {
    border-color: #FFF !important;
}

/*Resets top margin and padding on the inner desktop footer container to remove extra vertical spacing*/
ob-footer#desktop-footer footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/*-------------------------------
02 - TOPBAR
-------------------------------*/

/*Topbar bottom line using the official Gold Gradient*/
ob-top-bar .mat-toolbar {
    border-bottom: 3px solid transparent;
    border-image: var(--brand-gold-gradient) 1;
}

/*Disabled cart icon (no items): translucent black by default, invisible on the black topbar*/
ob-top-bar .mat-mdc-button-disabled,
ob-top-bar .mat-mdc-button-disabled .mat-icon {
    color: rgba(255, 255, 255, 0.4) !important;
}

/*-------------------------------
03 - BACKGROUND
-------------------------------*/

/*Main content background: official Ivory pattern, Light pearl as fallback color while the image loads*/
mat-sidenav-content.ob-sidenav-content {
    background-color: #FAF2E8;
    background-image: url('https://client-dists-resources.s3.amazonaws.com/channels-client/qatar-uae-super-cup/assets/bg/QSL_UAEPL_Pattern_Ivory.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/*Remove the default white backgrounds of the events page so the pattern shows through*/
ob-page-events,
ob-catalog-search section.main-container {
    background-color: transparent !important;
}

/*Remove the default white backgrounds of the event detail page (sessions list) so the pattern shows through*/
ob-page-event,
ob-page-event .ob-main-container {
    background-color: transparent !important;
}

/*Remove the default white backgrounds of the checkout page (buyer data + summary) so the pattern shows through*/
ob-page-full-checkout,
ob-page-full-checkout .main-container {
    background-color: transparent !important;
}

/*-------------------------------
04 - HIDDEN ELEMENTS
-------------------------------*/

/*Hide the search bar on the events page (date filter + text search input)*/
ob-catalog-search .filter-container {
    display: none !important;
}

/*Hide Powered by on Ob Footer*/
footer *:has(> img[alt="Onebox logo"]) {
  font-size: 0 !important;
}
footer img[alt="Onebox logo"],
footer img[alt="Fever logo"] {
  display: none !important;
}

/*Hide text from*/
.ob-from-label {
    display: none;
}

/*Show matches*/
.sidebar-content ob-min-price-card {
    display: none;
}

/*Ticket available*/
.ob-availability,
.view-list ob-availability-item {
    display: none !important;
}

/*Fees*/
mat-dialog-actions.mat-mdc-dialog-actions .description.surcharges,
.ob-rate-fees,
.ob-card-items-fees,
.ob-surcharge,
.ob-charges {
    display: none !important;
}

/*OB Footer: hide all links except Cookies Policy (desktop & mobile)*/
ob-footer nav.footer-links > :not(:first-child) {
  display: none !important;
}

/*Hide button "Sesaron ticket" on menu panel on top bar*/
button.mat-mdc-menu-item.mat-focus-indicator[data-testid="my-season-tickets"] {
    display: none;
}

/*Hides the legal agreements notice paragraph inside the Fever vendor login component*/
ob-fever-vendor-login p.agreements {
    display: none;
}

/*Hide the agreement terms paragraph inside the legal dialog*/
.fever-legal-terms-dialog p.fever-agreements {
    display: none;
}

/*-------------------------------
05 - EVENT DETAIL
-------------------------------*/


/*Event sub-header (date + venue strip) in Light pearl, including the inner content box*/
ob-event-sub-header,
ob-event-sub-header > *,
ob-event-sub-header .page-header-content-full {
    background-color: #FAF2E8 !important;
}

/*Sub-header side arrows (CSS border triangles) in Light pearl, same as the sub-header*/
ob-event-sub-header .ob-arrow-right {
    border-left-color: #FAF2E8 !important;
}

ob-event-sub-header .ob-arrow-left {
    border-right-color: #FAF2E8 !important;
}

/*Session date box (weekday / day / month) in black with white text*/
.ob-date-box {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

/*Session card hover in Light gold*/
.ob-content-card.ob-content-card-horizontal {
    transition: background-color 0.2s ease;
}

.ob-content-card.ob-content-card-horizontal:hover {
    background-color: #E6E3CC !important;
}

/*-------------------------------
06 - TYPOGRAPHY
-------------------------------*/

/*Titles and subtitles in Cairo (page titles, section titles like "Sessions" / "Buyer data", cart summary title)*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--brand-heading-font-family) !important;
}

/*-------------------------------
07 - AUTHENTICATION & LOGIN (Fever oauth / gmail instructions)
-------------------------------*/

/*English (LTR) language variant*/
[lang="en"] ob-fever-oauth-button:after {
    content: 'Gmail users please log in here';
    display: flex;
    height: 34px;
    align-items: center;
    justify-content: center;
}

/*Arabic (RTL) language variant*/
[lang="ar"] ob-fever-oauth-button:after {
    content: 'يرجى من مستخدمي Gmail تسجيل الدخول من هنا';
    display: flex;
    height: 34px;
    align-items: center;
    justify-content: center;
    direction: rtl;
    unicode-bidi: isolate;
    text-align: right;
}

/*-------------------------------
08 - CUSTOM FOOTER
-------------------------------*/

/*Bottom actions bar (mobile) top line using the official Gold Gradient, same effect as the footer*/
.afc-actions-container {
    position: relative !important;
}

/*Full-width centered links container (Desktop First / Base)*/
.afc-actions-container {
    width: 100%;
    box-sizing: border-box;
    padding: 18px 0 0 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    background-color: #000000;
}

/*Base styles for the clickable footer links*/
.afc-action-link {
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: #FFF;
    text-decoration: none;
    white-space: nowrap;
}

/*Inserts a middle dot ( · ) after every link EXCEPT the last one*/
.afc-action-link:not(:last-child)::after {
    content: " \00b7";
    margin: 0 10px;
    color: #FFF;
    font-weight: 700;
    display: inline-block;
    text-decoration: none !important;
}

/*Mobile layout adaptations for custom footer (<= 768px)*/
@media (max-width: 768px) {

    /*Stack links vertically and center them*/
    .afc-actions-container {
        flex-direction: column;
        gap: 12px;
        padding: 20px 16px;
        text-align: center;
        padding-bottom: 80px !important;
    }

    /*Permit text wrapping on smaller screens if needed*/
    .afc-action-link {
        white-space: normal;
        display: block;
    }

    /*Hide the separator dot on mobile vertical layout*/
    .afc-action-link:not(:last-child)::after {
        display: none;
    }
}
/*--Sponsor Lockup--*/
/* --- Layout: container --- */
.afc-sponsor-band {
  position: relative;          /* Anchor for the ::before gold line */
  width: 100%;
  max-width: none;   /* o 100% */
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  background-color: #000000;
}

/* --- Decoration: top gold line --- */
.afc-sponsor-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gold-gradient, linear-gradient(90deg, #b8860b, #f5d77a, #b8860b)); /* Fallback if var is undefined */
  z-index: 1;
}

.afc-sponsor-band picture {
  display: block;
  width: 100%;
}

.afc-sponsor-band__img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/*-------------------------------
09 - LOGIN MODAL
-------------------------------*/

/*Sets the custom background color for the Fever vendor dialog header*/
ob-dialog-header#fever-vendor-title {
    background-color: #000000;
    border-bottom: 3px solid transparent;
    border-image: var(--brand-gold-gradient) 1;
}

/*Overrides the title text color inside the Fever vendor dialog header*/
ob-dialog-header#fever-vendor-title h2#ob-dialog-header-title-0 {
    color: #FFF !important;
}

/*Inject dark monochrome brand logo above vendor modal content via pseudo-element*/
ob-fever-vendor-login mat-dialog-content.mat-mdc-dialog-content.mdc-dialog__content.no-action::before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 80px;
    margin-top: 32px;
    vertical-align: middle;
    background-image: url('https://client-dists-resources.oneboxtds.com/channels-client/qatar-uae-super-cup-b2b/logo-login.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/*-------------------------------
09 - FIC INFO ACCESSIBILITY (EN / AR)
-------------------------------*/

/* Outer wrapper container (the div holding the card(s)) */
div:has(> div > img[src*="icon-seat.png"]),
div:has(> div > img[src*="icon-pmr.png"]) {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Base card styling (any div directly containing one of the two icons) */
div:has(> img[src*="icon-seat.png"]),
div:has(> img[src*="icon-pmr.png"]) {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 18px 20px !important;
    border-radius: 10px !important;
    color: #1a1d29 !important;
    box-sizing: border-box !important;
    direction: ltr !important;
    text-align: left !important;
}

/* Card 1 Variant: Private Suites (Light Gray Background) */
div:has(> img[src*="icon-seat.png"]) {
    background-color: #f3f4f6 !important;
}

/* Card 2 Variant: Accessibility Tickets (Light Blue Background) */
div:has(> img[src*="icon-pmr.png"]) {
    background-color: #d9e8f6 !important;
}

/* Icon sizing */
div:has(> img[src*="icon-seat.png"])>img,
div:has(> img[src*="icon-pmr.png"])>img {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    margin: 2px 0 0 0 !important;
    display: block !important;
}

/* Text column container */
div:has(> img[src*="icon-seat.png"])>div,
div:has(> img[src*="icon-pmr.png"])>div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
}

/* Card title (<strong>) */
div:has(> img[src*="icon-seat.png"])>div>strong,
div:has(> img[src*="icon-pmr.png"])>div>strong {
    display: block !important;
    margin: 0 !important;
    font-family: 'Roboto', 'Noto Sans', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    color: #1a1d29 !important;
    text-align: left !important;
}

/* Card body text (<p>) */
div:has(> img[src*="icon-seat.png"])>div>p,
div:has(> img[src*="icon-pmr.png"])>div>p {
    margin: 0 !important;
    font-family: 'Roboto', 'Noto Sans', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #2b2f3c !important;
    text-align: left !important;
}

/* Underlined email link (<a>) */
div:has(> img[src*="icon-seat.png"])>div>p>a,
div:has(> img[src*="icon-pmr.png"])>div>p>a {
    color: #2b2f3c !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}


/* =============================================================================
   ARABIC LOCALE OVERRIDES (RTL - Detected automatically via Arabic img alt OR html[lang^="ar"])
   ============================================================================= */

/* Flips icon to the right and aligns text to the right */
:is(html[lang^="ar"] div:has(> img[src*="icon-seat.png"]),
    html[lang^="ar"] div:has(> img[src*="icon-pmr.png"]),
    div:has(> img[alt="الأجنحة الخاصة"]),
    div:has(> img[alt="تذاكر ذوي الإعاقة"])) {
    direction: rtl !important;
    text-align: right !important;
    flex-direction: row !important;
}

/* Text column container right-aligned */
:is(html[lang^="ar"] div:has(> img[src*="icon-seat.png"]),
    html[lang^="ar"] div:has(> img[src*="icon-pmr.png"]),
    div:has(> img[alt="الأجنحة الخاصة"]),
    div:has(> img[alt="تذاكر ذوي الإعاقة"]))>div {
    align-items: flex-start !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Arabic Title (<strong>) */
:is(html[lang^="ar"] div:has(> img[src*="icon-seat.png"]),
    html[lang^="ar"] div:has(> img[src*="icon-pmr.png"]),
    div:has(> img[alt="الأجنحة الخاصة"]),
    div:has(> img[alt="تذاكر ذوي الإعاقة"]))>div>strong {
    font-family: 'Noto Sans Arabic', 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    text-transform: none !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Arabic Body Text (<p>) */
:is(html[lang^="ar"] div:has(> img[src*="icon-seat.png"]),
    html[lang^="ar"] div:has(> img[src*="icon-pmr.png"]),
    div:has(> img[alt="الأجنحة الخاصة"]),
    div:has(> img[alt="تذاكر ذوي الإعاقة"]))>div>p {
    font-family: 'Noto Sans Arabic', 'Roboto', Arial, sans-serif !important;
    line-height: 1.6 !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Keeps the email address in LTR so the "@" and "." never invert */
:is(html[lang^="ar"] div:has(> img[src*="icon-seat.png"]),
    html[lang^="ar"] div:has(> img[src*="icon-pmr.png"]),
    div:has(> img[alt="الأجنحة الخاصة"]),
    div:has(> img[alt="تذاكر ذوي الإعاقة"]))>div>p>a {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-block !important;
}