: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;
}

.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;
}

.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;
}

.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;
}

.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-color: #f5f5f5 !important;
}

.mud-progress-linear.horizontal.mud-progress-linear-large {
  height: 20px;
}

.mud-main-content:has(.inside-drawer.mud-drawer--open) {
  max-height: 100vh;
  overflow: hidden;
}

.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;
}
