body,
html,
.container {
  background-color: var(--mud-palette-background);
  height: 100%;
}

.mud-container {
  position: relative;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: aktiv-grotesk-condensed, "DM Sans", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  font-style: normal;
  font-weight: 435;
}

html,
body {
  font-family: "dm-sans", "DM Sans", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

h1:focus {
  outline: none;
}

a,
.btn-link {
  color: #0071c1;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
  padding-top: 1.1rem;
}

.valid.modified:not([type="checkbox"]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCki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IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=)
      no-repeat 1rem/1.8rem,
    #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  margin: auto;
}

.splash-logo {
  background-image: url("/images/logo-black-halo.svg");
  background-size: auto;
  background-repeat: no-repeat;
  width: 80px;
  height: 80px;
}

.linear-progress {
  background: #f4f4f2;
  width: 70px;
  margin-top: 25px;
  height: 7px;
  border-radius: 10rem;
  overflow: hidden;
  position: relative;
}

.linear-progress:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #272c34ff;
  scale: var(--blazor-load-percentage, 0%) 100%;
  transform-origin: left top;
  transition: scale ease-out 0.5s;
}

code {
  color: #c02d76;
}

hr.dotted-rule {
  border: dotted 1px silver;
  margin: 12px 0 6px 0;
}

div.priority-disc {
  width: 1.5rem;
  border-radius: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1px;
}

div.picker-option-tile {
  display: grid;
  grid-template-columns: 20px 1fr;
}

div.picker-option-tile .priority-disc-cell {
  grid-column: 1;
  grid-row: 1;
}
div.picker-option-tile .title-cell {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
  width: 100%;
  padding-left: 15px;
  align-content: center;
}

div.page-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* Give our mud buttons fully rounded ends*/
button.pill-button {
  border-radius: 25px !important;
}

/* Make sure the account menu sits above an open drawer */
.mud-popover.mud-popover-open {
  z-index: 2000 !important;
}

div.header-main-content {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

div.dialog-header-block {
  text-align: center;
  margin-bottom: 2rem;
}

.card-header {
  border-bottom: dotted 1px silver;
  height: 1.5rem;
}

/* Move form field labels up above their outline */
.mud-shrink ~ label.mud-input-label {
  transform: translate(-3px, -20px) !important;
  font-size: 13px !important;
  font-weight: bold !important;
}

/* Get rid of the gap left in the border for the moved label */
.mud-shrink fieldset legend {
  display: none;
}

.naked-field .mud-input-root-outlined {
  padding: 0 !important;
}

.naked-field fieldset,
.naked-field .mud-input-outlined-border {
  border: none !important;
}

.naked-field .outlined-in-naked {
  border: solid 1px var(--mud-palette-lines-inputs) !important;
  border-radius: var(--mud-default-borderradius) !important;
}

.naked-field .when-and-how-long {
  padding: 0 !important;
  gap: 5px;
}

:root {
  --fractals-palette-energising: #b4f801;
  --fractals-palette-draining: #e4dbd2;
  --fractals-palette-neutral: #e7e7ff;
  --fractals-palette-warning: #f24e1e;
  --fractals-palette-warning-light: #fff3f0;
  --fractals-palette-strategy: #453f8a;
}

.activity-slat {
  font-size: 13px;
  text-align: left;
}

.activity-slat-summary {
  display: grid;
  grid-template-columns: 0.4fr minmax(0, 1fr) 0.5fr 30px;
  grid-template-rows: auto auto;
}

.activity-slat-summary .when-box {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.activity-slat-summary .when-box .duration {
  font-weight: bold;
}

.activity-slat-summary .what-box {
  grid-column: 2;
  grid-row: 1;
  font-weight: bold;
}

.activity-slat-summary .what-box.collapsed {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.activity-slat-summary .vibe-box {
  grid-column: 3;
  grid-row: 1;
}

.activity-slat-summary .disclosure-box {
  grid-column: 4;
  grid-row: 1;
  text-align: right;
}

.activity-slat-summary .disclosure-box .disclosure-box-button {
  margin-top: -3px;
}

.activity-slat-summary .source-box {
  grid-column: 2 / 4;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.activity-slat-summary .source-box,
.activity-slat-summary .source-box a {
  font-size: 11px;
}

.activity-slat-summary .source-box .activity-source-category-icon {
  font-size: 1.15rem;
}

.activity-slat-summary .source-box .activity-source-category-text {
  font-weight: bold;
}

.activity-slat-summary .source-box .activity-source-category-text,
.activity-slat-summary .source-box .activity-source-link-text {
  margin-top: -3px;
}

.vibe-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 3px 5px;
  gap: 5px;
  font-size: 11px;
  margin-top: -2px;
  color: var(--mud-palette-black);
}

.vibe-badge.energising {
  background-color: var(--fractals-palette-energising);
  font-weight: bold;
}

.vibe-badge.neutral {
  background-color: var(--fractals-palette-neutral);
}

.vibe-badge.draining {
  background-color: var(--fractals-palette-draining);
}

.activity-slat-detail {
  font-size: 11px;
}

.activity-slat-detail .reconciliation-note {
  background-color: var(--mud-palette-action-default-hover);
  border-radius: 8px;
  gap: 10px;
  padding: 5px 10px;
  display: flex;
}

.activity-slat-detail .reconciliation-note .reconciliation-note-text {
  margin-top: 3px;
}

.activity-slat-detail .reconciliation-outcomes {
  justify-content: left;
}

.range-slider {
  height: 40px !important;
  border-radius: 8px !important;
}
.range-slider__thumb {
  width: 24px !important;
  height: 40px !important;
  border-radius: 8px !important;
  top: 0;
  transition: left 0.2s ease;
  background-color: #8e89d2 !important;
}
.range-slider__range {
  border-radius: 8px !important;
  transition: 0.2s ease;
  background-color: rgba(142, 137, 210, 0.5) !important;
}
