:root {
  --panel: rgba(255, 255, 255, .055);
  --border: rgba(255, 255, 255, .12);
  --muted: #969696;
  --accent: #168BFF;
  --danger: #723939;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(
  ellipse at bottom,
  #1b2735 0%,
  #090a0f 100%
);
  color: #fff;
  font-family: Inter, system-ui, Arial, sans-serif;

  position: relative;
  isolation: isolate;
}





button,
input,
select {
  font: inherit;
}

.hidden {
  display: none !important;
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding-left: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 22px;
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-card {
  width: min(100%, 470px);
  padding: 28px;
}

.auth-brand {
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--accent);
  background-image: url('../src/tone.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.brand h1 {
  font-size: 20px;
  margin: 0;
}

.brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  background: none;
  border: 0;
  color: #888;
  padding: 12px;
  font-weight: 700;
}

.tab.active {
  color: #fff;
  border-bottom: 2px solid var(--accent);
}

label {
  display: block;
  color: #ccc;
  font-size: 13px;
  margin: 14px 0 7px;
}

.assignment-row {
  margin-bottom: 6px;
}

.input {
  width: 100%;
  padding: 12px 13px;
  background: #121212;
  border: 1px solid #383838;
  border-radius: 11px;
  color: #fff;
  outline: none;
}

.input:focus {
  border-color: var(--accent);
}

.conflict {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 1px var(--danger);
}

.btn {
  border: 0;
  border-radius: 11px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #0877E8;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #282828;
  color: #fff;
  border: 1px solid #30425B;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-danger {
  background: #502222;
  color: #ffffff;
}

.full {
  width: 100%;
  margin-top: 18px;
}

.form-msg {
  font-size: 13px;
  color: #bbb;
  min-height: 18px;
}

.topbar {
  height: 76px;
  border-bottom: 1px solid #173B68;
  box-shadow: none;
  background: rgb(24, 28, 41);
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  z-index: 20;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-badge,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #202020;
  color: #ccc;
  font-size: 12px;
}

.layout {
  display: flex;
  min-height: calc(100vh - 76px);
}

.sidebar {
  width: 220px;
   border-right: 1px solid rgba(22, 139, 255, 0.25);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
isolation: isolate;
overflow: hidden;
}

.nav {
  border: 1px solid rgba(22, 139, 255, 0.3);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #1b1b1b;
  color: #aaa;
  text-align: left;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
}

.nav.active,
.nav:hover {
  transform: 
   translateY(-8px)
   scale(1.08);
  background: #1b1b1b;
  color: #fff;
}

.content {
  flex: 1;
  max-width: 1250px;
  width: 100%;
  margin: auto;
  padding: 30px;
}

.view {
  animation: fade .18s ease;
}

@keyframes fade {
  from {
    opacity: .4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
}

.page-head h2 {
  font-size: 42px;
  line-height: 1;
  margin: 0 0 8px;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 900;
  margin: 0 0 10px;
}

.muted {
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 20px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.stat-card strong {
  font-size: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}

.section-card {
  padding: 22px;
}

.section-head {
  margin-bottom: 15px;
}

.section-head h3 {
  margin: 0 0 5px;
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(80, 150, 220, 0.22);
}

.list-row:last-child {
  border-bottom: 0;
}

.list-row strong {
  display: block;
}

.list-row small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}

.row-actions {
  display: flex;
  gap: 8px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .75);
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-box {
  position: relative;
  width: min(100%, 600px);
  max-height: 90vh;
  overflow: auto;
  padding: 25px;
  background: #141414;
}

.discard-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 8, 8, .92);
  backdrop-filter: blur(8px);
}

.discard-confirm-card {
  width: min(100%, 420px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #171717;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

.discard-confirm-card h3 {
  margin: 16px 0 8px;
}

.discard-confirm-card p {
  color: var(--muted);
  line-height: 1.5;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 10px;
}

.modal-head h3 {
  margin: 0;
}

.close-btn,
.icon-btn {
  border: 0;
  background: #282828;
  color: #fff;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  font-size: 21px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.checkbox-grid.compact {
  margin-top: 8px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #171717;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px;
  margin: 0;
}

.checkbox-option input {
  accent-color: var(--accent);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}

.danger-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 104, 104, .12);
  color: var(--danger);
  font-weight: 900;
  font-size: 22px;
}

