/* Golzak child theme (parent: nexus): the www.golzak.com header and footer; docs/golzak-child-theme.md.
   Linked from header.tpl with ?v=<file mtime> (includes/hooks/golzakThemeVars.php), so an edit here reaches browsers at once.
   css/custom.css (loaded first, unversioned, by Nexus's head.tpl) only imports Nexus's own custom.css. */

:root {
    --gz-blue: #00ADEE;      /* the website's palette (Odoo o-color-1..5) */
    --gz-blue-dark: #0288D1;
    --gz-sky: #6FD8FF;
    --gz-ink: #212529;
}

html, body { background-color: #fff; }   /* Nexus paints both dark navy ("body, html" --bg-inverted), which showed around the header and footer */
body { font-family: "Teachers", "Open Sans", sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: "Jost", "Open Sans", sans-serif; }

/* ---- header: the rounded sky-blue bar of the website ---- */
#header.header { background: transparent; border: 0; box-shadow: none; }
.gz-bar-wrap { padding-top: 0; }
/* the website's measures (www.golzak.com/contactus, 2026-10-07): bar and footer box at most 1320px, 9.6px corners, a light shadow */
.container.gz-wide { max-width: 1350px; }
.gz-bar { display: flex; align-items: center; gap: 1.25rem; background: #fff; transition: background-color .3s; border-radius: 0 0 9.6px 9.6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); padding: .5rem 1rem; min-height: 62px; }
/* scrolling (header.tpl's script, wide screens only): fixed and sky blue, away while scrolling down, back on scroll up */
#header.gz-affixed .gz-bar-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; transition: transform .3s; }
#header.gz-affixed .gz-bar { background: var(--gz-sky); }
#header.gz-affixed.gz-away .gz-bar-wrap { transform: translateY(-110%); }
@media (prefers-reduced-motion: reduce) { #header.gz-affixed .gz-bar-wrap, .gz-bar { transition: none; } }
.gz-logo img { height: 28px; width: auto; display: block; }   /* the SVG wordmark at the website's rendered size */
.gz-links { list-style: none; margin: 0; padding: 0; gap: 1.1rem; align-items: center; }
.gz-links > li > a { color: var(--gz-ink); font-family: "Jost", sans-serif; font-size: 1rem; text-decoration: none; }
.gz-links > li > a:hover, .gz-links > li > a:focus { color: var(--gz-blue-dark); text-decoration: none; }
.gz-links .dropdown-menu { border-radius: .5rem; border: 1px solid rgba(33, 37, 41, .1); }
.gz-right { flex-direction: row; align-items: center; gap: .9rem; margin-left: auto; }
.gz-icon { color: var(--gz-ink) !important; background: rgba(0, 0, 0, .05); border-radius: 50%; width: 42px; height: 42px; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; position: relative; }   /* the website's round search button */
#header .gz-right .gz-icon { border: 0 !important; border-radius: 50% !important; background: rgba(0, 0, 0, .05) !important; box-shadow: none !important; }   /* over Nexus's .btn / .cart-btn box */
.gz-login { display: inline-block; border: 2px solid #02679E; border-radius: 6px; padding: 7px 35px; color: #02679E; font-family: "Jost", sans-serif; font-size: 1rem; text-transform: uppercase; text-decoration: none !important; }
.gz-login:hover, .gz-login:focus { background: #02679E; color: #fff; }

/* signed in: WHMCS's client menu and the account menu in the bar (header.tpl), Nexus's navbar.tpl markup */
.gz-portal-nav > li > a, .gz-account > li > a { color: var(--gz-ink); font-family: "Jost", sans-serif; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.gz-portal-nav > li > a:hover, .gz-account > li > a:hover, .gz-portal-nav > li.active > a { color: var(--gz-blue-dark); text-decoration: none; }
.gz-portal-nav .dropdown-menu, .gz-account .dropdown-menu { border-radius: .5rem; border: 1px solid rgba(33, 37, 41, .1); }
.gz-portal-nav .dropdown-menu li, .gz-account .dropdown-menu li { list-style: none; }
.gz-portal-nav .collapsable-dropdown { display: none !important; }   /* Nexus's overflow "More" item: no script fills it here */
.gz-bar .gz-account { margin-left: auto; }
.gz-bar .gz-account + .gz-right { margin-left: .9rem; }
/* signed out: WHMCS's account menu reads as the website's outlined sign-in button */
.gz-bar .gz-guest > li > a { display: inline-block; border: 2px solid #02679E; border-radius: 6px; padding: 7px 28px; color: #02679E; text-transform: uppercase; }
.gz-bar .gz-guest > li > a:hover, .gz-bar .gz-guest > li.show > a { background: #02679E; color: #fff; }

/* WHMCS's own client-area menu stays as a slim second row */
#header .main-navbar-wrapper { background: transparent; border: 0; }
#header .main-navbar-wrapper .navbar-nav .nav-link { font-family: "Jost", sans-serif; color: var(--gz-ink); }   /* Nexus's light text was for its dark bar */
#header .main-navbar-wrapper .navbar-nav .nav-link:hover, #header .main-navbar-wrapper .navbar-nav .nav-link:focus,
#header .main-navbar-wrapper .navbar-nav .active > .nav-link { color: var(--gz-blue-dark); }
#header .main-navbar-wrapper .navbar-toggler { color: var(--gz-ink); border-color: rgba(33, 37, 41, .35); }
.gz-mobile-links { border-bottom: 1px solid rgba(33, 37, 41, .1); margin-bottom: .5rem; }

/* ---- footer: the website's sky-blue box over a dark legal strip ---- */
.gz-footer { background: transparent; padding: 2rem 0 1.5rem; color: var(--gz-ink); font-size: 1.25rem; }
.gz-foot-box { background: var(--gz-sky); border-radius: 9.6px 9.6px 0 0; padding: 2rem 1rem 1rem; }
.gz-foot-label { margin-bottom: .4rem; }
.gz-foot-big { font-family: "Jost", sans-serif; font-weight: 500; font-size: 26px; margin-bottom: 1rem; }
.gz-foot-big a, .gz-foot-links a { color: #00506F; }
.gz-foot-big a:hover, .gz-foot-links a:hover { color: #02679E; }
.gz-social a { color: var(--gz-ink); font-size: 1.3rem; margin-left: .45rem; }
.gz-social a:hover { color: var(--gz-blue-dark); }
.gz-foot-box hr { border-top-color: rgba(33, 37, 41, .35); }
.gz-foot-links { text-align: right; margin: 0; }
.gz-legal { background: var(--gz-ink); color: #d6dadf; border-radius: 0 0 9.6px 9.6px; padding: 1rem; font-size: .95rem; }
.gz-legal-text { margin-bottom: .5rem; max-width: 640px; line-height: 1.9; }
.gz-legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.gz-legal a, .gz-locale { color: var(--gz-sky) !important; }
.gz-locale { border: 0; background: transparent; text-transform: uppercase; padding-left: 0; }

@media (max-width: 767px) {
    .gz-foot-links, .gz-social { text-align: left; }
    .gz-social a { margin: 0 .6rem 0 0; }
    .gz-foot-big { font-size: 22px; }
}

/* below the website's own breakpoint (992px): edge-to-edge bar and footer, a plain menu icon; the cart badge must not sit on
   the menu button, and the collapsed WHMCS menu row takes no space */
@media (max-width: 991.98px) {
    .container.gz-wide { max-width: none; padding-left: 0; padding-right: 0; }
    .gz-bar, .gz-foot-box, .gz-legal { border-radius: 0; }
    .gz-legal { padding-left: 1rem; padding-right: 1rem; }
    #header .gz-right .d-lg-none .gz-icon { background: transparent !important; border-radius: 6px !important; font-size: 1.25rem; }
    #header .gz-right { gap: 1rem; }
    #header .main-navbar-wrapper { padding-top: 0; padding-bottom: 0; min-height: 0; }
    #header .main-navbar-wrapper .navbar-collapse.show, #header .main-navbar-wrapper .navbar-collapse.collapsing { padding: .5rem 16px; }   /* the menu row's container has no side padding here */
}

/* signed in: WHMCS's "Logged in as" strip, light instead of Nexus's dark bar */
#header .topbar { background: #f1f7fb; color: var(--gz-ink); border-bottom: 1px solid rgba(33, 37, 41, .06); }
#header .topbar .btn, #header .topbar a, #header .topbar .input-group-text { color: var(--gz-ink) !important; }
#header .topbar .btn:hover, #header .topbar a:hover { color: var(--gz-blue-dark) !important; }

/* ---- the sign-in pages (oauth/layout.tpl, login.tpl, authorize.tpl) ----
   Golden ratio: brand panel : form = 1 : 1.618; spacing on 8 / 13 / 21 / 34 / 55; type 16 / 26 / 42 (x 1.618). */
body.gz-auth-body { margin: 0; background: #fff; font-family: "Teachers", "Open Sans", sans-serif; color: var(--gz-ink); }
.gz-auth { display: grid; grid-template-columns: 1fr 1.618fr; min-height: 100vh; }
.gz-auth-brand { position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(120% 80% at 0% 0%, #6FD8FF 0%, rgba(111, 216, 255, 0) 55%), linear-gradient(160deg, #00ADEE 0%, #0288D1 48%, #02679E 100%); }
.gz-auth-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.gz-auth-lines path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 13; stroke-linecap: round; }
.gz-auth-lines path:nth-child(2) { stroke: rgba(111, 216, 255, .35); stroke-width: 5; }
.gz-auth-lines path:nth-child(3) { stroke: rgba(255, 255, 255, .12); stroke-width: 34; }
.gz-auth-brand-inner { position: relative; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 55px; max-width: 520px; margin-left: auto; }
.gz-auth-chip { display: inline-flex; align-self: flex-start; background: #fff; border-radius: 13px; padding: 13px 21px; box-shadow: 0 13px 34px rgba(2, 55, 86, .25); margin-bottom: 55px; }
.gz-auth-chip img { height: 34px; width: auto; display: block; }
.gz-auth-headline { font-family: "Jost", sans-serif; font-weight: 500; font-size: 42px; line-height: 1.236; letter-spacing: -.01em; margin: 0 0 34px; color: #fff; }
.gz-auth-points { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.618; }
.gz-auth-points li { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; color: rgba(255, 255, 255, .92); }
.gz-auth-points i { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.gz-auth-main { display: flex; flex-direction: column; padding: 21px 34px; }
.gz-auth-top { display: flex; align-items: center; justify-content: flex-end; gap: 21px; font-size: 14px; color: #5f6b76; min-height: 55px; }
.gz-auth-mobile-logo { display: none; height: 28px; width: auto; margin-right: auto; }
.gz-auth-who { margin: 0; }
.gz-auth-link { background: none; border: 0; padding: 0; color: #02679E; font: inherit; font-family: "Jost", sans-serif; cursor: pointer; text-decoration: none; }
.gz-auth-link:hover { color: #00ADEE; text-decoration: none; }
.gz-auth-content { flex: 1; display: flex; align-items: center; justify-content: center; margin: 0; }
.gz-auth-card { width: 100%; max-width: 420px; margin: 34px auto; background: transparent; padding: 0; }
.gz-auth-title { font-family: "Jost", sans-serif; font-weight: 500; font-size: 26px; line-height: 1.236; margin: 0 0 8px; color: var(--gz-ink); text-align: left; }
.gz-auth-lead { color: #5f6b76; margin: 0 0 34px; font-size: 16px; }
.gz-auth-footer { text-align: center; font-size: 13px; color: #8a96a1; padding: 21px 0 8px; }

/* Material outlined text field: the label rests inside as a placeholder, floats into the outline on focus or when filled */
.gz-field { position: relative; margin-bottom: 21px; }
.gz-field input { width: 100%; height: 55px; box-sizing: border-box; padding: 0 16px; font: inherit; font-size: 16px; color: var(--gz-ink);
    background: transparent; border: 1px solid #79747E; border-radius: 8px; outline: none; transition: border-color .15s, box-shadow .15s; }
.gz-field input:hover { border-color: var(--gz-ink); }
.gz-field label { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); padding: 0 4px; background: #fff; color: #5f6b76; font-size: 16px;
    pointer-events: none; transition: top .18s cubic-bezier(.2, 0, 0, 1), font-size .18s cubic-bezier(.2, 0, 0, 1), color .18s; margin: 0; line-height: 1; }
.gz-field input:focus { border-color: #02679E; box-shadow: inset 0 0 0 1px #02679E; }
.gz-field input:focus + label, .gz-field input:not(:placeholder-shown) + label { top: 0; font-size: 12px; }
.gz-field input:focus + label { color: #02679E; }
.gz-field input:-webkit-autofill + label { top: 0; font-size: 12px; }
.gz-field-password input { padding-right: 55px; }
.gz-field-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #5f6b76; cursor: pointer; }
.gz-field-eye:hover { background: rgba(2, 103, 158, .08); color: #02679E; }

.gz-auth-row { display: flex; align-items: center; justify-content: space-between; margin: -5px 0 34px; font-size: 14px; }
.gz-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; color: #5f6b76; font-weight: 400; }
.gz-check input { width: 18px; height: 18px; accent-color: #02679E; }
.gz-auth-submit { width: 100%; height: 55px; border: 0; border-radius: 8px; color: #fff; font-family: "Jost", sans-serif; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
    background: linear-gradient(135deg, #00ADEE 0%, #02679E 100%); box-shadow: 0 8px 21px rgba(2, 103, 158, .28); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.gz-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 13px 34px rgba(2, 103, 158, .34); }
.gz-auth-submit:active { transform: none; }
.gz-auth-cancel { display: block; margin: 13px auto 0; background: none; border: 0; color: #5f6b76; font: inherit; font-size: 14px; cursor: pointer; }
.gz-auth-cancel:hover { color: #02679E; }
.gz-auth-wait { display: flex; align-items: center; justify-content: center; gap: 13px; color: #5f6b76; font-size: 16px; }
.gz-spin { width: 21px; height: 21px; border-radius: 50%; border: 3px solid #d6e9f5; border-top-color: #02679E; animation: gz-spin .8s linear infinite; }
@keyframes gz-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gz-field label, .gz-auth-submit, .gz-spin { transition: none; animation: none; } }
/* other OAuth apps' consent screen (WHMCS markup) inside the card */
.gz-auth-card .app-logo { display: none; }
.gz-auth-card .content-padded { padding: 0 0 21px; }
.gz-auth-card .action-buttons { display: flex; gap: 13px; justify-content: flex-end; background: none; border: 0; padding: 0; }

@media (max-width: 991.98px) {
    .gz-auth { grid-template-columns: 1fr; }
    .gz-auth-brand { min-height: 89px; }
    .gz-auth-brand-inner { display: none; }
    .gz-auth-main { padding: 13px 21px; margin-top: -55px; position: relative; }
    .gz-auth-top { background: #fff; border-radius: 13px; padding: 8px 13px; box-shadow: 0 8px 21px rgba(2, 55, 86, .12); flex-wrap: wrap; }
    .gz-auth-mobile-logo { display: block; }
    .gz-auth-card { margin-top: 34px; }
}

/* the client-area home's Tickets tile: support is Odoo's (includes/hooks/golzakHideUnused.php); the other tiles share the row */
.tiles .row > div:has(> a[href*="supporttickets.php"]) { display: none !important; }
@media (min-width: 1200px) { .tiles .row > div { flex: 1 1 0; max-width: none; } }
