/* TASK 16:10 — ONE type scale and ONE font for every page (home, coach directory, coach profile, enrolment, sign-in, student
   account, /coach, /admin). Every font size on the site comes from these variables. System fonts only (no download), chosen to
   show Vietnamese correctly on every platform: Apple (SF), Windows (Segoe UI), Android (Roboto), Linux (Noto Sans / Arial). */
:root{
 --cm-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
 --fs-hero:30px;     /* only the big line on the home page */
 --fs-page:22px;     /* page title (and the coach name on the profile page) */
 --fs-section:18px;  /* section title, card title, class name */
 --fs-body:16px;     /* content */
 --fs-meta:14px;     /* secondary information (grey) */
 --fs-label:13px;    /* small labels — nothing on the site is smaller */
}
html{font-family:var(--cm-font);font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--cm-font);font-size:var(--fs-body)}
h1{font-size:var(--fs-page)}
h2,h3{font-size:var(--fs-section)}
h4,h5,h6{font-size:var(--fs-body)}
small{font-size:var(--fs-meta)}
sub,sup{font-size:var(--fs-label)}
button,input,select,textarea,optgroup{font-family:inherit;font-size:inherit}

/* TASK 10:41 — on phones / touch screens every box people type in or pick from is 16px: Safari iOS zooms the page into any box under
   16px when it is tapped. The page zoom stays allowed (no viewport lock). !important: page rules set 13–14px on many boxes. */
@media (max-width:767.98px),(hover:none) and (pointer:coarse){
 input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),select,textarea{font-size:16px !important}
}

/* TASK 06:55 P1 — ONE drawn arrow for every one-line <select> on every page (/coach, home, Tìm HLV, coach page, learner page,
   sign-up / profile, admin). The browser's own arrow sat ~6px from the right edge while the text started ~15px from the left.
   The arrow is an SVG background FILE of the site (TASK 08:25: the page CSP allows img-src 'self' only, an inline (data-URL) image is blocked;
   /cm-select-arrow.svg + /cm-select-arrow-off.svg are served like every static file, /v/<release>/… in pages); its distance to the right edge and the text's distance to the left edge come from the SAME
   variable --cm-sel-pad, so they are equal by construction. Each page area sets --cm-sel-pad to the left padding it already
   had (the text does not move); the right padding leaves room for the arrow so long text stops before it.
   Height, border, font size: unchanged (no height / border / font here). Not touched: <select multiple>, size > 1, and the home
   search bar (it draws its own arrow + a place icon on the left). !important: page rules use the `background` / `padding`
   shorthands, which would otherwise wipe the arrow or put the text under it. */
:root{
 --cm-sel-arrow:url(/v/ef56343ed8a0/cm-select-arrow.svg);
 --cm-sel-arrow-off:url(/v/ef56343ed8a0/cm-select-arrow-off.svg);
}
select:not([multiple]):not([size]:not([size="1"])):not(.home-search select){
 -webkit-appearance:none !important;-moz-appearance:none !important;appearance:none !important;
 background-image:var(--cm-sel-arrow) !important;background-repeat:no-repeat !important;background-size:12px 8px !important;
 background-position:right var(--cm-sel-pad,10px) center !important;
 padding-left:var(--cm-sel-pad,10px) !important;padding-right:calc(var(--cm-sel-pad,10px) * 2 + 12px) !important;
 text-overflow:ellipsis;white-space:nowrap;overflow:hidden;
}
select:not([multiple]):not([size]:not([size="1"])):not(.home-search select):disabled{background-image:var(--cm-sel-arrow-off) !important}
select:not([multiple]):not([size]:not([size="1"])):not(.home-search select)::-ms-expand{display:none}
/* TASK 14:20 PHẦN 2: Coachminton mark (same-origin file, coloured by the brand text colour via currentColor) */
.cm-logo{display:inline-block;flex:none;width:24px;height:24px;background-color:currentColor;-webkit-mask:url(/v/ef56343ed8a0/cm-logo.svg) center/contain no-repeat;mask:url(/v/ef56343ed8a0/cm-logo.svg) center/contain no-repeat}