.lineup-grid {
  display: grid;
  gap: 8px;
}

.lineup-card {
  padding: 13px;
  background: #191919;
  border-radius: 12px;
}

.lineup-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.calendar-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  background: #161f2b;
  border: 1px solid #304967;
  border-radius: 10px;
  padding: 10px 14px;
}

.calendar-head h3 {
  min-width: 190px;
  text-align: center;
  margin: 0;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid #30425B;
  border-top: 1px solid #30425B;
  border-bottom: 1px solid #30425B;
  border-right: 1px solid #30425B;
}

.cal-label {
  padding: 9px;
  text-align: center;
  color: #888;
  font-size: 12px;
  border-right: 1px solid #292929;
  border-bottom: 1px solid #292929;
}

.cal-cell {
  min-height: 105px;
  padding: 7px;
  border-right: 1px solid #292929;
  border-bottom: 1px solid #292929;
}

.cal-cell b {
  font-size: 12px;
}

.event {
  display: block;
  width: 100%;
  text-align: left;
  background: #142D49;
  border: 1px solid #2467A5;
  color: #DCEEFF;
  border-radius: 7px;
  padding: 6px;
  margin-top: 6px;
  font-size: 11px;
}

.schedule-conflict-indicator {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  place-items: center;
  border: 1px solid #ff8585;
  border-radius: 50%;
  color: #ff8585;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

.schedule-conflict-notice {
  margin-bottom: 18px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 110, 110, .45);
  border-radius: 12px;
  background: rgba(220, 69, 69, .12);
  color: #ffb0b0;
}

.schedule-conflict-notice p {
  margin: 7px 0 0;
}

.schedule-conflict-notice ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.toolbar .input:first-child {
  max-width: 420px;
}

.availability-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.availability-toolbar .availability-markers {
  flex: 0 0 auto;
}

.availability-toolbar #availabilityHelp {
  flex: 1 1 auto;
}

.availability-toolbar #saveAvailabilityBtn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.availability-toolbar #saveAvailabilityBtn:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.availability-toolbar p {
  margin: 0;
}

.availability-markers {
  display: flex;
  gap: 10px;
}

.availability-marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  cursor: grab;
  touch-action: manipulation;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}

.availability-marker:active {
  cursor: grabbing;
}

.availability-marker.selected {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px currentColor;
}

.availability-marker span {
  font-size: 20px;
  line-height: 1;
}

.availability-marker.available,
.availability-day.is-available {
  color: #8ef0a6;
  background: rgba(55, 180, 91, .13);
  border-color: rgba(108, 226, 139, .35);
}

.availability-marker.unavailable,
.availability-day.is-unavailable {
  color: #ff8585;
  background: rgba(220, 69, 69, .13);
  border-color: rgba(255, 110, 110, .35);
}

.availability-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid #30425B;
  border-bottom: 1px solid #30425B;
  border-right: 1px solid #30425B;
  border-left: 1px solid #30425B;
  border-radius: 14px;
}

.availability-weekday {
  padding: 11px 6px;
  color: #999;
  background: #15263B;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.availability-day {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 5px;
  border-top: 1px solid #292929;
  border-right: 1px solid #292929;
  color: #aaa;
  background: rgba(255, 255, 255, .015);
  transition: background .15s, border-color .15s, transform .15s;
}

.availability-day:nth-child(7n) {
  border-right: 0;
}

.availability-day.outside {
  background: #101010;
}

.availability-day.service-day:not(.disabled) {
  cursor: copy;
  color: #fff;
  background: rgba(255, 255, 255, .035);
}

.availability-day.service-day:not(.disabled):hover,
.availability-day.drag-over {
  background: rgba(216, 255, 92, .09);
  border-color: var(--accent);
}

.availability-day.disabled {
  opacity: .43;
}

.availability-day.is-available,
.availability-day.is-unavailable {
  border-width: 1px;
  border-style: solid;
}

.availability-day-number {
  font-size: 13px;
  font-weight: 800;
}

.availability-day-status {
  display: grid;
  min-height: 27px;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}

