/* Palette only: typography, shape, spacing and effects inherit the classic theme. */
html[data-theme="glass"] {
  color-scheme: light;

  --color-background: #f2f4f9;
  --color-surface: rgba(255, 255, 255, .88);
  --color-surface-subtle: #edf0f7;
  --color-surface-light: #f8f9fc;
  --color-surface-inverse: #30354f;
  --color-text: #41465e;
  --color-text-strong: #242a43;
  --color-text-secondary: #626a80;
  --color-muted: #d1d6e5;
  --color-muted-strong: #8a92aa;
  --color-note: #626a80;
  --color-note-strong: #626a80;
  --color-border: #dde2ee;
  --color-border-subtle: #e9ecf4;
  --color-control-border: #ccd3e3;
  --color-callout: #edf0f9;
  --color-watermark: #b9c1d6;
  --color-accent: #5158ba;
  --color-accent-rgb: 81, 88, 186;
  --color-accent-secondary: #7d84c7;
  --color-on-accent: #ffffff;
  --color-on-inverse: #ffffff;
  --color-success: #38786c;
  --color-danger: #bc4a62;
  --color-danger-rgb: 188, 74, 98;
  --header-background: rgba(255, 255, 255, .84);
  --header-border-color: rgba(211, 217, 233, .70);
  --nav-link-color: #626a80;
  --nav-link-hover-color: #444ca3;
  --nav-active-color: #444ca3;
  --nav-active-border-color: #5158ba;
  --card-background: rgba(255, 255, 255, .86);
  --card-border-color: rgba(212, 219, 236, .86);
  --card-header-background: #eff1f9;
  --card-header-text: #41465e;
  --card-control-header-background: #444ca3;
  --card-control-header-text: #ffffff;
  --card-control-body-background: rgba(255, 255, 255, .94);
  --card-control-body-text: #41465e;
  --card-control-footer-background: #f0f2fa;
  --card-control-footer-text: #41465e;
  --card-control-border-color: #dde2ee;
  --card-control-header-action-hover-background: rgba(255, 255, 255, .12);
  --modal-background: rgba(255, 255, 255, .97);
  --modal-header-background: #eef0fa;
  --modal-header-text: #3d458c;
  --button-primary-bg: #5158ba;
  --button-primary-text: #ffffff;
  --button-primary-border: #5158ba;
  --button-primary-hover-bg: #41489f;
  --button-primary-hover-text: #ffffff;
  --button-primary-hover-border: #41489f;
  --button-danger-text: #ffffff;
  --button-danger-hover-bg: #a43e54;
  --button-danger-hover-border: #a43e54;
  --button-surface-bg: rgba(255, 255, 255, .9);
  --button-surface-text: #41465e;
  --button-surface-border: #d6dced;
  --button-secondary-text: #5d65a2;
  --button-secondary-border: #bdc5e3;
  --button-secondary-hover-bg: #5158ba;
  --button-secondary-hover-text: #ffffff;
  --button-light-bg: #f7f8fc;
  --button-light-text: #41465e;
  --button-light-border: #d6dced;
  --button-light-hover-bg: #edf0f9;
  --input-background: rgba(255, 255, 255, .94);
  --input-text: #41465e;
  --input-placeholder: #7d869f;
  --input-border: #d6dced;
  --input-focus-border: #868dc9;
  --dropdown-background: rgba(255, 255, 255, .97);
  --dropdown-border: #dde2ee;
  --dropdown-hover-background: #edf0f9;
  --dropdown-active-text: #ffffff;
  --offcanvas-background: rgba(249, 250, 253, .98);
  --announcement-background: #edf0f9;
  --progress-start: #a2a8d8;
  --progress-end: #5158ba;
  --overlay-backdrop: rgba(30, 36, 62, .62);
  --calendar-cell-border: #e1e5f0;
  --calendar-empty-background: #edf0f7;
  --workout-gradient-start: #e2e7f9;
  --workout-gradient-end: #d9e1f1;
}

html[data-theme="glass"] .card-header {
  border-bottom-color: var(--card-border-color);
}

html[data-theme="glass"] .form-control:focus,
html[data-theme="glass"] .form-select:focus {
  background-color: #ffffff;
}
