/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
#preloder {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999999;
  background: #ffffff;
}

.loader {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -13px;
  margin-left: -13px;
  border-radius: 60px;
  animation: loader 0.8s linear infinite;
  -webkit-animation: loader 0.8s linear infinite;
}

@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }

  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    border: 4px solid #673ab7;
    border-left-color: transparent;
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
}

@-webkit-keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }

  50% {
    -webkit-transform: rotate(180deg);
    border: 4px solid #673ab7;
    border-left-color: transparent;
  }

  100% {
    -webkit-transform: rotate(360deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
}


.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 34px;
  height: 24px;
}

.app-brand-logo.demo svg {
  width: 35px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 78px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}


/* Custom CSS */
.accordion-table,
.inner-table {
  width: 100%;
  border-collapse: collapse;
}

.accordion-table th {
  background: #e6eef7;
  border: 1px solid #4a90e2;
  padding: 10px;
  text-align: center;
  font-size: 13px;
}

.accordion-table td {
  border: 1px solid #4a90e2;
  padding: 10px;
  text-align: center;
  background: #d9e6f5;
}

.parent-row {
  font-weight: 600;
}

.toggle,
.toggle:hover {
  cursor: pointer;
  color: #AA3050;
  text-decoration: none;
}

/* .child-row {
  display: none;
}
.child-row.show {
  display: block;
} */

.inner-table th {
  background: #eee;
  border: 1px solid #ddd;
  padding: 8px;
}

.inner-table td {
  background: #fff9e7;
  border: 1px solid #ddd;
  padding: 8px;
}

.status span {
  font-weight: bold;
}

.pending {
  color: red;
}

.late {
  color: #007bff;
}

.updated {
  color: green;
}

.inner-table td a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.child-row>td {
  padding: 0;
}

/* Management Table Accordion */
:root {
  --rose: #AA3050;
  --rose-light: #DDACB94D;
  --rose-mid: #DDACB94D;
  --ink: #1a1a2e;
  --ink-soft: #4a4a6a;
  --ink-faint: #9898b3;
  --border: #dbdade;
  --radius: 14px;
  --transition: .28s cubic-bezier(.4, 0, .2, 1);
}

.card-student-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dbdade;
}

.card-student-table thead tr {
  background: var(--rose-light);
}

.card-student-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rose);
  white-space: nowrap;
}

.card-student-table thead th:last-child {
  text-align: center;
}

.card-student-table tbody tr.main-row {
  border-top: 1px solid var(--border);
  transition: background var(--transition);
  cursor: default;
}

.card-student-table tbody tr.main-row:hover {
  background: #eee;
}

.card-student-table tbody tr.main-row.open {
  background: #f5f5f5;
}

.card-student-table tbody td {
  padding: 16px 18px;
  font-size: .88rem;
  color: var(--ink-soft);
  vertical-align: middle;
}

.card-student-table tbody td .label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 3px;
}

.card-student-table tbody td .value {
  font-weight: 500;
  color: var(--ink);
  font-size: .9rem;
}

.card-student-table .pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}

.card-student-table .pill-blue {
  background: #e8f0fe;
  color: #3a5fc8;
}

.card-student-table .pill-green {
  background: #e6f9f0;
  color: #1a8f5a;
}

.card-student-table .pill-rose {
  background: var(--rose-light);
  color: var(--rose);
}

.card-student-table .count-group {
  display: flex;
  gap: 14px;
  align-items: center;
}

.card-student-table .count-item {
  text-align: center;
}

.card-student-table .count-item .num {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.card-student-table .count-item .lbl {
  font-size: .68rem;
  color: var(--ink-faint);
  margin-top: 1px;
}

.card-student-table .count-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.card-student-table .action-cell {
  text-align: center;
}

.card-student-table .toggle-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--rose-light);
  color: var(--rose);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card-student-table .toggle-btn:hover {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 68, 90, .3);
}

.card-student-table .toggle-btn svg {
  transition: transform var(--transition);
}

.card-student-table .toggle-btn.rotated svg {
  transform: rotate(180deg);
}

.card-student-table tr.student-panel-row td {
  padding: 0;
  border: none;
}

.card-student-table .student-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4, 0, .2, 1);
}

.card-student-table .student-panel.open {
  max-height: 600px;
}

.card-student-table .student-panel-inner {
  padding: 0 18px 22px 18px;
  background: #fff;
  border-top: 2px solid var(--rose-light);
}

.card-student-table .student-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--rose);
}

.card-student-table .student-panel-title svg {
  opacity: .7;
}

.card-student-table .student-table-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--rose-mid);
}

.card-student-table .student-table {
  width: 100%;
  border-collapse: collapse;
}

.card-student-table .student-table thead tr {
  background: var(--rose-light);
}

.card-student-table .student-table thead th {
  padding: 10px 14px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--rose);
  text-align: left;
}

.card-student-table .student-table tbody tr {
  border-top: 1px solid #eee;
  transition: background var(--transition);
}

.card-student-table .student-table tbody tr:nth-child(even) {
  background: #f2f2f2;
}

.card-student-table .student-table tbody tr:hover {
  background: #f2f2f2;
}

.card-student-table .student-table tbody td {
  padding: 10px 14px;
  font-size: .83rem;
  color: var(--ink-soft);
}

.card-student-table .student-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.card-student-table .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

.card-student-table .name-cell {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {

  .card-student-table thead th:nth-child(4),
  .card-student-table tbody td:nth-child(4) {
    display: none;
  }

  .card-student-table .count-group {
    gap: 8px;
  }
}

.adm-date {
  font-size: 14x;
  color: #666;
  white-space: nowrap;
}

.student-table .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.student-table .badge-yes {
  background: #dcfce7;
  color: #15803d;
}

.student-table .badge-no {
  background: #fee2e2;
  color: #b91c1c;
}

.student-table .badge-active {
    background: rgb(22 163 74);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 7px;
    font-size: 13px;
}
.student-table .badge-inactive {
    background: #b91c1c;
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 7px;
    font-size: 13px;
}

.wel-cell,
.sch-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sub-label {
  font-size: 12px;
  color: var(--text-muted);
} 
form.management-block .row .col-md-4:nth-child(4),
form.management-block .row .col-md-4:nth-child(5),
form.management-block .row .col-md-4:nth-child(6) {
    display: none;
}
#studentChart {
	height: 350px !important;
}
/* Hide Arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.card-datatable .filter_button, .card-datatable .download_button {
  display: none !important;
}