.availability-day:not(.is-available):not(.is-unavailable) .availability-day-status {
  color: #666;
  font-size: 18px;
  font-weight: 600;
}

.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 17px;
  color: #aaa;
  font-size: 12px;
}

.availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.legend-dot.available {
  background: #62d47f;
}

.legend-dot.unavailable {
  background: #f26f6f;
}

.legend-dot.unmarked {
  background: #666;
}

.availability-preview {
  margin: 14px 0 18px;
  padding: 13px;
  background: #171717;
  border: 1px solid #333;
  border-radius: 12px;
}

.availability-preview > strong {
  display: block;
  margin-bottom: 8px;
}

.availability-group {
  margin-top: 12px;
}

.availability-group > strong {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
}

.availability-group.available > strong {
  color: #8ef0a6;
}

.availability-group.unavailable > strong {
  color: #ff8585;
}

.availability-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(80, 150, 220, 0.22);
  font-size: 13px;
}

th {
  color: #888;
  font-weight: 600;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #202020;
  border: 1px solid #444;
  padding: 13px 17px;
  border-radius: 12px;
  z-index: 100;
  display: none;
}

.toast.show {
  display: block;
}

@media (max-width: 850px) {
  .sidebar {
    width: 70px;
    padding: 10px;
  }
  .nav {
    font-size: 0;
    text-align: center;
  }
  .nav:first-letter {
    font-size: 20px;
  }
  .content {
    padding: 20px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: start;
    flex-direction: column;
  }
  .page-head h2 {
    font-size: 34px;
  }
  .user-badge {
    display: none;
  }
  .availability-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .availability-toolbar #availabilityHelp {
    flex: auto;
  }
  .availability-day {
    min-height: 82px;
  }
}

@media (max-width: 600px) {
  .topbar {
    padding: 0 14px;
  }
  .content {
    padding: 14px;
  }
  .sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 64px;
    z-index: 30;
    flex-direction: row;
    border-right: 0;
    border-top: 1px solid #222;
    background: rgba(7, 7, 7, .95);
    justify-content: space-around;
  }
  .nav {
    padding: 10px 8px;
  }
  .nav span {
    display: none;
  }
  .availability-day {
    min-height: 70px;
    padding: 7px 2px;
  }
  .availability-day-status {
    font-size: 18px;
  }
  .availability-day:not(.is-available):not(.is-unavailable) .availability-day-status {
    font-size: 16px;
  }
  .availability-marker {
    padding: 9px 10px;
    font-size: 12px;
  }
  .layout {
    padding-bottom: 64px;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .calendar {
    font-size: 10px;
  }
  .cal-cell {
    min-height: 78px;
    padding: 4px;
    background: #1B293A;
    border-right: 1px solid #30425B;
    border-bottom: 1px solid #30425B;
  }
  .cal-label {
    padding: 6px 2px;
    background: #15263B;
    color: #AFC4DF;
    border-right: 1px solid #304967;
    border-bottom: 1px solid #304967;
  }
  .event {
    font-size: 9px;
    padding: 4px;
  }
  .toolbar {
    flex-direction: column;
  }
  .toolbar .input:first-child {
    max-width: none;
  }
  .table-wrap {
    overflow: auto;
  }
  table {
    min-width: 720px;
  }
}

.conflict {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 1px rgba(255, 107, 107, .25);
}





.sea {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.65;
  filter: drop-shadow(0 -7px 10px rgba(200, 235, 255, 0.5))
          blur(3px) contrast(2);
}

.sea .wave {
  flex: 1 1 0;
  min-width: 0;
}

.sea .wave-fade {
  animation: wfWaveFade 1400ms ease-in-out infinite alternate;
}

.sea .wave-translate {
  animation: wfWaveTranslate 2000ms ease-in-out infinite alternate;
}

.sea .wave-skew {
  animation: wfWaveSkew 2000ms ease-in-out infinite alternate;
}

.sea .wave-graphic {
  width: 100%;
  height: 30px;
  background: linear-gradient(
    180deg,
    rgba(150, 220, 255, 0.5),
    rgba(150, 220, 255, 0.2)
  );
}

@keyframes wfWaveFade {
  0%, 5% {
    opacity: 0.05;
  }
  100% {
    opacity: 1;
  }
}

