/* ezRAD.com's colors, used on every page (the website, Cloud and the apps), taken from the Cloud calendar:
   dark grey text, the site's blue for links and accents, pale blue title strips and table headings with navy text,
   and the pale yellow highlight. The red-topped panels and the blue menu bar stay as they are. Loaded last (site.js and
   ez-look.js add it), so it wins over each page's older colors. */
:root{--ez-text:#333;--ez-blue:#2b84bc;--ez-navy:#01246f;--ez-pale:#e8f1f8;--ez-paleline:#d3e2ef;--ez-hi:#ffffcf;--ez-line:#ddd}

/* Text and links */
html body{color:var(--ez-text)}
html .public-canvas a,html .cloud-canvas a,html main a,html .panel-body a,html .content a,html dialog a,html .sidebar a,html .tabs>li>a{color:var(--ez-blue)}
html .tabs>li.active>a,html .tabs>li.active>a:hover{color:var(--ez-navy)}

/* Title strips: pale blue with navy text, instead of the grey gradient */
html .panel-title,html .heading,html.ez-app .card>h2:first-child,html.ez-app dialog>h2:first-child,html.ez-look .card>h2:first-child,html.ez-look .gt-card>header{
  background:var(--ez-pale)!important;color:var(--ez-navy);border-bottom:1px solid var(--ez-paleline)}
html .panel-title b,html .panel-title #sysname{color:var(--ez-navy)}

/* Tables: pale blue headings with navy text, light rules, yellow highlight on hover */
html table{border-color:var(--ez-line)!important}
html th,html td.heading,html tr.heading td{background:var(--ez-pale)!important;color:var(--ez-navy)!important;border-color:var(--ez-paleline)!important}
html td{border-color:var(--ez-line)!important}
html td{padding:5px 8px!important}
html td.highlight,html tr.highlight td,html .highlight{background:#fff!important}   /* no all-yellow tables… */
html tr:hover td{background:var(--ez-hi)!important}   /* …the yellow follows the mouse */
html .chosen,html .chosen td,html tr.chosen td{background:var(--ez-pale)!important;color:var(--ez-navy)!important}
html .chosen a{color:var(--ez-navy)!important}
html th.sorted,html .sorted{background:var(--ez-paleline)!important}

/* Small accents */
html .pill.active,html .pill.trialing{border-color:var(--ez-blue)}
html .hint,html .muted{color:#666}

/* Blue instead of red: the top edge of every panel and pop-up, the line under titles, and the highlighted words in
   headings (navy). Red is kept only for warnings (errors, overdue, the notification badge). */
html .panel,html .panel-50,html .sidebar,html .quote,html.ez-app .card,html.ez-app dialog,html.ez-look .card,html.ez-look .gt-card,html.ez-look .balance,
html.ez-look .sheet,html.ez-app .pcard,html dialog{border-top-color:var(--ez-blue)!important}
html .panel-title,html .heading{border-bottom-color:var(--ez-blue)!important}
html .carousel-title span,html .public-canvas .panel-body span,html .title span,html .panel-title span{color:var(--ez-navy)!important;font-weight:700}
html.ez-app .tabs2 button.on{border-color:var(--ez-blue);box-shadow:0 0 0 1px var(--ez-blue)}
/* The round icons above the home page's panels: their red ring drawn in the site's blue */
html .panel-image img{filter:hue-rotate(205deg) saturate(.9)}

/* Toolbars above lists (View, Rows, Find, < >, print, annotate, refresh): one tidy row of small white buttons */
html .panel>.panel-title{display:flow-root}
html .panel-title .select,html .panel-title .find input,html .tools .select,html .tools .find input{height:30px!important;border:1px solid #c9d8e6!important;border-radius:6px!important;background:#fff!important;color:var(--ez-text)}
html button.prev,html button.next,html button.print,html button.annotate,html button.refresh,html .tools button{
  background:#fff!important;color:var(--ez-navy)!important;border:1px solid #c9d8e6!important;border-radius:6px!important;height:30px!important;min-height:0!important;
  padding:0 12px!important;font:13px 'Raleway',sans-serif!important;box-shadow:none!important;filter:none!important;text-shadow:none!important;margin-left:6px}
html button.prev:hover,html button.next:hover,html button.print:hover,html button.annotate:hover,html button.refresh:hover,html .tools button:hover{background:var(--ez-pale)!important}
html button.prev:disabled,html button.next:disabled{opacity:.45}
html .page,html .page_id{margin-left:10px!important;color:var(--ez-navy)}
/* The portal's list toolbars (www.ezrad.com markup): one white row, View on the left, paging on the right */
html .panel[style*="linear-gradient"]{background:#fff!important}
html .panel>.panel-body{display:flow-root}
html .panel-body>.filter{width:auto!important;display:flex;align-items:center;gap:6px;float:left}
html .panel-body>.filter label{margin:0!important}
html .panel-body>.paging{display:flex!important;flex-direction:row-reverse;align-items:center;gap:6px;width:auto!important;float:right;padding:0!important}
html .panel-body>.paging>*{float:none!important;margin:0!important}
html .panel-body>.paging label{margin:0 0 0 4px!important}
html .select{border:1px solid #c9d8e6!important;border-radius:6px!important;background:#fff!important;height:30px;box-sizing:border-box}
html .select .selected{padding:6px 8px!important}
html .find input{height:30px!important;border:1px solid #c9d8e6!important;border-radius:6px!important;box-sizing:border-box}
html .panel[style*="linear-gradient"]>.panel-body{padding:10px 15px!important}
html td a{text-decoration:none} html td a:hover{text-decoration:underline}

/* ---------- One look for every button, list box and edit box, on every page and in every app ----------
   Main buttons: filled in the site's blue. Other buttons: white with a light blue outline. Boxes: white, light blue
   outline, blue ring when you're typing in them. All the same height, corners and font. */
html{--ez-ctl-h:34px;--ez-ctl-r:6px;--ez-ctl-b:#c9d8e6}
html button.primary,html .btn,html.ez-app main button:not(.sm):not(.ez-x):not(.ghost),html.ez-app dialog button:not(.sm):not(.ez-x):not(.ghost),
html .panel-body .button,html input[type=submit],html input[type=button],html a.linkbtn,html .ezbtn{
  background:var(--ez-blue)!important;color:#fff!important;border:1px solid var(--ez-blue)!important;border-radius:var(--ez-ctl-r)!important;
  height:var(--ez-ctl-h)!important;min-height:var(--ez-ctl-h)!important;padding:0 16px!important;font:14px 'Raleway',sans-serif!important;font-weight:normal!important;
  box-shadow:none!important;text-shadow:none!important;filter:none!important;background-image:none!important;cursor:pointer;width:auto}
html button.primary:hover,html .btn:hover,html.ez-app main button:not(.sm):not(.ez-x):not(.ghost):hover,html.ez-app dialog button:not(.sm):not(.ez-x):not(.ghost):hover,
html .panel-body .button:hover,html input[type=submit]:hover,html input[type=button]:hover,html a.linkbtn:hover{background:#2474a6!important;border-color:#2474a6!important}
html .panel-body .button{width:100%!important;height:44px!important;min-height:44px!important;font-size:16px!important}   /* sign-in style buttons keep their width */
html button.ghost,html button.sm,html.ez-app main button.sm,html.ez-app dialog button.sm,html .sheet .btns button:not(.primary),html .sheet .stack button:not(.primary):not(.danger),html td button{
  background:#fff!important;color:var(--ez-navy)!important;border:1px solid var(--ez-ctl-b)!important;border-radius:var(--ez-ctl-r)!important;
  height:var(--ez-ctl-h)!important;min-height:var(--ez-ctl-h)!important;padding:0 14px!important;font:14px 'Raleway',sans-serif!important;font-weight:normal!important;box-shadow:none!important;filter:none!important;background-image:none!important}
html button.sm,html td button{height:30px!important;min-height:30px!important;font-size:13px!important;padding:0 12px!important}
html button.ghost:hover,html button.sm:hover,html .sheet .btns button:not(.primary):hover,html .sheet .stack button:not(.primary):not(.danger):hover,html td button:hover{background:var(--ez-pale)!important}
html button.danger{color:#c62a4a!important;background:#fff!important;border:1px solid #f0c7cf!important;border-radius:var(--ez-ctl-r)!important;box-shadow:none!important;background-image:none!important}
html button:disabled,html input:disabled{opacity:.5;cursor:default}
html input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=image]):not([type=submit]):not([type=button]):not(.gt-newin):not(.gt-subin):not(.gt-dtitle),
html select,html textarea,html .select{
  background:#fff!important;color:var(--ez-text)!important;border:1px solid var(--ez-ctl-b)!important;border-radius:var(--ez-ctl-r)!important;
  font:14px 'Raleway',sans-serif!important;padding:5px 8px!important;box-sizing:border-box;box-shadow:none!important;outline:none}
html input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=image]):not([type=submit]):not([type=button]):not(.gt-newin):not(.gt-subin):not(.gt-dtitle),html select{height:var(--ez-ctl-h)!important}
html textarea{min-height:80px;height:auto}
html input:focus,html select:focus,html textarea:focus{border-color:var(--ez-blue)!important;box-shadow:0 0 0 3px rgba(43,132,188,.2)!important}
html .select{padding:0!important;display:inline-block} html .select .selected{padding:7px 8px!important;font-size:13px}
html input[type=checkbox],html input[type=radio]{accent-color:var(--ez-blue)}
html.ez-look .themepick,html.ez-look label.f:has(+ .themepick){display:none!important}   /* the site's colors are used, so no theme color to pick */

/* ---------- How controls behave (site/controls.js adds the classes) ---------- */
/* 1, 2: one main button per row, the same order everywhere: Delete far left, Cancel/Close, then the main action on the right */
html .ez-btnrow{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px}
html .ez-btnrow>*{margin:0!important;float:none!important}
html .ez-btnrow>.ez-del{order:-2;margin-right:auto!important}
html .ez-btnrow>.ez-cancel{order:-1;margin-left:auto!important}
html .ez-btnrow>.ez-del+.ez-cancel,html .ez-btnrow>.ez-cancel~.ez-cancel{margin-left:0!important}
html .ez-btnrow>.ez-main{order:9}
html button.ez-2nd:not(#ez),html input.ez-2nd:not(#ez),html a.linkbtn.ez-2nd:not(#ez){background:#fff!important;color:var(--ez-navy)!important;border:1px solid var(--ez-ctl-b)!important}
html button.ez-2nd:not(#ez):hover{background:var(--ez-pale)!important}
/* 3: busy */
html .ez-busy{position:relative;color:transparent!important;pointer-events:none}
html .ez-busy::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-9px 0 0 -9px;border:2px solid #fff;border-right-color:transparent;border-radius:50%;animation:ezspin .7s linear infinite}
html .ez-2nd.ez-busy::after,html button.ghost.ez-busy::after,html button.sm.ez-busy::after{border-color:var(--ez-blue);border-right-color:transparent}
@keyframes ezspin{to{transform:rotate(360deg)}}
/* 5: icon buttons, one size with a soft hover circle */
html .iconbtn,html .gt-dots,html .gt-dbtn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;border-radius:50%!important;display:inline-flex;align-items:center;justify-content:center}
html .iconbtn:hover,html .gt-dots:hover,html .gt-dbtn:hover{background:var(--ez-pale)!important}
/* 6: www.ezrad.com's list boxes shown as standard ones */
html .select.ez-has-native{border:0!important;background:none!important;height:auto;width:auto!important;min-width:0!important}
html .select.ez-has-native>.selected,html .select.ez-has-native>.options{display:none!important}
html select.ez-native{min-width:90px}
html select,html select.select,html .panel-title select.select,html .tools select.select{appearance:none;-webkit-appearance:none;padding-right:28px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2301246f'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important}
/* 7: type to filter a long list */
html input.ez-filter:not(#ez){display:block;width:100%;max-width:320px;margin:0 0 4px;height:30px!important;font-size:13px!important}
/* 8: labels above boxes */
html label.ez-lbl{display:block;font:13px 'Raleway',sans-serif;color:#555;margin:8px 0 3px}
/* 9: checked as you type */
html .ez-bad:not(#ez){border-color:#c62a4a!important;box-shadow:0 0 0 3px rgba(198,42,74,.15)!important}
html .ez-msg{color:#c62a4a;font:12px 'Raleway',sans-serif;margin:3px 0 6px}
/* 11: Find boxes */
html input.ez-find:not(#ez){padding-left:28px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23666' stroke-width='2'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath d='M9.5 9.5L13 13'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:9px center!important}
/* 12: a clear focus ring on whatever has the keyboard */
html button:focus-visible,html a:focus-visible,html select:focus-visible,html [tabindex]:not([tabindex="-1"]):focus-visible:not(body):not(html){outline:3px solid rgba(43,132,188,.45)!important;outline-offset:2px}
/* 13: taller controls on phones */
@media (max-width:768px){html{--ez-ctl-h:40px}}
/* list toolbars keep their small white buttons (they're tools, not the page's main action) */
html .paging button:not(#ez){background:#fff!important;color:var(--ez-navy)!important;border:1px solid var(--ez-ctl-b)!important;height:30px!important;min-height:30px!important;padding:0 12px!important;font-size:13px!important}
html .paging button:not(#ez):hover{background:var(--ez-pale)!important}
html .paging select:not(#ez),html .filter select:not(#ez),html .paging input:not(#ez){height:30px!important;min-height:30px!important;font-size:13px!important}
/* List toolbars: everything on one line, centred, all exactly the same height (32px) */
html .panel[style*="linear-gradient"]>.panel-body:not(#ez){display:flex!important;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
html .panel-body>.filter:not(#ez),html .panel-body>.paging:not(#ez){float:none!important;display:flex!important;align-items:center;height:32px;margin:0!important}
html .paging>*:not(#ez),html .filter>*:not(#ez){align-self:center;margin-top:0!important;margin-bottom:0!important}
html .paging .find:not(#ez),html .paging .select:not(#ez),html .filter .select:not(#ez){display:flex!important;align-items:center;height:32px!important;width:auto!important;padding:0!important;border:0!important;background:none!important}
html .paging button:not(#ez),html .paging select:not(#ez),html .filter select:not(#ez),html .paging input:not(#ez){height:32px!important;min-height:32px!important;max-height:32px;line-height:30px;box-sizing:border-box;vertical-align:middle;margin:0!important}
html .paging label:not(#ez),html .filter label:not(#ez){line-height:32px;margin:0 2px!important}
html .paging input:not(#ez){width:160px!important}
/* Every other column lightly shaded, so long rows are easy to follow; the yellow still follows the mouse */
html tr:not(.heading):not(.chosen) td:nth-child(odd):not(.heading){background:var(--ez-hi)!important}   /* a light yellow-highlighter band: the first column, then every other one */
html tr:not(.heading):not(.chosen):has(>td:first-child[style*="none"]) td:nth-child(odd):not(.heading){background:transparent!important}   /* lists with a hidden ID column first: */
html tr:not(.heading):not(.chosen):has(>td:first-child[style*="none"]) td:nth-child(even):not(.heading){background:var(--ez-hi)!important}   /* still the first column you see, then every other one */
html tr:not(.heading):not(.chosen):hover td:not(.heading){background:#fff176!important}   /* the row under the mouse: a stronger highlighter yellow */
html [tabindex="-1"]:focus,html [tabindex="-1"]:focus-visible{outline:none!important}   /* areas that only take the keyboard for scrolling (Cloud's content, sidebar) never show a ring */

/* Loading: a thin ring in ezRAD.com's blue (appears after a moment, so quick loads never flash it) */
.ez-ring{width:40px;height:40px;box-sizing:border-box;border-radius:50%;border:3px solid #d6e6f2;border-top-color:#2b84bc;margin:auto;animation:ezspin .9s linear infinite,ezfade .2s ease .3s both}
@keyframes ezspin{to{transform:rotate(360deg)}}
@keyframes ezfade{from{opacity:0}to{opacity:1}}
html .loading.ez-ringbox{background:none!important;border:0!important;box-shadow:none!important;width:40px!important;height:40px!important;padding:0!important;margin:-20px 0 0 -20px!important}

/* the picked tab in a row of tabs (a client's Overview, Software…) is filled in */
html.ez-app .tabs2 button.on{background:#01246f!important;color:#fff!important;border-color:#01246f!important}

/* one spinner only (Michael, Oct 2026: "never show two spinners"): the old pages' own loading picture never shows; site.js's ring does */
.loading:not(.ez-ringbox),#loading:not(.ez-ringbox){display:none!important}
