/* ========= Base / Reset ========= */
*, *::before, *::after { box-sizing: border-box; }
:root{
  --bg: #f3f4f6;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --brand-rgb: 37, 99, 235;
  --brand: rgb(var(--brand-rgb));      /* primary accent color */
  --brand-dark: #1d4ed8;
  --brand-darker: #1e3a8a;
  --ring: rgba(var(--brand-rgb), .25);
  --brand-soft: rgba(var(--brand-rgb), .12);
  --brand-soft-hover: rgba(var(--brand-rgb), .08);
  --brand-shadow: rgba(var(--brand-rgb), .25);
  --brand-hero-secondary: rgba(14, 165, 233, .85);
  --gray-100: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

body[data-tenant="gleeson"],
html[data-tenant="gleeson"]{
  --brand-rgb: 37, 99, 235;
  --brand-dark: #1d4ed8;
  --brand-darker: #1e3a8a;
  --brand-hero-secondary: rgba(14, 165, 233, .85);
}

body[data-tenant="itech"],
html[data-tenant="itech"]{
  --brand-rgb: 220, 38, 38;
  --brand-dark: #b91c1c;
  --brand-darker: #991b1b;
  --brand-hero-secondary: rgba(248, 113, 113, .85);
}

html, body {
  height: 100%;
}

body{
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open{
  overflow: hidden;
}

body.modal-open--fallback::after{
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .45);
  pointer-events: none;
  z-index: 1000;
}

/* ========= Auth / Login ========= */
.auth-body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top left, rgba(var(--brand-rgb), .18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(var(--brand-rgb), .12), transparent 52%),
              var(--bg);
}

.auth-body--minimal{
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), var(--bg));
}

.auth-minimal{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 10vw, 96px) 18px;
}

.auth-minimal__card{
  width: min(420px, 100%);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, .14);
  padding: clamp(32px, 6vw, 44px);
  display: grid;
  gap: 24px;
}

.auth-minimal__brand{
  display: grid;
  gap: 16px;
  text-align: center;
}

.auth-minimal__logos{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.auth-minimal__logo{
  max-height: 48px;
  width: auto;
}

.auth-minimal__divider{
  width: 1px;
  height: 36px;
  background: var(--gray-200);
  display: inline-block;
}

.auth-minimal__title{
  margin: 0;
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -.01em;
}

.auth-minimal__subtitle{
  margin: 0;
  color: var(--gray-600);
  font-size: 15px;
}

.auth-minimal__form{
  display: grid;
  gap: 18px;
}

.auth-minimal__field{
  display: grid;
  gap: 8px;
}

.auth-minimal__label{
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-600);
}

.auth-input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  background: #fff;
  color: var(--text);
}

.auth-input:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
  transform: translateY(-1px);
}

.auth-minimal__submit{
  border: 0;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  font-size: 15px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
  box-shadow: 0 12px 24px var(--brand-shadow);
}

.auth-minimal__submit:hover{
  background: var(--brand-dark);
  box-shadow: 0 18px 28px var(--brand-shadow);
}

.auth-minimal__meta{
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

.auth-wrapper{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 8vw, 72px) 16px 72px;
}

.auth-shell{
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(241, 245, 249, .9));
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 30px 70px rgba(15, 23, 42, .16);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.auth-card.card{
  box-shadow: none;
  border-radius: 0;
  padding: clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(248, 250, 252, .92) 100%);
}

.auth-card__header h1{
  font-size: clamp(28px, 3.2vw, 36px);
  letter-spacing: -.01em;
}

.auth-subtitle{
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 15px;
}

.auth-error{
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(220, 38, 38, .12);
  border: 1px solid rgba(248, 113, 113, .5);
  color: #b91c1c;
  font-weight: 600;
  text-align: center;
}

.auth-form{
  display: grid;
  gap: 18px;
}

.input-field{
  display: grid;
  gap: 8px;
}

.input-field label{
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-600);
  letter-spacing: .01em;
}

.input-control{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.input-control:focus-within{
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
  transform: translateY(-1px);
}

.input-control input{
  flex: 1;
  border: 0;
  padding: 14px 0;
  font-size: 15px;
  background: transparent;
  color: var(--text);
}

.input-control input:focus{
  outline: none;
  box-shadow: none;
}

.input-icon{
  font-size: 18px;
  color: var(--gray-500);
}

.auth-submit{
  margin-top: 6px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 15px 25px var(--brand-shadow);
}

.auth-submit:hover{
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-darker) 100%);
}

.auth-meta{
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

.auth-illustration{
  position: relative;
  padding: clamp(32px, 6vw, 48px);
  background: linear-gradient(160deg, rgba(var(--brand-rgb), .92), var(--brand-hero-secondary));
  color: #f8fafc;
  display: flex;
  align-items: center;
}

.auth-illustration::after{
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  pointer-events: none;
}

.auth-illustration__inner{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.auth-illustration__inner--portal{
  justify-items: center;
  text-align: center;
  gap: clamp(18px, 4vw, 26px);
}

.auth-logos{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 32px);
  flex-wrap: wrap;
}

.auth-logos img{
  max-height: 72px;
  width: auto;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, .18));
}

.auth-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .28);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-illustration h2{
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -.01em;
}

.auth-illustration p{
  margin: 0;
  color: rgba(241, 245, 249, .88);
  font-size: 15px;
}

.auth-benefits{
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  font-size: 15px;
  color: rgba(var(--brand-rgb), .85);
}

.auth-benefits li{
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 960px){
  .auth-shell{
    grid-template-columns: 1fr;
  }

  .auth-illustration{
    display: none;
  }
}

@media (max-width: 540px){
  .auth-minimal{
    padding: 32px 18px 48px;
  }

  .auth-minimal__card{
    padding: 28px 22px 32px;
    gap: 20px;
  }

  .auth-minimal__logos{
    gap: 12px;
  }

  .auth-card.card{
    padding: 28px 22px 32px;
  }

  .auth-wrapper{
    padding-top: 24px;
    padding-bottom: 48px;
  }
}