@keyframes wfWaveSkew {
  0% {
    transform: skewY(-17.5deg);
  }
  100% {
    transform: skewY(17.5deg);
  }
}

@keyframes wfWaveTranslate {
  0% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(-100px);
  }
}


#authScreen,
#app {
  position: relative;
  z-index: 1;
}

.nav:hover {
  border-color: rgba(22, 139, 255, 0.65);
}

.nav.active {
  border-color: #168BFF;
  box-shadow: 0 0 8px rgba(22, 139, 255, 0.12);
}



.sidebar .nav {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1b1b1b;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.sidebar .nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    #0878ff,
    #00d4ff,
    #2455ff,
    #0878ff
  );
  background-size: 300% 300%;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar .nav:hover::before {
  opacity: 1;
  animation: navGradientFlow 3s ease infinite;
}

.sidebar .nav:hover {
  border-color: #168bff;
  box-shadow: 0 0 12px rgba(22, 139, 255, 0.25);
}

@keyframes navGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.sidebar .nav.active::before {
  opacity: 1;
  animation: navGradientFlow 3s ease infinite;
}

.sidebar .nav.active {
  border-color: #168bff;
  box-shadow: 0 0 12px rgba(22, 139, 255, 0.25);
}




.sidebar .floating-boxes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.sidebar .floating-boxes span {
  position: absolute;
  bottom: -45px;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(100, 200, 255, 0.5);
  border-radius: 2px;
  opacity: 0;
  animation: floatingBoxRise var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes floatingBoxRise {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.65;
  }
  70% {
    opacity: 0.35;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.auth-screen {
  min-height: 100svh;
  padding: clamp(24px, 5vw, 72px);
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

.auth-screen::before {
  inset: -30%;
}

.auth-layout {
  position: relative;
  z-index: 2;
  width: min(100%, 1200px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  transition: grid-template-columns 650ms cubic-bezier(.2,.75,.25,1);
}

.auth-intro {
  min-width: 0;
  text-align: center;
  grid-column: 1;
  grid-row: 1;
  transition: text-align 350ms ease;
}

.auth-intro .auth-brand {
  position: relative;
  left: 50%;
  width: max-content;
  max-width: 100%;
  margin: 0;
  transform: translateX(-50%);
  transition: left 650ms cubic-bezier(.2,.75,.25,1), transform 650ms cubic-bezier(.2,.75,.25,1);
}

.auth-intro .brand-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.auth-intro .brand h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  letter-spacing: -.055em;
  line-height: 1.05;
  white-space: nowrap;
}

.auth-intro .brand p {
  margin-top: 12px;
  font-size: clamp(15px, 2vw, 19px);
}

.continue-btn {
  display: block;
  min-width: 150px;
  margin: 34px auto 0;
  padding: 14px 26px;
  border-radius: 999px;
  transition: opacity 220ms ease, transform 300ms ease;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(36px) scale(.97);
  transition: opacity 450ms ease, transform 650ms cubic-bezier(.2,.75,.25,1), visibility 0s linear 650ms;
}

.auth-card-heading {
  margin-bottom: 24px;
}

.auth-card-heading .eyebrow {
  margin: 0 0 8px;
}

.auth-card-heading h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.035em;
}

.auth-card-heading .muted {
  margin: 8px 0 0;
}

#authScreen.login-open .continue-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

#authScreen.login-open .auth-card {
  grid-column: 2;
  justify-self: end;
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  transition: opacity 450ms ease 120ms, transform 650ms cubic-bezier(.2,.75,.25,1), visibility 0s;
}

#authScreen.login-open .auth-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 450px);
}

#authScreen.login-open .auth-intro {
  text-align: left;
}

#authScreen.login-open .auth-intro .auth-brand {
  left: 0;
  transform: translateX(0);
}

.password-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.password-label-row label {
  margin: 0 0 7px;
}

.password-field {
  position: relative;
}

.password-field .input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  color: #aab5c4;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .eye-slash {
  opacity: 0;
  transition: opacity .15s ease;
}

.password-toggle.is-visible .eye-slash {
  opacity: 1;
}

