:root {
  --sjs-primary-backcolor: #2196f3;
  --sjs-primary-backcolor-dark: rgb(12,128,223);
  --sjs-font-surveytitle-color: #2196f3;
  --primary: #2196f3;
}

.activity-filter-drawer-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.full-width-header {
  width: 100%;
}

.drawer-close-icon {
  padding: 5px;
}

.mud-table-head .header-centered th {
  text-align: center;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.radio-block .mud-radio-group {
  flex-direction: column !important;
  width: fit-content;
  width: -moz-fit-content;
  align-items: start !important;
}

.checkbox-fit-content .mud-checkbox, .switch-fit-content .mud-switch {
  width: fit-content;
  width: -moz-fit-content;
}

.checkbox-fit-content .mud-checkbox {
  width: fit-content;
  width: -moz-fit-content;
}

.radio-inline-block .mud-radio {
  display: inline-block;
}

.item-type {
  font-size: 14px;
  font-weight: 700;
}

.item-value {
  font-size: 13px;
  font-weight: 400;
}

.overflow-auto {
  overflow: auto;
}

.schedule-selection, .attendance-selection {
  max-width: 420px;
  margin-bottom: 10px;
}

#QuillEditor {
  height: 120px;
}

.mud-input-root-outlined {
  padding: 10.5px 14px !important;
}

.input-default-padding .mud-input-root-outlined, textarea.mud-input-root-outlined {
  padding: 18.5px 14px !important;
}

.mud-input-label-outlined {
  transform: translate(14px,12px) scale(1);
}

.code-block {
  display: block;
  margin-right: 10px;
  padding: 20px;
  overflow: auto;
  background: lightgray
}

.mud-list-item-icon {
  min-width: 32px;
}

.mud-table-row.enrolled .mud-table-cell {
  color: rgb(0,163,68) !important;
  background-color: rgba(0,200,83,0.0588) !important;
}

.mud-table-row.selected-row .mud-table-cell {
  color: #002d96 !important;
  background-color: #97b8e8 !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none;
}

body {
  top: 0px !important;
}

.active-class-card {
  border: 1px solid var(--mud-palette-primary);
}

.enrolled-class-card {
  border: 3px solid var(--mud-palette-success);
}

.action-column {
  text-align: right;
}

.self-attendance-dialog {
  background-image: linear-gradient(to right top, #003366 0%, #90BAFC 100%);
  color: white;
}

.no-padding-expansion .mud-expand-panel-header {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.no-padding-expansion .mud-expand-panel-content {
  padding: 0 !important;
}

.card-header {
  background: rgba(30, 30, 47, 0.4) !important;
}

.inner-card-header {
  background: rgba(30, 30, 47, 0.2);
}

.mud-table-root .mud-table-head .mud-table-cell {
  font-weight: 600 !important;
}

.mud-table-root .mud-table-head .mud-table-cell-normal {
  font-weight: normal !important;
}

.mud-float-right {
  float: right;
}

.mud-float-left {
  float: left;
}

.card-content {
  background-color: rgba(30, 30, 47, 0.08) !important;
}

.mud-progress-linear.horizontal.mud-progress-linear-large {
  height: 20px;
}

.text-editor {
  background-color: #d5dfed;
}

.complete-status-color {
  color: rgba(30,200,165,1);
  border-color: rgba(30,200,165,1);
}

.conditional-border {
  border: 1px solid red !important;
}

.mud-main-content:has(.inside-drawer.mud-drawer--open) {
  max-height: 100vh;
  overflow: hidden;
}

.app-customer-selection .mud-select-input, .app-customer-selection .mud-icon-root {
  color: white !important;
}

.btn-file-upload {
  width: -moz-fit-content;
  width: fit-content;
}

.top-right-aligned {
  top: -16px;
  right: -16px;
  float: right;
}

.dashboard-text-container {
  width: 100%;
  position: relative;
  top: -45px;
}

@media only screen and (max-width: 600px) {
  .attendance-note, .award-amt {
    width: 100%;
  }
}

@media only screen and (min-width: 601px) {
  .attendance-note {
    width: 120px;
  }

  .award-amt {
    width: 80px;
  }
}

.read-only-field {
  background-color: var(--mud-palette-background) !important;
}

.bs-field-wrapper,
.form-control[data-bluesnap] {
  height: 36px;
}

.bluesnap-error {
  font-size: 12px;
  color: red;
}

.h-100 {
  height: 100%;
}

#blazor-error-ui {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff8f8;
    color: #c62828;
    border: 2px solid #c62828;
    border-radius: 16px;
    padding: 3rem 2rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

#blazor-error-ui h2 {
    font-size: 2rem;
    color: #c62828;
    margin-bottom: 1rem;
}

#blazor-error-ui p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
}

#blazor-error-ui .reload {
    background-color: #c62828;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

#blazor-error-ui .reload:hover {
    background-color: #b71c1c;
}

#qr-reader {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
}

@media (max-width: 480px) {
  #qr-reader {
    max-width: 90%;
  }
}