/* ========= Global Header ========= */
.site-header{
  width: 100%;
  background: var(--card);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.site-header__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.site-header__brand{
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  justify-self: center;
}

.site-header__brand {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.site-header__logo{
  display: block;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.site-header__home{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  flex-shrink: 0;
  justify-self: start;
}

.site-header__home:hover {
  background: var(--brand-soft-hover);
  color: var(--brand-dark);
  box-shadow: 0 0 0 4px var(--ring);
}

.site-header__home:focus-visible {
  outline: none;
  background: rgba(var(--brand-rgb), .18);
}

  color: var(--brand-dark);
  box-shadow: 0 0 0 4px var(--ring);
}

.site-header__home-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}

.site-header__home-icon svg{
  width: 18px;
  height: 18px;
}

.site-header__settings{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
  flex-shrink: 0;
  justify-self: end;
}

.site-header__settings:hover{
  color: var(--brand);
  border-color: var(--brand-dark);
  background: rgba(var(--brand-rgb), .18);
  box-shadow: 0 0 0 4px var(--ring);
}

.site-header__settings:focus-visible{
  outline: none;
  color: var(--brand);
  border-color: var(--brand-dark);
  background: rgba(var(--brand-rgb), .18);
  box-shadow: 0 0 0 4px var(--ring);
}

.site-header__settings svg{
  width: 20px;
  height: 20px;
}

.site-header__actions{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
  flex-wrap: nowrap;
}

.site-header__username{
  font-weight: 600;
  color: var(--brand-dark);
  white-space: nowrap;
}

.site-header__logout{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.site-header__logout:hover{
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 0 0 4px var(--ring);
}

.site-header__logout:focus-visible{
  outline: none;
  background: rgba(var(--brand-rgb), .18);
  color: var(--brand-dark);
  box-shadow: 0 0 0 4px var(--ring);
}

/* ========= Global Footer ========= */
.site-footer{
  width: 100%;
  background: var(--card);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -6px 18px rgba(15, 23, 42, .06);
  margin-top: 48px;
}

.site-footer__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__version{
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
}

.site-footer__version-label{
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gray-500);
}

.site-footer__version-value{
  color: var(--gray-600);
  font-variant-numeric: tabular-nums;
}

/* Utility */
.hidden{ display: none !important; }
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========= Layout Container ========= */
.container{
  width: 100%;
  max-width: 1100px;           /* dashboard-wide on large screens */
  margin: 32px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.container--narrow{
  max-width: 720px;
}

.container--calendar{
  max-width: 1400px;
  align-items: stretch;
}

/* Headings */
h1{
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.2;
  text-align: center;
  font-weight: 800;
  letter-spacing: .2px;
}

/* ========= Card ========= */
.card{
  width: 100%;
  max-width: 560px;            /* default narrow card */
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

/* When on wide dashboards, allow “wide cards” by adding .wide */
.card.wide{
  max-width: none;
}

/* ========= Forms / Controls ========= */
.card form{ width: 100%; }

.card input:not(.sr-only):not([type="checkbox"]):not([type="radio"]),
.card select,
.card button{
  width: 100%;
}

.card input:not(.sr-only):not([type="checkbox"]):not([type="radio"]),
.card select{
  appearance: none;
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.card input:not([type="hidden"]) + input:not([type="hidden"]),
.card input:not([type="hidden"]) + button,
.card input:not([type="hidden"]) + .btn {
  margin-left: 8px;
}

.card input:not(.sr-only):not([type="checkbox"]):not([type="radio"]):focus,
.card select:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
}

.card select.select--locked{
  background: var(--gray-200);
  color: var(--gray-500);
  cursor: not-allowed;
}

.card select.select--locked:focus{
  border-color: var(--gray-300);
  box-shadow: none;
}

/* ========= On-Call Calendar ========= */
.card--calendar{
  width: 100%;
  max-width: none;
  align-self: stretch;
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(180deg, rgba(255,255,255,.98), #fff 60%, rgba(255,255,255,.92));
}

.card--calendar .btn,
.card--calendar button{
  width: auto;
}

.calendar-header{
  display: grid;
  gap: 10px;
  text-align: center;
}

.calendar-header__titles{
  display: grid;
  gap: 8px;
}

.calendar-header__subtitle{
  margin: 0;
  color: var(--gray-600);
  font-size: 15px;
}

.calendar-header__hint{
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
}

.calendar-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.calendar-toolbar__actions{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-toolbar__summary{
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.calendar-toolbar__tenant{
  font-weight: 600;
  color: var(--gray-700);
}

.calendar-company-picker{ 
  display: grid; 
  gap: 8px; 
  width: 100%; 
}

.calendar-company-picker__label{
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 0;
}

.calendar-company-picker .toggle-group{
  margin: 0;
}

.calendar-company-picker .toggle-option label{
  padding: 10px 12px;
}

.calendar-company-picker__indicator{
  margin: 0;
  font-weight: 600;
  color: var(--gray-600);
}

.calendar-company-picker:not(.calendar-company-picker--single) .calendar-company-picker__indicator{
  display: none;
}

.calendar-company-picker--single .toggle-group{
  display: none;
}

.calendar-calendar-picker{
  display: grid;
  gap: 8px;
  width: 100%;
}

.calendar-calendar-picker__label{
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 0;
}

.calendar-calendar-picker .toggle-group{
  margin: 0;
}

.calendar-calendar-picker .toggle-option label{
  padding: 10px 12px;
}

.calendar-calendar-picker--single .toggle-group{
  display: none;
}


.calendar-toolbar__btn{
  min-width: 0;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.calendar-toolbar__btn-text{
  font-weight: 500;
}

.calendar-toolbar__current{
  font-weight: 700;
  font-size: 18px;
}

.calendar-import-form{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.calendar-import-form__label{
  cursor: pointer;
}

.calendar-import-form__filename{
  font-size: 13px;
  color: var(--gray-500);
}

.calendar-import-form__filename--active{
  color: var(--gray-700);
  font-weight: 600;
}

.calendar-alert{
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-darker);
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), .18);
}

.calendar-alert[data-status-type="error"]{
  background: #fee2e2;
  color: #991b1b;
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, .35);
}

.calendar-alert[data-status-type="success"]{
  background: #dcfce7;
  color: #166534;
  box-shadow: inset 0 0 0 1px rgba(22, 101, 52, .35);
}

.calendar-companies{
  display: grid;
  gap: 28px;
  width: 100%;
}

.calendar-company{
  --calendar-accent: var(--brand);
  --calendar-accent-strong: var(--brand-dark);
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.calendar-company--hidden{
  display: none;
}

.calendar-company__header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.calendar-company__title{
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -.01em;
  color: var(--brand-dark);
}

.calendar-company__subhead{
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
}

.calendar-months{
  display: grid;
  gap: 24px;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.calendar-month{
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 14px;
  width: 100%;
}

.calendar-month__header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.calendar-month__title{
  margin: 0;
  font-size: 18px;
}

.calendar-weekdays{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calendar-weeks{
  display: grid;
  gap: 8px;
}

.calendar-week{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day{
  position: relative;
  background: var(--gray-100);
  border-radius: 12px;
  min-height: 96px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gray-200);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.calendar-day--outside{
  background: transparent;
  border-color: transparent;
  pointer-events: none;
  box-shadow: none;
}

.calendar-day--today{
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--ring);
}

.calendar-day__number{
  align-self: flex-start;
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-600);
}

.calendar-day__content{
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.calendar-day__holiday-dot{
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--calendar-accent, var(--brand));
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
  z-index: 1;
}

.calendar-day__add{
  border: 0;
  padding: 0;
  background: none;
  color: var(--gray-400);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .15s ease;
}

.calendar-day__add:hover{
  color: var(--gray-500);
}

.calendar-day__add:focus-visible{
  color: var(--gray-600);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.calendar-day__empty{
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
}

.calendar-assignment__link{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  color: var(--brand);
  text-align: center;
}

.calendar-assignment__link--static{
  cursor: default;
  pointer-events: none;
}

.calendar-assignment__link--static:hover,
.calendar-assignment__link--static:focus-visible{
  color: inherit;
}

.calendar-assignment__link:hover,
.calendar-assignment__link:focus-visible{
  color: var(--brand-dark);
  outline: none;
}

.calendar-assignment__link--gleeson{
  color: #2563eb;
}

.calendar-assignment__link--gleeson:hover,
.calendar-assignment__link--gleeson:focus-visible{
  color: #1d4ed8;
}

.calendar-assignment__link--itech{
  color: #dc2626;
}

.calendar-assignment__link--itech:hover,
.calendar-assignment__link--itech:focus-visible{
  color: #b91c1c;
}

.calendar-assignment__link--default{
  color: var(--brand);
}

.calendar-assignment__initials{
  display: none;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calendar-assignment__name{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.calendar-assignment__name-line{
  display: block;
}

.calendar-day--assigned{
  background: #fff;
  border-color: rgba(var(--brand-rgb), .25);
}

.calendar-day--past:not(.calendar-day--today){
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.calendar-day--past:not(.calendar-day--today) .calendar-day__number{
  color: var(--gray-400);
}

.calendar-day--past:not(.calendar-day--today) .calendar-assignment__link{
  color: var(--gray-500);
}

.calendar-day--past:not(.calendar-day--today) .calendar-assignment__link:hover,
.calendar-day--past:not(.calendar-day--today) .calendar-assignment__link:focus-visible{
  color: var(--gray-600);
}

.calendar-day--past:not(.calendar-day--today) .calendar-day__add{
  color: var(--gray-300);
}

.calendar-day--past:not(.calendar-day--today) .calendar-day__add:hover{
  color: var(--gray-400);
}

.calendar-day--past:not(.calendar-day--today) .calendar-day__add:focus-visible{
  color: var(--gray-500);
}

.calendar-day--past:not(.calendar-day--today) .calendar-day__holiday-dot{
  opacity: .45;
}

.calendar-popover{
  position: absolute;
  z-index: 1200;
  display: none;
  min-width: 220px;
  max-width: min(280px, 85vw);
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(var(--brand-rgb), .12);
  background: #fff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, .18);
  color: var(--text);
}

.calendar-popover[data-visible="true"]{
  display: block;
}

.calendar-popover:focus{
  outline: none;
}

.calendar-popover__date{
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.calendar-popover__name{
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.calendar-popover__email{
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--brand-dark);
  text-decoration: none;
  word-break: break-word;
}

.calendar-popover__email:hover,
.calendar-popover__email:focus-visible{
  text-decoration: underline;
}

.calendar-popover__holiday{
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
}

.calendar-popover__holiday-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--calendar-popover-accent, var(--brand));
  box-shadow: 0 0 0 2px rgba(148, 163, 184, .35);
}

.calendar-popover__holiday-label{
  font-weight: 600;
  color: var(--gray-700);
}

.calendar-modal__actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.calendar-modal__actions button{
  width: auto;
  min-width: 120px;
}

.calendar-modal__actions .button-secondary{
  min-width: 0;
}

.calendar-modal{
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 32px);
  border-radius: 18px;
  border: 1px solid rgba(var(--brand-rgb), .12);
  background: radial-gradient(circle at top, rgba(var(--brand-rgb), .08), transparent 55%), #fff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, .18);
}

.calendar-modal__grid{
  display: grid;
  gap: 20px;
}

.calendar-modal__section{
  display: grid;
  gap: 6px;
}

.calendar-modal__label{
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
}

.calendar-modal__value{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.calendar-modal__section--full{
  grid-column: 1 / -1;
}

.tech-search{
  display: grid;
  gap: 12px;
}

.tech-search__summary{
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 13px;
}

.tech-search__summary--selected{
  background: rgba(var(--brand-rgb), .12);
  color: var(--brand-darker);
  font-weight: 600;
}

.tech-search__results{
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.tech-search__results::-webkit-scrollbar{
  width: 6px;
}

.tech-search__results::-webkit-scrollbar-thumb{
  background: rgba(var(--brand-rgb), .25);
  border-radius: 999px;
}

.tech-search__empty{
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
}

.tech-result{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gray-100);
  border: 1px solid transparent;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, border-color .15s ease;
}

.tech-result__name{
  font-weight: 600;
}

.tech-result__email{
  font-size: 12px;
  color: var(--gray-500);
}

.tech-result:hover,
.tech-result:focus-visible{
  background: var(--brand-soft);
  border-color: rgba(var(--brand-rgb), .4);
  transform: translateY(-1px);
  outline: none;
}

.tech-result.is-selected{
  background: rgba(var(--brand-rgb), .12);
  border-color: rgba(var(--brand-rgb), .5);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), .3);
}

@media (min-width: 560px){
  .calendar-modal__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-modal__section--full{
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px){
  .calendar-week,
  .calendar-weekdays{
    gap: 6px;
  }

  .calendar-day{
    min-height: 82px;
    padding: 6px;
  }

  .calendar-day__content{
    gap: 8px;
  }

}

@media (max-width: 640px){
  .container--calendar{
    margin: 32px 0;
    padding: 0;
    max-width: none;
    width: 100%;
  }

  .card--calendar{
    border-radius: 0;
    box-shadow: none;
  }

  .calendar-assignment__initials{
    display: inline-flex;
  }

  .calendar-assignment__name{
    display: none;
  }
}

@media (min-width: 720px){
  .calendar-header{
    text-align: left;
  }

  .calendar-month__title{
    font-size: 20px;
  }

  .calendar-day{
    min-height: 110px;
  }
}

@media (min-width: 960px){
  .calendar-companies{
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 32px;
  }
}

.card button:not(.calendar-day__add),
.btn{
  display: inline-block;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .15s ease, transform .05s ease;
}

.card button:not(.calendar-day__add):hover,
.btn:hover{ background: var(--brand-dark); }

.card button:not(.calendar-day__add):active,
.btn:active{ transform: translateY(1px); }

/* Input hint “pill” (optional) */
.pill{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5e7eb;
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 600;
  margin-left: 6px;
}

/* Back link (not a button) */
.back-link{
  display: inline-block;
  margin-top: 6px;
  color: #1f2937;
  text-decoration: underline;
  font-weight: 500;
}
.back-link:hover{ text-decoration: none; }

/* ========= Dashboard Navigation ========= */
nav{
  display: grid;
  gap: 12px;
}

/* Center + constrain buttons on narrow cards */
nav .btn{
  width: 100%;
  max-width: 280px;
  justify-self: center;
}

/* ========= Dashboard ========= */
.dashboard-page{
  align-items: stretch;
  gap: 28px;
}

.dashboard-header{
  width: 100%;
  display: grid;
  gap: 16px;
}

.dashboard-header__text h1{
  text-align: left;
}

.dashboard-lede{
  margin: 6px 0 0;
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.5;
}

.dashboard-header__meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--gray-600);
  font-weight: 600;
}

.dashboard-company{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), .15);
  color: var(--brand-dark);
  font-weight: 700;
  letter-spacing: .02em;
}

.dashboard-grid{
  --dashboard-grid-gap: 18px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  grid-auto-flow: dense;
  gap: var(--dashboard-grid-gap);
  column-gap: var(--dashboard-grid-gap);
  row-gap: var(--dashboard-grid-gap);
}

.dashboard-grid .dashboard-widget{
  margin: 0;
}

.dashboard-grid--masonry{
  --dashboard-grid-row-height: 8px;
  grid-auto-rows: var(--dashboard-grid-row-height);
}

@media (min-width: 720px){
  .dashboard-header{
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: center;
  }

  .dashboard-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px){
  .dashboard-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1320px){
  .dashboard-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dashboard-widget{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  cursor: grab;
}

.dashboard-widget:focus-within,
.dashboard-widget:hover{
  box-shadow: 0 10px 30px rgba(16, 24, 40, .12);
}

.dashboard-widget:active{
  cursor: grabbing;
}

.dashboard-widget--dragging{
  opacity: .6;
  box-shadow: 0 14px 40px rgba(16, 24, 40, .18);
}

.dashboard-widget--stale{
  opacity: .85;
}

.dashboard-widget__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-widget__title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.dashboard-widget__body{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dashboard-widget__refresh{
  border: none;
  background: rgba(var(--brand-rgb), .12);
  color: var(--brand-dark);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.clock-widget{
  display: grid;
  gap: 6px;
}

.clock-widget__time{
  margin: 0;
  font-size: clamp(32px, 6vw, 42px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.clock-widget__date{
  margin: 0;
  font-size: 15px;
  color: var(--gray-600);
}

.clock-widget__timezone{
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
}

.clock-widget__timezone-label{
  font-weight: 600;
  color: var(--gray-600);
  margin-right: 4px;
}

.dashboard-widget--pto{
  grid-column: auto;
}

.dashboard-widget__refresh:hover,
.dashboard-widget__refresh:focus-visible{
  outline: none;
  background: var(--brand);
  color: #fff;
  transform: rotate(-20deg);
}

.dashboard-shortcuts{
  display: grid;
  gap: 12px;
}

.dashboard-shortcuts .btn{
  width: 100%;
}

.dashboard-shortcuts__link{
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  text-align: left;
}

.dashboard-shortcuts__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.dashboard-shortcuts__icon svg{
  display: block;
  width: 24px;
  height: 24px;
}

.dashboard-shortcuts__label{
  flex: 1;
}

.dashboard-widget--weather{
  padding: 0;
}

.dashboard-widget--weather .weather-card{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--gray-200);
  box-shadow: none;
}

.dashboard-widget--weather .weather-card__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

.dashboard-widget--weather .weather-card__heading{
  display: grid;
  gap: 2px;
}

.dashboard-widget--weather .weather-card__updated{
  margin: 0;
  font-size: 12px;
  color: var(--gray-500);
}

.dashboard-widget--weather .weather-card__updated span{
  font-weight: 600;
  color: var(--gray-600);
}

.dashboard-widget--weather .weather-card__body--simple{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 600px){
  .dashboard-widget--weather .weather-card__body--simple{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.dashboard-widget--weather .simple-weather__current{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-widget--weather .simple-weather__current{
  gap: 10px;
}

@media (min-width: 600px){
  .dashboard-widget--weather .simple-weather__current{
    flex-direction: row;
    align-items: center;
  }
}

.dashboard-widget--weather .simple-weather__temp{
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.05;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-widget--weather .simple-weather__details{
  display: grid;
  gap: 4px;
}

.dashboard-widget--weather .simple-weather__details p{
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
}

.dashboard-widget--weather .simple-weather__condition{
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.dashboard-widget--weather .simple-weather__location{
  font-size: 13px;
}

.dashboard-widget--weather .simple-weather__wind{
  font-size: 12px;
  color: var(--gray-500);
}

.dashboard-widget--weather .weather-card__footer--simple{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding-top: 8px;
  border-top: 1px solid var(--gray-200);
}

@media (min-width: 600px){
  .dashboard-widget--weather .weather-card__footer--simple{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.dashboard-widget--weather .weather-widget__source{
  margin: 0;
  font-size: 12px;
  color: var(--gray-500);
  flex: 1 1 180px;
}

.dashboard-widget--weather .weather-widget__form{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.dashboard-widget--weather .weather-widget__label{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 600;
}

.dashboard-widget--weather .weather-widget__form-row{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--card);
  transition: box-shadow .15s ease, border-color .15s ease;
}

.dashboard-widget--weather .weather-widget__form-row:focus-within{
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--ring);
}

.dashboard-widget--weather .weather-widget__zip-input{
  appearance: none;
  border: none;
  background: transparent;
  padding: 4px 6px;
  width: 96px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
}

.dashboard-widget--weather .weather-widget__zip-input:focus{
  outline: none;
}

.dashboard-widget--weather .weather-widget__submit{
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.dashboard-widget__subtitle{
  margin: 0;
  color: var(--gray-600);
  font-weight: 600;
}

.dashboard-widget__note{
  margin: -4px 0 0;
  color: var(--gray-500);
  font-size: 13px;
}

.dashboard-widget--oncall .oncall-widget{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-widget--oncall .oncall-widget__company{
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.dashboard-widget--oncall .oncall-widget__date{
  margin: 0;
  font-size: 15px;
  color: var(--gray-600);
}

.dashboard-widget--oncall .oncall-widget__assignment{
  display: grid;
  gap: 6px;
}

.dashboard-widget--oncall .oncall-widget__name{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.dashboard-widget--oncall .oncall-widget__email{
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
}

.dashboard-widget--oncall .oncall-widget__email:hover,
.dashboard-widget--oncall .oncall-widget__email:focus-visible{
  text-decoration: underline;
  outline: none;
}

.dashboard-widget--oncall .oncall-widget__meta{
  margin: 0;
  font-size: 13px;
  color: var(--gray-600);
}

.dashboard-widget--oncall .oncall-widget__footnote{
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
}

.tech-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.tech-list__item{
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(var(--brand-rgb), .08);
  display: grid;
  gap: 8px;
}

.tech-list__item--empty{
  text-align: center;
  color: var(--gray-500);
  font-weight: 600;
}

.tech-list__name{
  font-weight: 700;
  font-size: 16px;
}

.tech-list__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--gray-600);
  font-size: 14px;
}

.tech-list__idle{
  font-weight: 600;
  color: var(--brand-dark);
}

.tech-list__specialty{
  font-size: 13px;
  color: var(--gray-500);
}

.tech-list__contact{
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.tech-list__contact:hover{
  text-decoration: underline;
}

.tech-list__footnote{
  margin: 0;
  font-size: 12px;
  color: var(--gray-500);
}

/* ========= Page Helpers ========= */
.page-actions{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.page-actions a{
  color: var(--gray-600);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.page-actions a:hover{
  color: var(--brand);
}

.card__subtitle{
  margin: -6px 0 4px;
  color: var(--gray-600);
  font-size: 15px;
  text-align: center;
}

.card__text{
  margin: 0;
  color: var(--gray-600);
  font-size: 15px;
  text-align: center;
  line-height: 1.5;
}

.card--form{
  display: grid;
  gap: 20px;
}

.settings-card__header{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.settings-card__title{
  display: grid;
  gap: 8px;
  flex: 1 1 260px;
  min-width: min(260px, 100%);
}

.settings-card__header .btn{
  align-self: center;
  min-width: auto;
  white-space: nowrap;
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .98), var(--brand-dark));
  box-shadow: 0 14px 32px rgba(var(--brand-rgb), .25);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .08);
  letter-spacing: .01em;
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.settings-card__header .btn:hover{
  background: linear-gradient(135deg, var(--brand), var(--brand-darker));
  box-shadow: 0 18px 36px rgba(var(--brand-rgb), .32);
  transform: translateY(-1px);
}

.settings-card__header .btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(var(--brand-rgb), .22);
}

.stacked-form{
  display: grid;
  gap: 16px;
}

.settings-grid{
  display: grid;
  gap: 20px;
}

.settings-grid--users{
  grid-template-columns: minmax(0, 1fr);
  overflow-x: auto;
}

.user-table{
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}

.user-table thead th{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  font-weight: 600;
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-200);
}

.user-table th,
.user-table td{
  padding: 18px;
  text-align: left;
  vertical-align: top;
}

.user-table tbody tr{
  border-bottom: 1px solid var(--gray-200);
}

.user-table tbody tr:last-child{
  border-bottom: none;
}

.user-table__identity{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.user-table__name{
  font-weight: 600;
  font-size: 16px;
}

.user-table__role{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-darker);
  font-weight: 600;
  font-size: 13px;
}

.user-table__empty{
  color: var(--gray-500);
  font-size: 14px;
}

.user-table__actions{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.user-table__actions .btn{
  min-width: 0;
  white-space: nowrap;
}

.user-table__header-actions{
  text-align: right;
}

.user-table thead th.user-table__header-actions{
  text-align: right;
}

.settings-grid--roles{
  grid-template-columns: minmax(0, 1fr);
}

.settings-form__grid{
  display: grid;
  gap: 14px;
}

.settings-form__grid--user{
  gap: 18px;
}

.settings-form__row{
  display: grid;
  gap: 16px;
}

.settings-form__row--triple{
  grid-template-columns: minmax(0, 1fr);
}

.settings-form__row--double{
  grid-template-columns: minmax(0, 1fr);
}

.settings-form__field--full,
.settings-form__actions--full{
  grid-column: 1 / -1;
}

@media (min-width: 900px){
  .settings-grid--roles{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .settings-form__row--double{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-form__row--triple{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.settings-form__row--double > .input-field,
.settings-form__row--triple > .input-field{
  height: 100%;
}

.settings-form__row--triple .input-field{
  min-width: 0;
}

.settings-form{
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: #fff;
  display: grid;
  gap: 14px;
}

.settings-form h3{
  margin: 0;
  font-size: 18px;
  color: var(--gray-700);
}

.settings-form textarea{
  min-height: 60px;
  resize: vertical;
}

.settings-form--new{
  border-style: dashed;
  background: #f8fafc;
}

.settings-form__actions{
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.settings-form__actions button,
.settings-form__actions .btn{
  width: auto;
}

.settings-section-actions{
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.settings-section-actions .btn{
  width: auto;
  min-width: 160px;
}

.modal{
  border: 0;
  padding: 0;
  border-radius: 22px;
  width: min(560px, 92vw);
  max-width: 560px;
  background: transparent;
  z-index: 1001;
}

.modal::backdrop{
  background: rgba(15, 23, 42, .45);
}

.modal[open]{
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.modal__form{
  margin: 0;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
}

.modal .settings-form--new{
  border-style: solid;
  background: #fff;
}

.modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal__header h3{
  margin: 0;
}

.modal__close{
  width: auto;
  border: 0;
  background: transparent;
  color: var(--gray-500);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover,
.modal__close:focus-visible{
  color: var(--gray-700);
}

.button-secondary{
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}

.button-secondary:hover{
  background: var(--gray-100);
}

.checkbox{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
  cursor: pointer;
}

.checkbox input{
  appearance: none;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid var(--gray-400);
  border-radius: 5px;
  background: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease, background-image .15s ease;
}

.checkbox input:checked{
  border-color: var(--brand);
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
}

.checkbox input:focus-visible{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
}

.checkbox span{
  display: grid;
  gap: 4px;
}

.hint{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--gray-500);
}

.input-field--grid{
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: end;
}

.input-field--grid > .input-field__item{
  display: grid;
  gap: 6px;
}

.input-field__all-day{
  margin-top: 0;
  align-self: center;
  justify-self: start;
}

@media (max-width: 640px){
  .input-field--grid{
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.time-input--readonly{
  background: var(--gray-100);
  color: var(--gray-500);
  pointer-events: none;
  cursor: not-allowed;
}

.time-input--readonly::-webkit-calendar-picker-indicator{
  filter: grayscale(1);
  opacity: .6;
  pointer-events: none;
}

.field-help{
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--gray-500);
}

.tech-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.schedule-block{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule-end{
  color: var(--gray-500);
  font-size: 14px;
}

.input-label{
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.company-indicator{
  margin: 6px 0 0;
  font-weight: 600;
  color: var(--gray-600);
}

#responseMessage{
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #047857;
  font-weight: 500;
}

#responseMessage .response-content{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#responseMessage .checkmark{
  color: #16a34a;
  font-size: 22px;
  margin-top: 2px;
}

#goJobBtn{
  width: auto;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 8px;
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

#goJobBtn:hover{
  background: var(--brand);
  color: #fff;
  border-color: var(--brand-dark);
}

.form-error{
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(220, 38, 38, .12);
  border: 1px solid rgba(248, 113, 113, .4);
  color: #b91c1c;
  font-weight: 600;
}

.form-success{
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(22, 163, 74, .12);
  border: 1px solid rgba(34, 197, 94, .4);
  color: #15803d;
  font-weight: 600;
}

.page-banner{
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
}

.page-banner .form-success{
  margin: 0;
}

.page-banner__link{
  margin: 0;
}

.page-banner__link a{
  font-weight: 600;
  color: var(--brand-dark, #1d4ed8);
  text-decoration: none;
}

.page-banner__link a:hover,
.page-banner__link a:focus{
  text-decoration: underline;
}

/* ========= Toggle (Gleeson / ITech) ========= */
.toggle-group{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 4px;
}
.toggle-option{ position: relative; }
.toggle-option input{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.toggle-option label{
  display: block;
  text-align: center;
  padding: 8px 10px;                 /* smaller buttons */
  border: 1px solid rgba(var(--brand-rgb), .3);
  border-radius: 6px;
  cursor: pointer;
  background: rgba(var(--brand-rgb), .08);
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  transition: all .2s ease;
  user-select: none;
}
.toggle-option label:hover{
  background: rgba(var(--brand-rgb), .12);
  border-color: var(--brand);
  color: var(--brand-dark);
}
.toggle-option input:checked + label{
  background: var(--brand);
  color: #fff;
  border-color: var(--brand-dark);
  box-shadow: 0 3px 8px var(--brand-shadow);
}

/* ========= Responsive Rows ========= */
.row{ display: flex; gap: 12px; flex-wrap: wrap; }
.row > *{ flex: 1 1 260px; }

/* ========= Tables / Output blocks ========= */
pre{
  margin: 0;
  padding: 12px;
  background: #0b1021;
  color: #e5e7eb;
  font-size: 13px;
  border-radius: 10px;
  overflow: auto;
  width: 100%;
  box-sizing: border-box;
}

/* ========= PTO Appointments ========= */
.appointments-card{
  width: 100%;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.appointments-card h2{
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: .01em;
}


.holiday-tools{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}


.holiday-tools__summary{
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
}


.holiday-tools__label{
  font-weight: 500;
}


.holiday-tools__tenant{
  font-weight: 600;
  color: var(--gray-700);
}


.holiday-tools__form{
  display: flex;
  align-items: center;
  gap: 6px;
}


.holiday-tools__button{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 13px;
}

.calendar-toolbar__actions .button-secondary,
.holiday-tools__button{
  background: transparent;
  border-color: transparent;
  color: var(--gray-500);
  box-shadow: none;
  transition: color .15s ease, background .15s ease;
}

.calendar-toolbar__actions .button-secondary:hover,
.calendar-toolbar__actions .button-secondary:focus-visible,
.holiday-tools__button:hover,
.holiday-tools__button:focus-visible{
  background: var(--gray-100);
  color: var(--gray-700);
  border-color: var(--gray-200);
}

.calendar-toolbar__actions .button-secondary:disabled,
.holiday-tools__button:disabled{
  opacity: .55;
  cursor: not-allowed;
  background: transparent;
  border-color: transparent;
  color: var(--gray-400);
}

.holiday-tools__file-label{
  cursor: pointer;
}

.holiday-tools__filename{
  font-size: 13px;
  color: var(--gray-500);
}

.holiday-tools__filename--active{
  color: var(--gray-700);
  font-weight: 600;
}

@media (max-width: 640px){
  .calendar-toolbar__actions,
  .holiday-tools{
    display: none;
  }
}

.appointment-table-wrapper{
  width: 100%;
  overflow-x: auto;
}

.appointment-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.appointment-table thead th{
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  padding: 12px 14px;
  background: #f9fafb;
  border-bottom: 1px solid var(--gray-200);
}

.appointment-table tbody td{
  padding: 16px 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
  background: #fff;
  transition: background .2s ease;
}

.appointment-table tbody tr:hover td{
  background: #f8fafc;
}

.appointment-table tbody tr:last-child td{
  border-bottom: 0;
}

.appointment-tech{
  width: 220px;
  font-weight: 600;
  color: var(--gray-700);
}

.appointment-dates{
  width: 100%;
}

.appointment-actions{
  width: 160px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.appointment-actions form{
  margin: 0;
}

.appointment-actions .button-link{
  white-space: nowrap;
}

.appointments-card .tech-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
}

.appointments-card .tech-chip .initial{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 4px var(--brand-shadow);
}

.appointments-card .appt-edit-form{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.appointments-card .appt-edit-form input[type="datetime-local"]{
  flex: 1 1 220px;
  min-width: 180px;
  width: auto;
}

.appointments-card .appt-edit-form button{
  width: auto;
  padding: 10px 16px;
}

.appointments-card .appt-delete-form{
  display: flex;
  justify-content: flex-end;
}

.appointments-card .appt-delete-form button{
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  font-size: 20px;
  line-height: 1;
  border-radius: 10px;
  background: transparent;
  color: var(--gray-400);
  border: 1px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.appointments-card .appt-delete-form button:hover{
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.25);
  color: #dc2626;
}

.holiday-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  font-weight: 600;
}

.holiday-toggle__icon{
  transition: transform .2s ease;
}

.holiday-toggle--open .holiday-toggle__icon{
  transform: rotate(180deg);
}

.holiday-detail-row.hidden{
  display: none;
}

.holiday-detail{
  display: grid;
  gap: 20px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
}

@media (min-width: 720px){
  .holiday-detail{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.holiday-detail__section{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.holiday-tech-modal{
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: min(75vh, 720px);
}

.holiday-tech-dialog{
  display: grid;
  gap: 24px;
  overflow: auto;
  padding-right: 4px;
}

.holiday-tech-dialog__grid{
  display: grid;
  gap: 20px;
}

@media (min-width: 720px){
  .holiday-tech-dialog__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.holiday-tech-dialog__section{
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f9fafb;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .06);
}

.holiday-tech-dialog__heading{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-700);
}

.holiday-tech-summary{
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  border-left: 5px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-darker);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--ring);
}

.holiday-tech-list{
  list-style: none;
  margin: 0;
  padding: 12px;
  display: grid;
  gap: 12px;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}

.holiday-tech-list__item{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid transparent;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.holiday-tech-list__item:hover{
  border-color: rgba(var(--brand-rgb), .25);
  background: rgba(var(--brand-rgb), .08);
  transform: translateY(-1px);
}

.holiday-tech-list__name{
  font-weight: 600;
  color: var(--gray-700);
}

.holiday-tech-remove-form{
  margin-left: auto;
}

.holiday-tech-remove-form .button-link{
  font-size: 14px;
  color: var(--brand-dark);
}

.holiday-tech-add-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.holiday-tech-add-form select{
  width: 100%;
  min-height: 180px;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  padding: 10px 12px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .05);
  background: #fff;
}

.holiday-tech-add-form select:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}

.holiday-tech-add-form .btn{
  align-self: flex-start;
  padding-inline: 18px;
}

.holiday-tech-add-form button[disabled]{
  opacity: .6;
  cursor: not-allowed;
}

.holiday-tech-empty{
  margin: 0;
  color: var(--gray-500);
  text-align: center;
  padding: 32px 16px;
  border: 1px dashed var(--gray-300);
  border-radius: 12px;
  background: #fff;
}

.button-link{
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--brand-dark);
  font: inherit;
  cursor: pointer;
}

.button-link:hover{
  text-decoration: underline;
}

.schedule-block{
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--gray-600);
  font-size: 14px;
}

.schedule-block .schedule-end{
  color: var(--gray-500);
  font-size: 13px;
}

.appointments-card .appt-empty{
  width: 100%;
  padding: 40px 12px;
  text-align: center;
  color: var(--gray-500);
  font-weight: 500;
  background: #f9fafb;
  border-radius: 12px;
}

.btn-secondary{
  background: #e5e7eb;
  color: var(--gray-700);
}

.btn-secondary:hover{
  background: #d1d5db;
  color: #1f2937;
}

@media (max-width: 640px){
  .appointments-card{
    padding: 20px;
  }

  .appointments-card .appt-edit-form{
    flex-direction: column;
    align-items: stretch;
  }

  .appointments-card .appt-edit-form button{
    align-self: flex-start;
  }

  .appointment-actions{
    justify-content: flex-start;
    width: auto;
  }
}

@media (max-width: 540px){
  .site-header__inner{
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .site-header__brand{
    width: 100%;
    gap: 12px;
  }

  .site-header__logo{
    max-height: 42px;
  }

  .site-header__actions{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-header__username{
    width: 100%;
    text-align: center;
  }

  .site-header__logout{
    width: 100%;
  }

  .site-header__settings{
    width: 34px;
    height: 34px;
    justify-self: center;
    align-self: center;
  }

  .site-header__home{
    justify-self: center;
  }

  #responseMessage{
    flex-direction: column;
  }
}

/* ========= Responsive Breakpoints ========= */
/* ≥ 640px */
@media (min-width: 640px){
  .card{ padding: 22px; }
}

/* ≥ 768px */
@media (min-width: 768px){
  /* widen default cards a bit on tablets */
  .card{ max-width: 680px; }
  /* dashboard nav: 2 columns */
  nav{ grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  nav .btn{ max-width: none; }
}

/* ≥ 1024px (desktop / dashboard-wide) */
@media (min-width: 1024px){
  .container{ gap: 20px; }
  /* allow wide dashboard content */
  .card{ max-width: 780px; }
  /* if you add .wide to a card it spans the dashboard width */
  .card.wide{ max-width: 100%; }
  /* dashboard nav: 3 columns */
  nav{ grid-template-columns: repeat(3, minmax(220px, 1fr)); }
}

/* ≥ 1280px (large desktop) */
@media (min-width: 1280px){
  .container{ max-width: 1200px; }
  .card{ max-width: 840px; }
}

@media (min-width: 1024px){
  .card--calendar{ max-width: none; }
}


/* ========= Standalone weather page ========= */
.weather-page{
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 80px) 16px;
  background: radial-gradient(circle at top, rgba(var(--brand-rgb), .12), transparent 55%),
              radial-gradient(circle at bottom, rgba(14, 116, 144, .08), transparent 60%),
              var(--bg);
}

.weather-page__container{
  width: min(1100px, 100%);
}

.weather-page .weather-card{
  background: var(--card);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 25px 60px rgba(15, 23, 42, .18);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  gap: clamp(28px, 5vw, 40px);
}

.weather-page .weather-card__header{
  text-align: center;
  display: grid;
  gap: 12px;
}

.weather-page .weather-card__title{
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.01em;
}

.weather-page .weather-card__subtitle{
  margin: 0;
  color: var(--gray-600);
  font-size: clamp(15px, 2.2vw, 18px);
}

.weather-page .weather-card__form{
  display: grid;
  gap: 14px;
}

.weather-page .weather-card__label{
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-600);
}

.weather-page .weather-card__controls{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.weather-page .weather-card__input{
  flex: 1 1 180px;
  min-width: 160px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.weather-page .weather-card__input:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
}

.weather-page .weather-card__submit{
  padding: 14px 22px;
  font-weight: 600;
  letter-spacing: .01em;
}

.weather-page .weather-card__notice{
  margin: 0;
  font-size: 14px;
  color: var(--gray-600);
}

.weather-page .weather-card__notice--error{
  color: #b91c1c;
}

.weather-page .forecast-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.weather-page .forecast-day{
  background: linear-gradient(180deg, rgba(var(--brand-rgb), .08) 0%, rgba(255, 255, 255, .9) 100%);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 6px;
  text-align: center;
  border: 1px solid rgba(var(--brand-rgb), .15);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
}

.weather-page .forecast-day__weekday{
  margin: 0;
  font-weight: 700;
  letter-spacing: .01em;
}

.weather-page .forecast-day__date{
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.weather-page .forecast-day__condition{
  margin: 12px 0 0;
  font-weight: 600;
  color: var(--gray-700);
}

.weather-page .forecast-day__temperatures{
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
}

.weather-page .forecast-day__high{
  color: var(--brand-darker);
  font-weight: 700;
}

.weather-page .forecast-day__low{
  color: var(--gray-500);
}

.weather-page .weather-card__footer{
  text-align: center;
}

.weather-page .weather-card__source{
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
}

@media (max-width: 640px){
  .weather-page .weather-card{
    padding: 28px 20px;
  }

  .weather-page .forecast-day{
    padding: 18px 16px;
  }
}