.text-link {
  padding: 0;
  border: 0;
  color: #78baff;
  background: none;
  font-weight: 700;
  cursor: pointer;
}

.text-link:hover {
  color: #b3d9ff;
  text-decoration: underline;
}

.forgot-link {
  margin-bottom: 7px;
  font-size: 12px;
}

.auth-switch {
  margin: 18px 0 0;
  color: #aab5c4;
  font-size: 13px;
  text-align: center;
}

.auth-switch .text-link {
  margin-left: 3px;
  font-size: inherit;
}

#authScreen .form-msg:empty {
  display: none;
}

@media (max-width: 760px) {
  #authScreen {
    padding: 28px 20px;
  }

  #authScreen .auth-layout {
    max-width: 450px;
  }

  #authScreen.login-open .auth-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-card {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    transform: translateY(24px) scale(.98);
  }

  #authScreen.login-open .auth-card {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    transform: translateY(0) scale(1);
  }

  #authScreen.login-open .auth-intro .auth-brand {
    left: 50%;
    transform: translateX(-50%);
  }

  .auth-intro .brand-icon {
    display: none;
  }

  .continue-btn {
    margin-top: 26px;
  }

  #authScreen.login-open .continue-btn {
    display: block;
  }

  .auth-card {
    padding: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-card,
  .continue-btn {
    transition-duration: .01ms !important;
  }
}

.sidebar .nav {
  position: relative;
  z-index: 1;
}

body:has(#authScreen:not(.hidden)) .sea {
  display: none;
}

#authScreen {
  position: relative;
  isolation: isolate;
  background: #070b14;
}

#authScreen::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(37, 99, 235, 0.28),
      transparent 35%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(13, 148, 136, 0.22),
      transparent 35%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(99, 102, 241, 0.12),
      transparent 45%
    );

  animation: authAmbientDrift 18s ease-in-out infinite alternate;
}

@keyframes authAmbientDrift {
  0% {
    transform: translate(-3%, -2%);
  }

  100% {
    transform: translate(3%, 2%);
  }
}




#authScreen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}


#authScreen .auth-carousel {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 360px;
  transform: translateY(-50%);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.35;

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

#authScreen .auth-carousel-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: authCarouselScroll 30s linear infinite;
  will-change: transform;
}

#authScreen .auth-carousel-track img {
  flex: 0 0 34vw;
  width: 34vw;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.7);
}


#authScreen .auth-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(37, 99, 235, 0.16),
    rgba(13, 148, 136, 0.12),
    rgba(7, 11, 20, 0.35)
  );
  pointer-events: none;
}

@keyframes authCarouselScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


#authScreen .auth-card {
  position: relative;
  z-index: 2;
}



@media (max-width: 600px) {
  #authScreen .auth-carousel-track img {
    flex-basis: 70vw;
    width: 70vw;
  }
}


#authScreen .auth-floating-boxes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

#authScreen .auth-floating-boxes span {
  position: absolute;
  bottom: -45px;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(140, 205, 255, 0.45);
  border-radius: 3px;
  opacity: 0;

  animation: floatingBoxRise var(--duration) linear infinite;
  animation-delay: var(--delay);
}


@keyframes floatingBoxRise {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  70% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.calendar .cal-cell {
  border-right: 1px solid #30425B !important;
  border-bottom: 1px solid #30425B !important;
}


.calendar .cal-label {
  border-right: 1px solid #30425B !important;
  border-bottom: 1px solid #30425B !important;
}

.calendar .cal-label {
  background-color: #15263B !important;
  color: #AFC4DF !important;
  border-right: 1px solid #304967 !important;
  border-bottom: 1px solid #304967 !important;
}

button:hover {
  border-color: #168BFF;
  box-shadow: 0 0 8px rgba(22, 139, 255, 0.18);
}

#authScreen.login-open {
  overflow-y: auto;
}

#authScreen {
  scrollbar-gutter: stable;
}

#authScreen .auth-card {
  background: rgba(18, 18, 18, .78);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .44);
}

#authScreen .brand-icon {
  filter: grayscale(1);
}

#authScreen .btn-primary {
  color: #111;
  background: #f4f4f4;
}

#authScreen .btn-primary:hover {
  color: #111;
  background: #ddd;
}

