/* The contracted companies' portal. Plain CSS, the house's petrol; reads
   on a phone and on a desk, right-to-left and left-to-right. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #17323B;
    background: #EAF5F8;
}
a { color: #125E76; }

.cp_head {
    background: #fff;
    border-bottom: 4px solid #125E76;
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
}
.cp_brand { display: flex; align-items: center; gap: 14px; }
.cp_brand img { height: 54px; width: auto; }
.cp_house { font-size: 18px; font-weight: 700; color: #125E76; line-height: 1.3; }
.cp_title { font-size: 13px; color: #5A8797; }
.cp_nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; }
.cp_nav a { text-decoration: none; font-weight: 600; }
.cp_nav a:hover { text-decoration: underline; }
.cp_who { color: #5A8797; }

.cp_main { max-width: 1180px; margin: 0 auto; padding: 18px 16px 40px; }
.cp_company { font-size: 22px; margin: 4px 0 14px; color: #0E4A5D; }

.cp_card {
    background: #fff;
    border: 1px solid #D3E6EC;
    border-radius: 10px;
    padding: 16px 18px 18px;
    margin-bottom: 16px;
}
.cp_card h2 { margin: 0 0 4px; font-size: 18px; color: #125E76; }
.cp_narrow { max-width: 480px; margin-left: auto; margin-right: auto; }
.cp_lead { margin: 0 0 12px; color: #5A8797; }

.cp_form { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end; }
.cp_form label { flex: 1 1 210px; display: block; min-width: 0; }
.cp_stack label { flex: 1 1 100%; }
.cp_form label span { display: block; font-weight: 600; margin-bottom: 4px; }
.cp_form label small { font-weight: 400; color: #5A8797; font-size: 12px; }
.cp_form input[type="text"],
.cp_form input[type="password"],
.cp_form select {
    width: 100%;
    height: 42px;
    padding: 6px 10px;
    font: inherit;
    color: inherit;
    background: #fff;
    border: 1px solid #B9D5DD;
    border-radius: 7px;
}
.cp_form input:focus, .cp_form select:focus {
    outline: 2px solid #0F92AD;
    outline-offset: 1px;
    border-color: #0F92AD;
}
.cp_actions { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cp_btn {
    height: 42px;
    padding: 0 28px;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: #125E76;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}
.cp_btn:hover { background: #0E4A5D; }
.cp_note { color: #5A8797; font-size: 13px; }
.cp_link {
    font: inherit;
    font-weight: 600;
    color: #B3261E;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}
a.cp_link { color: #125E76; }

.cp_flash { border-radius: 7px; padding: 10px 14px; margin: 0 0 14px; font-weight: 600; }
.cp_ok { background: #E3F4EA; color: #17603A; border: 1px solid #B5DEC5; }
.cp_bad { background: #FBE9E7; color: #9A1F16; border: 1px solid #F0C2BC; }
.cp_warn { background: #FFF4DB; color: #7A5200; border: 1px solid #F0D9A0; }

.cp_scroll { overflow-x: auto; }
.cp_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cp_table th {
    background: #125E76;
    color: #fff;
    font-weight: 600;
    padding: 8px 10px;
    text-align: start;
    white-space: nowrap;
}
.cp_table td { padding: 8px 10px; border-bottom: 1px solid #D3E6EC; vertical-align: middle; }
.cp_table td[dir="ltr"] { white-space: nowrap; }
html[dir="rtl"] .cp_table td[dir="ltr"] { text-align: right; }
.cp_table form { margin: 0; }
.cp_pill { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cp_src { background: #FFF4DB; color: #7A5200; }
/* The sign-in page: one card, saying whose door this is. */
.cp_signin .cp_main { padding-top: 46px; }
.cp_door { border-top: 5px solid #125E76; padding-top: 22px; }
.cp_door_mark { font-size: 24px; font-weight: 700; color: #125E76; margin: 0 0 6px; line-height: 1.4; }
.cp_door_note { margin: 16px 0 0; }
.cp_door_foot { max-width: 480px; margin: 12px auto 0; text-align: center; }
/* The search over the company's own people. */
.cp_find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; }
.cp_find input[type="text"] {
    flex: 1 1 260px; max-width: 420px; box-sizing: border-box; padding: 9px 12px;
    border: 1px solid #B9D3DB; border-radius: 7px; font: inherit; background: #fff; color: inherit;
}
.cp_find input[type="text"]:focus { outline: none; border-color: #125E76; }
.cp_st_waiting { background: #E1F1F6; color: #125E76; }
.cp_st_attended { background: #E3F4EA; color: #17603A; }
.cp_st_expired { background: #EEF1F2; color: #5B6B70; }
.cp_st_cancelled { background: #FBE9E7; color: #9A1F16; }

.cp_st_came { background: #E1F1F6; color: #125E76; }
.cp_st_in_exam { background: #FFF4DB; color: #7A5200; }
.cp_st_decided { background: #E6ECFA; color: #2A3F8F; }
.cp_st_issued, .cp_st_done { background: #E3F4EA; color: #17603A; }
.cp_v_fit { background: #E3F4EA; color: #17603A; }
.cp_v_fit_restricted, .cp_v_fit_declaration { background: #FFF4DB; color: #7A5200; }
.cp_v_unfit { background: #FBE9E7; color: #9A1F16; }
.cp_small { font-size: 12px; color: #5A8797; margin-top: 2px; }
.cp_num { white-space: nowrap; }
.cp_acts { white-space: nowrap; }
.cp_acts form { display: inline; }
.cp_go { display: inline-block; font-weight: 600; text-decoration: none; margin-inline-end: 10px; }
.cp_go:hover { text-decoration: underline; }
.cp_facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 8px 0 10px; }
.cp_facts small { display: block; color: #5A8797; font-size: 12px; }
.cp_flagged { color: #9A1F16; }
.cp_study { border-top: 1px solid #D3E6EC; padding-top: 10px; margin-top: 10px; }
.cp_study h3 { margin: 0 0 6px; font-size: 15px; color: #0E4A5D; }
.cp_study small { color: #5A8797; font-size: 12px; font-weight: 600; }
.cp_study p { margin: 2px 0 8px; white-space: pre-line; }

.cp_tiles { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 8px; }
.cp_tile { flex: 1 1 220px; background: #EAF5F8; border-radius: 9px; padding: 12px 14px; }
.cp_tile small { display: block; color: #5A8797; font-size: 13px; font-weight: 600; }
.cp_tile b { display: block; font-size: 24px; color: #0E4A5D; line-height: 1.4; }
.cp_tile b i { font-style: normal; font-size: 13px; font-weight: 600; color: #5A8797; }
.cp_tile span { font-size: 12px; color: #5A8797; }
.cp_tile b span { font-size: inherit; color: inherit; }
.cp_tile_main { background: #125E76; }
.cp_tile_main small, .cp_tile_main span, .cp_tile_main b i { color: #CFE6EE; }
.cp_tile_main b, .cp_tile_main b span { color: #fff; }
.cp_tile_bad b, .cp_tile_bad b span { color: #9A1F16; }
.cp_pay_paid { background: #E3F4EA; color: #17603A; }
.cp_pay_due { background: #E1F1F6; color: #125E76; }
.cp_pay_overdue { background: #FBE9E7; color: #9A1F16; }
.cp_print { color: #125E76; }

@media print {
    .cp_nav, .cp_print, .cp_acts, .cp_flash { display: none !important; }
    body { background: #fff; }
    .cp_card { border: 0; padding: 0; }
    .cp_scroll { overflow: visible; }
}

@media (max-width: 600px) {
    .cp_head { padding: 10px 12px; }
    .cp_brand img { height: 42px; }
    .cp_main { padding: 12px 10px 30px; }
    .cp_card { padding: 12px; }
    .cp_btn { width: 100%; }
}

/* ------------------------------------------------------------------
   THE SIGN-IN PAGE, design B (the owner's choice, 13 Oct 2026): the
   group's own blue with its mark behind, the mark and the name as one
   lockup, the three brands as its advertisement; Noto Kufi Arabic, the
   logo's own Latin beside it. Plain values throughout: half the desks
   that may open it run an old Chrome.
   Nothing on the blue stands on a white plate (the owner, the same
   night: «شيل الأبيض وخليهم 3D او اي شكل أنيق يظهر فوق الأزرق»): the
   lockup is the mark reversed to white, the three logos are raised
   marks on one shelf of glass, and the brands' strip is the same glass.
   ------------------------------------------------------------------ */
body.cp_b { background: #F3F5F7; color: #1B2B36; font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif; }
html[lang="en"] body.cp_b { font-family: Poppins, "Segoe UI", Arial, sans-serif; }
.cpb_page { display: flex; flex-wrap: wrap; min-height: 100vh; }
.cpb_brand {
    flex: 1 1 560px; position: relative; overflow: hidden; color: #fff; padding: 46px 54px 34px;
    background: #1C5482; background: linear-gradient(160deg, #143A59 0%, #1C5482 55%, #226699 100%);
    display: flex; flex-direction: column;
}
.cpb_wm { position: absolute; bottom: -170px; width: 640px; height: 640px; opacity: 0.09; filter: brightness(0) invert(1); pointer-events: none; }
html[dir="rtl"] .cpb_wm { left: -150px; }
html[dir="ltr"] .cpb_wm { right: -150px; }
.cpb_top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px 24px; position: relative; }
/* The lockup, two sizes up (the owner, 14 Oct 2026, on its picture:
   «كبر دي شويتين»), and two more once he had seen it on the page
   («كبر دي شويتين كمان»). */
.cpb_lock { display: flex; align-items: center; gap: 20px; }
.cpb_lock img { height: 104px; width: 104px; display: block; filter: brightness(0) invert(1) drop-shadow(0 6px 10px rgba(4, 18, 30, 0.45)); }
.cpb_rule { width: 1px; align-self: stretch; background: rgba(255, 255, 255, 0.4); }
.cpb_name { font-weight: 700; font-size: 33px; line-height: 1.6; color: #fff; }
.cpb_lock .cpb_other { font-size: 18px; }
.cpb_lock .cpb_lat { font-size: 15.5px; }
.cpb_other { font-size: 12px; color: #C5D8E8; margin-top: 1px; }
/* A brand's mark in its own colour: the letter inside the mark is cut
   out of the picture, so a white square is laid behind the coloured
   square alone (never around it) and the letter reads white. */
.cpb_m { position: relative; display: block; flex: 0 0 auto; }
.cpb_m i { position: absolute; left: 14%; top: 14%; right: 14%; bottom: 14%; background: #fff; }
.cpb_m img { position: relative; display: block; width: 100%; height: 100%; }
.cpb_m u { position: absolute; left: 14%; right: 14%; top: 14%; height: 34%; background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); }
/* The three logos, left to right as the staff's Home page carries
   them: raised marks (a thickness in each brand's own darker shade, a
   light from above, a shadow beneath) on one shelf of glass. */
.cpb_trio {
    display: flex; direction: ltr; align-items: stretch; padding: 6px 10px; border-radius: 20px;
    background: rgba(255, 255, 255, 0.09); background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: 0 24px 38px rgba(5, 20, 33, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.cpb_t { width: 140px; text-align: center; padding: 16px 8px 12px; color: #fff; }
.cpb_t + .cpb_t { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.cpb_t .cpb_m { width: 86px; height: 86px; margin: 0 auto 8px; }
/* A mark raised on the glass: each house's brand in a depth of the night's own
   blue, unless the sheet knows that brand's colour (the three below are
   Alhayat's, keyed by the brand's letters). */
.cpb_t .cpb_m { filter: drop-shadow(1px 1px 0 #17486D) drop-shadow(1px 1px 0 #17486D) drop-shadow(1px 1px 0 #123A58) drop-shadow(0 10px 10px rgba(3, 14, 24, 0.55)); }
.cpb_t_hmg .cpb_m { filter: drop-shadow(1px 1px 0 #17486D) drop-shadow(1px 1px 0 #17486D) drop-shadow(1px 1px 0 #123A58) drop-shadow(0 10px 10px rgba(3, 14, 24, 0.55)); }
.cpb_t_hhc .cpb_m { filter: drop-shadow(1px 1px 0 #2B5852) drop-shadow(1px 1px 0 #2B5852) drop-shadow(1px 1px 0 #214540) drop-shadow(0 10px 10px rgba(3, 14, 24, 0.55)); }
.cpb_t_hml .cpb_m { filter: drop-shadow(1px 1px 0 #74305E) drop-shadow(1px 1px 0 #74305E) drop-shadow(1px 1px 0 #5B254A) drop-shadow(0 10px 10px rgba(3, 14, 24, 0.55)); }
.cpb_t b { display: block; font-family: Poppins, Arial, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.55em; margin-right: -0.55em; line-height: 1.5; }
.cpb_t small { display: block; font-family: Poppins, Arial, sans-serif; font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #D6E4EF; line-height: 1.6; }
.cpb_lat { font-family: Poppins, Arial, sans-serif; letter-spacing: 0.26em; text-transform: uppercase; font-size: 10px; font-weight: 500; }
.cpb_brand h1 { font-size: 35px; line-height: 1.65; font-weight: 700; margin: 42px 0 12px; position: relative; }
.cpb_brand h1 span { display: block; }
.cpb_lead { font-size: 16px; line-height: 2.15; color: #D6E4EF; margin: 0 0 28px; max-width: 560px; position: relative; }
.cpb_li { display: flex; flex-wrap: wrap; gap: 2px 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.22); position: relative; }
.cpb_li_last { border-bottom: 1px solid rgba(255, 255, 255, 0.22); margin-bottom: 26px; }
.cpb_li b { flex: 0 0 200px; font-size: 15px; font-weight: 600; }
.cpb_li span { flex: 1 1 260px; font-size: 14px; color: #D6E4EF; line-height: 1.95; }
.cpb_strip {
    margin-top: auto; border-radius: 14px; padding: 18px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; position: relative;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
/* Each brand in the middle of its third of the glass, and a size up (the
   owner, 14 Oct 2026, on the strip's picture: «كبر دول شوية ووسطنهم في
   الجزء الزجاجي»). */
.cpb_b { flex: 1 1 210px; display: flex; gap: 14px; align-items: center; justify-content: center; }
.cpb_b .cpb_m { height: 56px; width: 56px; filter: drop-shadow(0 4px 5px rgba(3, 14, 24, 0.5)); }
.cpb_bn { font-size: 16.5px; font-weight: 700; color: #fff; line-height: 1.6; white-space: nowrap; }
.cpb_b .cpb_other { font-size: 13px; }
.cpb_b .cpb_lat { font-size: 8.5px; letter-spacing: 0.14em; }
.cpb_side { flex: 0 1 470px; min-width: 300px; padding: 28px 40px 26px; display: flex; flex-direction: column; gap: 16px; }
.cpb_lang { align-self: flex-end; font-family: Poppins, "Noto Kufi Arabic", Arial, sans-serif; font-size: 13px; font-weight: 600; color: #226699; text-decoration: none; }
.cpb_lang:hover { text-decoration: underline; }
.cp_b .cp_card.cp_door { border: 1px solid #D5DEE5; border-top: 4px solid #226699; border-radius: 6px; padding: 24px 26px 26px; margin: 0; }
.cp_b .cp_door_mark { font-size: 20px; color: #16405F; line-height: 1.7; }
.cp_b .cp_lead { font-size: 13px; line-height: 2; color: #6B7C88; }
.cp_b .cp_form label span { font-size: 13.5px; }
.cp_b .cp_form input[type="text"], .cp_b .cp_form input[type="password"] { border-radius: 4px; font-family: Poppins, "Segoe UI", Arial, sans-serif; }
.cp_b .cp_btn { background: #226699; border-radius: 4px; font-family: inherit; }
.cp_b .cp_btn:hover { background: #1C5482; }
.cp_b .cp_note { font-size: 12.5px; line-height: 2; }
.cpb_news { background: #fff; border: 1px solid #E9D9A8; border-inline-start: 5px solid #C9972B; border-radius: 6px; padding: 13px 16px; }
.cpb_news small { display: block; font-size: 12px; font-weight: 600; color: #8A6410; margin-bottom: 3px; }
.cpb_news b { display: block; font-size: 15px; line-height: 1.8; }
.cpb_news span { display: block; font-size: 13px; color: #56646E; line-height: 1.9; margin-top: 2px; }
.cp_news_in { margin: 0 0 16px; }
.cpb_ft { margin-top: auto; font-size: 12px; color: #6B7C88; line-height: 2.1; }
/* A company not yet contracted: the line under the sign-in that leads to
   the request for an offer, and that page's own form. */
.cpb_ask { margin-top: 18px; padding-top: 16px; border-top: 1px solid #E3E9EE; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; font-size: 13px; color: #56646E; }
.cpb_ask a { display: inline-block; padding: 7px 14px; border: 1px solid #226699; border-radius: 4px; color: #226699; font-weight: 600; text-decoration: none; }
.cpb_ask a:hover { background: #226699; color: #fff; }
.cp_rq label { flex: 1 1 140px; }
.cp_rq .cp_wide { flex: 1 1 100%; }
.cp_b .cp_rq input[type="text"] { font-family: inherit; }
.cp_b .cp_form select { border-radius: 4px; }
.cp_form textarea { display: block; width: 100%; min-height: 76px; padding: 8px 10px; font: inherit; color: inherit; background: #fff; border: 1px solid #B9D5DD; border-radius: 4px; resize: vertical; }
.cp_form textarea:focus { outline: 2px solid #0F92AD; outline-offset: 1px; border-color: #0F92AD; }
/* Seen by no person, and pushed nowhere: a box sent far to one side
   gives a right-to-left page a sideways scroll. */
.cp_rq { position: relative; }
.cp_trap { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); opacity: 0; pointer-events: none; }
.cp_rq .cp_actions { justify-content: space-between; margin-top: 4px; }
.cp_back { font-size: 13px; color: #226699; }
.cpb_done { text-align: center; padding: 10px 0 6px; }
.cpb_done .cp_note { margin-top: 10px; }
.cpb_done_no { display: inline-block; margin: 6px 0 14px; padding: 9px 18px; border: 1px dashed #226699; border-radius: 6px; font-family: Poppins, Arial, sans-serif; font-size: 19px; font-weight: 600; color: #16405F; direction: ltr; }
/* Below a wide screen the lockup keeps its first enlargement: the
   largest and the shelf of three would not share the one row. */
@media (min-width: 901px) and (max-width: 1600px) {
    .cpb_lock { gap: 17px; }
    .cpb_lock img { height: 82px; width: 82px; }
    .cpb_name { font-size: 26px; }
    .cpb_lock .cpb_other { font-size: 15px; }
    .cpb_lock .cpb_lat { font-size: 12.5px; }
}
/* A middling screen: the shelf of three a little smaller, so the larger
   lockup and the shelf still share the one row. */
@media (min-width: 901px) and (max-width: 1500px) {
    .cpb_t { width: 110px; padding: 14px 5px 10px; }
    .cpb_t .cpb_m { width: 68px; height: 68px; }
    .cpb_t b { font-size: 15px; }
    .cpb_t small { font-size: 7.5px; letter-spacing: 0.08em; }
    .cpb_strip { padding: 14px 12px; gap: 12px 8px; }
    .cpb_b { flex: 1 1 190px; gap: 10px; }
    .cpb_b .cpb_m { height: 46px; width: 46px; }
    .cpb_bn { font-size: 14px; }
    .cpb_b .cpb_other { font-size: 11.5px; }
    .cpb_b .cpb_lat { font-size: 7.5px; }
}
@media (max-width: 900px) {
    .cpb_lock { gap: 14px; }
    .cpb_lock img { height: 62px; width: 62px; }
    .cpb_name { font-size: 20px; }
    .cpb_lock .cpb_other { font-size: 12px; }
    .cpb_lock .cpb_lat { font-size: 10px; }
    .cpb_side { order: -1; flex: 1 1 100%; padding: 20px 14px; }
    .cpb_brand { padding: 28px 18px 22px; }
    .cpb_brand h1 { font-size: 26px; margin-top: 24px; }
    .cpb_wm { display: none; }
    .cpb_trio { width: 100%; padding: 4px 6px; }
    .cpb_t { flex: 1 1 0; width: auto; min-width: 0; padding: 12px 4px 10px; }
    .cpb_t .cpb_m { width: 62px; height: 62px; }
    .cpb_t b { font-size: 14px; }
    .cpb_t small { font-size: 7.5px; letter-spacing: 0.06em; }
    .cpb_li b { flex: 1 1 100%; }
}
