body {
  background-color: #fafafa !important;
}
.m-header img {
  width: 170px !important;
  margin: 2px 0px 0px 12px !important;
}

.navbar-content {
  padding: 21px 0 !important;
}

[data-pc-direction=ltr] .override-name {
  margin-top: 10px !important;
}

.pc-mtext {
  top: 1px !important;
  position: relative !important;
}

.pc-header .pc-icon {
  margin-top: -4px !important;
}

.pc-h-item h4 {
  margin-top: 2px !important;
}

.header-wrapper {
  padding: 0px 8px 0px 2px !important;
}

.pc-sidebar-collapse a {
  margin: 0px !important;
}

@media (max-width: 575.98px) {
  .pc-header .pc-head-link {
    padding: 0rem !important;
    margin: 0px !important;
  }
}

.auth-footer .row {
  padding-right: 0px !important;
  padding-left: 5px !important;
}

.auth-footer .row div {
  padding-right: 0px !important;
}

.tab-content .tab-pane {
  display: none;
}
.tab-content .active {
  display: block;
}

.tab-container {
  min-height: 330px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sub-heading {
  font-size: 15px;
  clear: both;
}

.modal-logout {
  margin: calc(-0.5 * var(--bs-modal-header-padding-y)) calc(-0.5 * var(--bs-modal-header-padding-x)) calc(-0.5 * var(--bs-modal-header-padding-y)) auto;
  font-size: 20px;
  padding: 0px 15px 10px 14px !important;
}

.onboarding-logout {
  z-index: 9999;
}

#onboarding_wizard_main .form-label {
  display: block !important;
}

#onboarding_wizard_main .flatpickr-wrapper {
  width: 100%;
}

.form-label.medium {
  font-size: 12pt;
}

.form-control:hover {
  background-color: #e9ecef !important;
}

.pick-date {
  opacity: 1 !important;
}

.previous.me-2 {
  margin-right: 12px !important;
}

#nctq hr {
  padding-bottom: 14px !important;
}
#mctq .alert-info {
  margin-bottom: 10px !important;
}
.mctq-icons {
  font-size: 25px;
  margin-right: 10px;
}

.welcome-banner {
  border-radius: 10px;
}

.img-welcome-banner {
  text-align: right;
  margin-right: 90px;
}

.img-welcome-banner img {
  height: 180px;
}

.slider-container {
  margin-top: 4px;
  display: flex;
}
.slider-label-left {
  margin-right: 14px;
  position: relative;
  bottom: 3px;
  white-space: nowrap;
}
.slider-label-right {
  margin-left: 14px;
  position: relative;
  bottom: 2px;
  white-space: nowrap;
}
.slider-horizontal {
  width: 100% !important;
}
.frequency-slider .slider-horizontal {
  margin-top: 8px;
}

#ex1Slider .slider-selection {
  background: #BABABA;
}

.onboarding-spinner {
  position: absolute !important;
  left: 48% !important;
  top: 44% !important;
  opacity: 0.3;
  display: none !important;
}
.spinner-message {
  margin-left: -44%;
}

#mctq_detail {
  display: none !important;
}

.popover {
  z-index: 999;
}

.toast {
  white-space: nowrap !important;
  width: 100% !important;
}

.dashboard h5 {
  font-size: 1rem !important;
}

.card-header.thin {
  padding: 15px 15px 5px 15px !important;
}

.card-header h5 {
  font-size: 1rem !important;
}

.settings.active {
  font-weight: bold !important;
  background-color: #FFFFFF !important;
}

.energy-schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.energy-schedule-row {
  display: flex;
  align-items: center;
  margin: 3px 0;
}

.energy-schedule-time {
  width: 40px;
  text-align: right;
  margin-right: 10px;
  font-size: 0.8rem;
}

.energy-schedule-block {
  width: 75%;
  height: 30px;
}

.energy-schedule {
  min-width: 232px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #6b7280; /* gray-500 */
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  flex-shrink: 0;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 1000;
}

.user-badge .username {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

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

/* Calendar widget — header layout */
.calendar-widget-header-top {
  width: 100%;
}

.calendar-widget-header-actions {
  text-align: right;
}

.calendar-widget-header-nav {
  width: 100%;
}

#calendar-widget-day-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.calendar-nav-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

/* Calendar day grid — shared dashboard + intelligence */
.calendar-day-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-hour-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  min-height: 52px;
}

.calendar-hour-label {
  width: 48px;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
  padding-top: 8px;
  text-align: right;
}

.calendar-hour-bar {
  flex: 1;
  padding: 6px 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.calendar-hour-events {
  display: flex;
  gap: 8px;
  width: 100%;
}

.calendar-event-card {
  flex: 1;
  min-width: 0;
  background: #F0F6FE;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.calendar-event-card-body {
  min-width: 0;
}

.calendar-event-title {
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-event-time {
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
}

.calendar-event-bolt {
  color: #3875F6;
  font-size: 2rem;
  flex-shrink: 0;
}

.mb-1px {
  margin-bottom: 1px;
}

/* ── Energy Pulse nudge circles ── */
.nudge-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nudge-circle--fire {
  background: #3875F6;
}

.nudge-circle--snowflake {
  background: #80ABF9;
}

.nudge-circle--empty,
.nudge-circle--future {
  background: #dee2e6;
  box-shadow: none;
}

.nudge-circle--weekend {
  background: #adb5bd;
}

.nudge-circle--delivered {
  background: #80ABF9;
}

/* Peak Performance Review widget */
.peak-review-header h5 {
  font-weight: 700;
}

.peak-review-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.peak-review-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.peak-review-divider {
  border: 0;
  border-top: 1px solid rgba(56, 117, 246, 0.45);
  margin: 16px 0;
  opacity: 1;
}

.peak-review-event {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #bfd5fb;
  border-top: 2px solid #3875F6;
  border-right: 2px solid #3875F6;
  border-bottom: 2px solid #3875F6;
  border-left: none;
  overflow: hidden;
}

.peak-review-event-bar {
  width: 8px;
  flex-shrink: 0;
  background: #3875F6;
}

.peak-review-event-body {
  flex: 1;
  min-width: 0;
  padding: 6px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.peak-review-event-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e3a8a;
}

.peak-review-event-time {
  font-size: 0.85rem;
  color: #1e3a8a;
  margin-top: 2px;
}

.peak-review-event-bolt {
  align-self: center;
  margin-right: 14px;
  color: #3875F6;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.restore-score-message {
  text-align: left;
}

.restore-score-message__lead {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.restore-score-message p:last-of-type {
  margin-bottom: 0;
}

.nudge-circle .ti-x {
  border: 1px solid #ffffff;
  border-radius: 11px;
  padding: 2px;
}

.nudge-circle--fire {
  font-size: 1.3rem !important;
}

.pc-footer {
  z-index: 1;
}

.dashboard-widget-minwidth {
  min-width: 530px;
}

a.hover-color:hover {
  background: #dee2e6;
}