#authScreen .input:focus {
  border-color: #aaa;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
}

#authScreen .text-link {
  color: #e2e2e2;
}

#authScreen .text-link:hover {
  color: #fff;
}

#authScreen button:hover {
  border-color: rgba(255, 255, 255, .42);
  box-shadow: 0 0 12px rgba(255, 255, 255, .08);
}

body {
  font-family: "Poppins", system-ui, Arial, sans-serif;
}

#app {
  min-height: 100vh;
  isolation: isolate;
  position: relative;
  z-index: 1;
  background: transparent;
  font-size: 17px;
  line-height: 1.55;
}

body:has(#app:not(.hidden)) .sea {
  display: none;
}

.dashboard-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  pointer-events: none;
  background: #070b14;
}

.dashboard-background::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 1;
  background:
    radial-gradient(circle at 30% 40%, rgba(37, 99, 235, .28), transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(13, 148, 136, .22), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, .12), transparent 45%);
  animation: authAmbientDrift 18s ease-in-out infinite alternate;
}

.dashboard-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, rgba(37, 99, 235, .16), rgba(13, 148, 136, .12), rgba(7, 11, 20, .35));
}

.dashboard-carousel {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 360px;
  overflow: hidden;
  opacity: .35;
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.dashboard-carousel-track {
  position: relative;
  display: flex;
  width: max-content;
  height: 100%;
  animation: authCarouselScroll 30s linear infinite;
  will-change: transform;
}

.dashboard-carousel-track img {
  flex: 0 0 34vw;
  width: 34vw;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) brightness(.7);
}

.dashboard-floating-boxes {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
}

.dashboard-floating-boxes span {
  position: absolute;
  bottom: -45px;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(140, 205, 255, .45);
  border-radius: 3px;
  opacity: 0;
  animation: floatingBoxRise var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.layout {
  display: block;
  min-height: calc(100vh - 76px);
}

.sidebar {
  position: sticky;
  top: 76px;
  z-index: 19;
  width: 100%;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 48px);
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(100, 160, 220, .22);
  background: rgba(10, 15, 25, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sidebar .floating-boxes {
  display: none;
}

.sidebar .nav {
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid rgba(164, 195, 226, .2);
  border-radius: 12px;
  color: #e2e9f2;
  background: rgba(255, 255, 255, .055);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  transform: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sidebar .nav::before {
  display: none;
}

.sidebar .nav:hover {
  color: #fff;
  border-color: rgba(110, 184, 255, .65);
  background: rgba(22, 139, 255, .13);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  transform: translateY(-1px);
}

.sidebar .nav.active,
.sidebar .nav.active:hover {
  color: #fff;
  border-color: rgba(67, 165, 255, .8);
  background: rgba(22, 139, 255, .22);
  box-shadow: inset 0 -2px 0 #168bff, 0 3px 12px rgba(0, 0, 0, .18);
  transform: none;
}

.sidebar .nav:focus-visible,
#app .btn:focus-visible,
#app .icon-btn:focus-visible {
  outline: 3px solid #9bd1ff;
  outline-offset: 3px;
}

.content {
  width: min(100%, 1440px);
  max-width: none;
  padding: clamp(24px, 4vw, 52px);
}

#app .page-head {
  margin-bottom: 30px;
}

#app .page-head h2 {
  font-size: clamp(36px, 3vw, 44px);
  line-height: 1.2;
}

#app .eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
}

#app .muted {
  color: #c1ccda;
}

#app label,
#app .stat-card span {
  font-size: 16px;
}

#app .stat-card {
  min-height: 130px;
  padding: 24px;
}

#app .stat-card span {
  margin-bottom: 12px;
  color: #c1ccda;
}

#app .stat-card strong {
  font-size: 36px;
  line-height: 1.2;
}

#app .glass-card {
  background: rgba(13, 20, 32, .72);
  border-color: rgba(161, 194, 226, .2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}

#app .input,
#app select.input {
  min-height: 48px;
  font-size: 16px;
}

#app .btn {
  min-height: 48px;
  font-size: 16px;
}

#app .user-badge,
#app .pill {
  font-size: 15px;
}

#app .brand p,
#app .list-row small,
#app th {
  color: #c1ccda;
}

#app .brand p,
#app small,
#app td,
#app th,
#app .form-msg {
  font-size: 15px;
}

#app .calendar {
  font-size: 14px;
}

#app .event {
  font-size: 14px;
  line-height: 1.35;
}

#app .view {
  animation: dashboardViewEnter .24s ease-out both;
}

@keyframes dashboardViewEnter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 850px) {
  .sidebar {
    width: 100%;
    min-height: 68px;
    padding: 10px 16px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar .nav {
    font-size: 15px;
  }

  .content {
    padding: 24px;
  }

  #app .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
}

@media (max-width: 600px) {
  .topbar {
    height: 68px;
  }

  .layout {
    padding-bottom: 0;
  }

  .sidebar {
    position: sticky;
    top: 68px;
    right: auto;
    bottom: auto;
    height: auto;
    min-height: 64px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 12px;
    border-top: 0;
    border-bottom: 1px solid rgba(100, 160, 220, .22);
    scrollbar-width: thin;
  }

  .sidebar .nav {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 8px 13px;
    font-size: 14px;
  }

  .sidebar .nav span {
    display: inline;
  }

  .content {
    padding: 22px 16px;
  }

  #app .stats-grid {
    grid-template-columns: 1fr;
  }

  #app .page-head h2 {
    font-size: 34px;
  }

  #app .event {
    font-size: 14px;
  }

  #app .cal-cell {
    font-size: 14px;
  }

  #app .cal-label {
    font-size: 14px;
  }

  .dashboard-carousel-track img {
    flex-basis: 70vw;
    width: 70vw;
  }
}

.layout {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 76px);
}

.sidebar {
  position: sticky;
  top: 76px;
  z-index: 19;
  flex: 0 0 252px;
  width: 252px;
  height: calc(100vh - 76px);
  min-height: 0;
  padding: 22px 16px;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-right: 1px solid rgba(100, 160, 220, .22);
  border-bottom: 0;
  background: rgba(10, 15, 25, .86);
}

.sidebar .nav {
  width: 100%;
  justify-content: flex-start;
}

.content {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin: 0 auto;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.profile-form {
  min-width: 0;
}

#profilePositions {
  margin-top: 10px;
}

#profilePositions .muted {
  margin: 0;
}

#app .form-msg {
  min-height: 0;
  line-height: 1.5;
}

@media (max-width: 850px) {
  .sidebar {
    flex-basis: 224px;
    width: 224px;
    height: calc(100vh - 76px);
    min-height: 0;
    padding: 18px 12px;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .sidebar .nav {
    font-size: 15px;
  }

  .content {
    padding: 24px 20px;
  }

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

@media (max-width: 600px) {
  .layout {
    display: block;
    min-height: calc(100vh - 68px);
    padding-bottom: 76px;
  }

  .sidebar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    width: 100%;
    height: auto;
    min-height: 68px;
    padding: 8px 12px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid rgba(100, 160, 220, .22);
    border-right: 0;
    background: rgba(10, 15, 25, .96);
  }

  .sidebar .nav {
    flex: 0 0 auto;
    width: auto;
    min-height: 48px;
    padding: 9px 12px;
    font-size: 14px;
  }

  .sidebar .nav span {
    display: inline;
  }

  .content {
    padding: 22px 16px;
  }

  .profile-grid {
    gap: 16px;
  }
}

#app .topbar {
  justify-content: flex-start;
  gap: 14px;
}

#app .topbar .brand {
  margin-right: auto;
}

.sidebar-toggle {
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(164, 195, 226, .24);
  border-radius: 12px;
  color: #e2e9f2;
  background: rgba(255, 255, 255, .055);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus-visible {
  border-color: rgba(110, 184, 255, .65);
  color: #fff;
  background: rgba(22, 139, 255, .13);
}

.sidebar-toggle:focus-visible {
  outline: 3px solid #9bd1ff;
  outline-offset: 3px;
}

.sidebar-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.layout .sidebar {
  transition: flex-basis .22s ease, width .22s ease, padding .22s ease;
}

#app .layout.sidebar-collapsed .sidebar {
  flex-basis: 76px;
  width: 76px;
  padding-right: 10px;
  padding-left: 10px;
}

#app .layout.sidebar-collapsed .sidebar .nav {
  justify-content: center;
  gap: 0;
  padding-right: 8px;
  padding-left: 8px;
}

#app .layout.sidebar-collapsed .sidebar .nav span {
  display: none;
}

@media (max-width: 600px) {
  #app .layout.sidebar-collapsed {
    padding-bottom: 0;
  }

  #app .layout.sidebar-collapsed .sidebar {
    display: none;
  }
}

.password-reset-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.password-reset-card {
  position: relative;
  width: min(100%, 440px);
  padding: 32px;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(18, 18, 18, .96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
  animation: dashboardViewEnter .2s ease-out both;
}

.password-reset-card h2 {
  margin: 0 0 10px;
  font-size: clamp(25px, 5vw, 32px);
}

.password-reset-card .muted {
  margin: 0 0 22px;
}

.password-reset-card .input {
  margin-bottom: 18px;
}

.password-reset-close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  color: #e2e9f2;
  background: rgba(255, 255, 255, .06);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.password-reset-close:hover,
.password-reset-close:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
}

.password-reset-close:focus-visible,
.password-reset-card .btn:focus-visible {
  outline: 3px solid #9bd1ff;
  outline-offset: 3px;
}

.password-reset-card .form-msg:empty {
  display: none;
}

#authScreen .reset-error {
  color: #ffaaaa;
}

#authScreen #backToLogin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
}

@media (max-width: 480px) {
  .password-reset-card {
    padding: 28px 22px;
  }
}

#app button,
.modal button,
#passwordResetDialog button {
  transition:
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    filter .18s ease,
    transform .16s ease;
}

#app button:active:not(:disabled),
.modal button:active:not(:disabled),
#passwordResetDialog button:active:not(:disabled) {
  transform: scale(.97);
}

#app button:disabled,
.modal button:disabled,
#passwordResetDialog button:disabled {
  cursor: wait;
  opacity: .68;
}

#app .input,
#app select.input,
.modal .input,
#passwordResetDialog .input {
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

#app .input:focus,
#app select.input:focus,
.modal .input:focus,
#passwordResetDialog .input:focus {
  border-color: #59aaff;
  box-shadow: 0 0 0 3px rgba(22, 139, 255, .2);
}

#app .section-card,
#app .stat-card,
#app .schedule-item,
#app .lineup-card,
#app .list-row {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

#app .stat-card:hover,
#app .schedule-item:hover,
#app .lineup-card:hover {
  border-color: rgba(110, 184, 255, .42);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  transform: translateY(-2px);
}

#app .list-row:hover {
  background: rgba(255, 255, 255, .025);
}

#app .form-msg:not(:empty) {
  animation: wfMessageEnter .2s ease-out both;
}

@keyframes wfMessageEnter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal:not(.hidden) {
  animation: wfOverlayEnter .18s ease-out both;
}

.modal:not(.hidden) .modal-box {
  animation: wfDialogEnter .22s cubic-bezier(.2, .75, .25, 1) both;
}

.discard-confirm-card {
  animation: wfDialogEnter .2s cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes wfOverlayEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wfDialogEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
  animation: wfToastEnter .22s ease-out both;
}

@keyframes wfToastEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#app .topbar {
  background: rgba(10, 15, 25, .78);
  border-bottom-color: rgba(100, 160, 220, .22);
  -webkit-backdrop-filter: blur(18px);
}

#app .layout {
  position: relative;
  z-index: 1;
}

#app .sidebar {
  background: rgba(10, 15, 25, .76);
}

#app .view > .page-head,
#app .view > .stats-grid,
#app .view > .grid-2,
#app .view > .profile-grid,
#app .view > .section-card,
#app .view > .schedule-list {
  animation: dashboardContentEnter .36s cubic-bezier(.2, .75, .25, 1) both;
}

#app .view > .stats-grid {
  animation-delay: .04s;
}

#app .view > .grid-2,
#app .view > .profile-grid,
#app .view > .section-card,
#app .view > .schedule-list {
  animation-delay: .08s;
}

@keyframes dashboardContentEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .dashboard-carousel {
    height: 300px;
  }
}
