html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #666666;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  /*background: #f9f9f9;*/
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

fieldset {
  margin-bottom: 20px;
}

legend {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 15px;
}

a {
  text-decoration: none;
}

#container {
  min-height: 100%;
  width: 100%;
  position: relative;
  background: #f6f6f6;
  overflow: clip;
}

.container-fluid {
  padding: 0 20px;
}

#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}

@media (min-width: 960px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

#alert .alert {
  margin-bottom: 15px;
}

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}

#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}

#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}

#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}

#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}

#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}

#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}

#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

#header {
  border-bottom: 1px solid #d8d8d8;
  box-shadow: 0px 0px 3px #cccccc;
  z-index: 1000;
  margin: 0;
  padding: 0;
}

#header .navbar-nav > li > .nav-link {
  color: #6d6d6d;
}

#header .navbar-nav li > .nav-link:hover,
#header .navbar-nav li.show > .nav-link {
  background: #eeeeee;
}

/* Header Notification */
#nav-notification .nav-link {
  padding-left: 15px;
  padding-right: 15px;
  line-height: 30px;
  font-size: 24px;
}

#nav-notification > .nav-link .badge {
  position: absolute;
  top: 7px;
  right: 12px;
  padding: 3px 4px 2px 4px;
  opacity: 0.8;
  border-radius: 6px;
}

/* Desktop */
@media (min-width: 992px) {
  #nav-notification .nav-link {
    line-height: 50px;
  }

  #nav-notification > .nav-link .badge {
    top: 14px;
    right: 11px;
  }
}

#nav-language .nav-link {
  padding-left: 15px;
  padding-right: 15px;
  line-height: 30px;
}

@media (min-width: 992px) {
  #nav-language .nav-link {
    line-height: 50px;
  }
}

/* Header Profile */
#nav-profile .nav-link {
  padding-left: 15px;
  padding-right: 15px;
  line-height: 30px;
}

#nav-profile img {
  max-width: 30px;
}

/* Desktop */
@media (min-width: 992px) {
  #nav-profile .nav-link {
    padding-left: 10px;
    padding-right: 10px;
    line-height: 50px;
  }

  #nav-profile img {
    max-width: 35px;
  }
}

/* Header Logout */
#nav-logout > .nav-link {
  padding-left: 15px;
  padding-right: 15px;
  line-height: 30px;
}

/* Desktop */
@media (min-width: 992px) {
  #nav-logout > .nav-link {
    padding-left: 10px;
    padding-right: 10px;
    line-height: 50px;
  }
}

/* Menu Button */
#button-menu {
  font-size: 25px;
  padding: 0px 16px;
  margin: 2px;
  cursor: pointer;
  color: #6d6d6d;
}

/* Desktop */
@media (min-width: 992px) {
  #button-menu {
    padding: 10px 16px;
  }
}

#column-left {
  width: 235px;
  height: 100%;
  overflow: auto;
  background-color: #242d37;
  position: absolute;
  top: 0px;
  left: -235px;
  padding-top: 60px;
}

#content {
  padding-bottom: 40px;
}

#column-left,
#content,
#footer {
  transition: all 0.3s;
}

#column-left + #content,
#column-left + #content + #footer {
  position: relative;
  left: 0px;
}

#column-left.active {
  left: 0px;
}

#column-left.active + #content,
#column-left.active + #content + #footer {
  left: 235px;
}

/* Desktop */
@media (min-width: 992px) {
  #column-left {
    left: 0px;
  }

  #column-left + #content,
  #column-left + #content + #footer {
    left: 0px;
    margin-left: 235px;
  }

  #column-left.active + #content,
  #column-left.active + #content + #footer {
    left: 0px;
    margin-left: 235px;
  }
}

/* Navigation */
#navigation {
  text-transform: uppercase;
  padding: 22px 15px 15px 15px;
  color: #ffffff;
  background: #19222e;
  display: block;
}

/* Menu */
#menu,
#menu ul,
#menu li {
  padding: 0;
  margin: 0;
  list-style: none;
}

#menu {
  margin-bottom: 25px;
}

#menu li a {
  text-decoration: none;
  display: block;
  padding: 10px;
  cursor: pointer;
  border-bottom: 0px solid #515151;
}

#menu li a.parent:after {
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  float: right;
  margin-right: 8px;
}

#menu li a.parent:after {
  content: "\f107";
}

#menu li a.collapsed:after {
  content: "\f105";
}

/* 1st lvl */
#menu > li {
  position: relative;
  border-bottom: 1px solid #2b3642;
}

#menu > li > a {
  font-size: 14px;
  color: #b3cbdd;
  padding-left: 20px;
  border-bottom: 0px solid #585858;
}

#menu > li > a:hover {
  background-color: #1b2127;
}

#menu > li > a > i {
  font-size: 16px;
  width: 18px;
  margin-right: 5px;
  /*color: #b3cbdd;*/
}

#menu > li.active > a {
  color: #0b91d2;

  background-color: #171b21;
}

#menu > li > ul {
  background-color: #293141;
}

/* 2nd lvl */
#menu li li a {
  color: #7f8a9b;
}

#menu li li a:before {
  font-family: "Font Awesome 6 Free";
  content: "\f101";
  font-weight: 900;
  font-size: 13px;
  margin-left: 10px;
  margin-right: 10px;
  transition: margin ease 0.5s;
}

#menu li li a:hover:before {
  margin-right: 20px;
}

#menu li li a:hover {
  color: #ffffff;
  background-color: #242d37;
}

#menu li li.active > a {
  color: #0b91d2;
  background-color: #242d37;
}

#menu li ul a {
  padding-left: 20px;
  font-size: 13px;
}

#menu li li ul a {
  padding-left: 40px;
}

#menu li li li ul a {
  padding-left: 60px;
}

#menu li li li li ul a {
  padding-left: 80px;
}

#stats {
  border-radius: 2px;
  color: #808b9c;
  background: #2e3a47;
  margin: 15px 20px;
  padding: 5px 0;
}

#stats ul,
#stats li {
  padding: 0;
  margin: 0;
  list-style: none;
}

#stats li {
  font-size: 11px;
  color: #9d9d9d;
  padding: 5px 10px;
  border-bottom: 1px dotted #373737;
}

#stats div:first-child {
  margin-bottom: 4px;
}

#stats .progress {
  height: 3px;
  margin-bottom: 0;
}

/* footer */
#footer {
  height: 100px;
  text-align: center;
}

.page-header {
  vertical-align: middle;
  margin: 20px 0 15px 0;
  padding: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #e9e9e9;
}

.page-header h1 {
  font-weight: 500;
  font-size: 20px;
  color: #444;
  display: inline-block;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 0 1px #fff;
}

/* Navs
/* Tabs*/
.nav-tabs > li > a {
  color: #a5a5a5;
}

.nav-tabs > li > a:hover {
  border-color: #eee #eee #ddd;
}

.nav-tabs {
  margin-bottom: 25px;
}

.nav-tabs li.nav-item a.active {
  color: #333;
}
input[type="text"]::placeholder {
  color: #888;
}
input[type="text"],
textarea,
select {
  box-shadow: none !important;
}
.form-control,
.has-error .form-control {
  font-size: 16px;
  border-radius: 4px !important;
}
.text-label {
  text-align: left;
  margin-bottom: 0;
  padding-top: 9px;
}
.form-label,
.col-form-label {
  font-weight: bold;
}

.form-switch-lg {
  font-size: 26px;
  min-height: 36px;
  line-height: 36px;
}

@media (min-width: 992px) {
  .col-form-label {
    text-align: right;
  }
}

.row.mb-3 {
  position: relative;
}

.row.mb-3 + .row.mb-3 {
  padding-top: 1rem;
}

.row.mb-3 + .row.mb-3:before {
  display: block;
  content: "";
  position: absolute;
  width: calc(100% - calc(var(--bs-gutter-x) / 1));
  height: 0px;
  left: calc(var(--bs-gutter-x) / 2);
  top: 0;
  border-bottom: 1px solid #ededed;
}

div.required .col-form-label:not(span):before,
div.required .form-label:before,
td.required:before {
  content: "* ";
  color: #f00;
  font-weight: bold;
}

.image {
  width: 12rem;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-item {
  display: flex;
  align-items: center;
  padding: 2px 6px;
  background: #f8f9fa;
  border-radius: 4px;
  border-left: 3px solid #007bff;
  font-size: 12px;
  line-height: 1.2;
}
.category-item:hover {
  background: #e9ecef;
  border-left-color: #0056b3;
}
.category-name {
  color: #495057;
  font-weight: 500;
}
.category-item i {
  font-size: 10px;
  margin-right: 4px;
}
.table thead td span[data-toggle="tooltip"]:after,
label.form-label span:after {
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  content: "\f059";
  color: #1e91cf;
  margin-left: 4px;
}

.table a.asc:after {
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  content: " \f106";
}

.table a.desc:after {
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  content: " \f107";
}

.pagination {
  margin: 0;
}

/* Cards */
.card {
  border-radius: 0px;
}

.card-header > i {
  margin-right: 5px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.bootstrap-datetimepicker-widget {
  position: absolute;
  float: right;
  z-index: 9999;
  height: 200px;
  width: 250px;
}

/* Tiles */
.tile {
  margin-bottom: 15px;
  border-radius: 3px;
  color: #ffffff;
  transition: all 1s;
}

.tile-primary {
  background-color: #1b80c2;
}

.tile-success {
  background-color: #53b953;
}

.tile-warning {
  background-color: #f3aa41;
}

.tile-danger {
  background-color: #e45847;
}

.tile:hover {
  opacity: 0.95;
}

.tile a {
  color: #ffffff;
}

.tile-heading {
  padding: 5px 8px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
}

.tile .tile-heading .pull-right {
  transition: all 1s;
  opacity: 0.7;
}

.tile:hover .tile-heading .pull-right {
  opacity: 1;
}

.tile-body {
  padding: 15px;
  color: #ffffff;
  line-height: 48px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.tile .tile-body i {
  font-size: 50px;
  opacity: 0.3;
  transition: all 1s;
}

.tile:hover .tile-body i {
  color: #ffffff;
  opacity: 1;
}

.tile .tile-body h2 {
  font-size: 42px;
}

.tile-footer {
  padding: 5px 8px;
  background-color: rgba(0, 0, 0, 0.1);
}

.jqvmap-label {
  z-index: 999;
}

.card-body .jqvmap-zoomin,
.jqvmap-zoomout {
  padding: 0px;
}

/* Filemanager Folder Size */
#filemanager .fa-folder.fa-5x {
  font-size: 10.5em;
}

#extension-list {
  color: #4b525d;
}

#extension-list h2 {
  margin-top: 54px;
  margin-bottom: 44px;
}

#extension-list section {
  border: 1px solid #ddd;
}

#extension-list section > div {
  position: relative;
}

#extension-list section > div + div {
  border-top: 1px solid #ddd;
  padding: 10px;
}

#extension-list section:hover {
  border: 1px solid #1b80c2;
}

#extension-list > .row {
  margin-top: 30px;
}

#extension-list > .row > * {
  margin-bottom: 30px;
}

#extension-list .extension-preview {
  min-height: 150px;
}

#extension-list .extension-preview img {
  margin: 0 auto;
}

#extension-list .extension-preview .extension-description {
  position: absolute;
  background-color: rgba(36, 45, 55, 0.9);
  color: #fff;
  padding: 10px;
  font-size: 14px;
  line-height: 16px;
  opacity: 0;
  height: 100%;
  width: 100%;
}

#extension-list .extension-preview .extension-description:hover {
  opacity: 1;
}

#extension-list i {
  color: #10b4e9;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  #extension-list .extension-preview {
    min-height: 123px;
  }

  #extension-list .extension-preview .extension-description {
    font-size: 12.5px;
    padding: 6px;
  }

  #extension-list .extension-preview img {
    margin: 0 auto;
  }

  #extension-list .extension-name {
    min-height: 105px;
  }

  #extension-list .extension-name p {
    color: #000;
    margin-bottom: 0;
    font-weight: 600;
  }

  #extension-list .extension-name p:first-child {
    font-size: 17px;
  }

  #extension-list .extension-name p span {
    color: #4b525d;
    font-weight: 400;
  }

  #extension-list .extension-name h4 a,
  #extension-list .extension-name p a {
    color: #000;
  }

  #extension-list .extension-name + div > .row {
    margin-top: 0;
  }

  @media screen and (min-width: 992px) and (max-width: 1199px) {
    #extension-list .extension-name + div > .row {
      font-size: 14px;
    }
  }

  #extension-list span {
    font-weight: 600;
  }
}

#marketplace-extension-info #banner img {
  margin-left: auto;
  margin-right: auto;
}

#marketplace-extension-info .extension-review {
  border-top: 5px solid #1b80c2;
  padding-top: 50px;
  margin-top: 50px;
  margin-bottom: 50px;
}

#marketplace-extension-info .nav-tabs {
  font-size: 14px;
}

#marketplace-extension-info .nav-tabs + .tab-content {
  margin-top: 30px;
  margin-bottom: 30px;
}

#marketplace-extension-info iframe {
  width: 100%;
  height: 500px;
}

@media screen and (max-width: 767px) {
  #marketplace-extension-info iframe {
    height: 350px;
  }
}

#marketplace-extension-info #buy {
  color: #4b525d;
}

#marketplace-extension-info #buy #price {
  color: #000;
  font-size: 20px;
  padding-top: 15px;
  padding-bottom: 5px;
}

#marketplace-extension-info #buy i {
  color: #10b4e9;
}

#marketplace-extension-info #buy hr {
  border-color: #ddd;
  margin: 10px 0;
}

#marketplace-extension-info #sales {
  color: #4b525d;
}

#marketplace-extension-info #sales i {
  color: #7ec239;
  margin-right: 10px;
  font-size: 24px;
}

#marketplace-extension-info #sales strong {
  font-size: 24px;
}

#marketplace-extension-info #comment {
  color: #4b525d;
}

#marketplace-extension-info #comment i {
  margin-right: 10px;
  font-size: 22px;
}

#marketplace-extension-info #comment strong {
  font-size: 22px;
}

#marketplace-extension-info .reply > div {
  margin-top: 15px;
}

#marketplace-extension-info .well .media {
  line-height: 1.2;
}

#marketplace-extension-info .well .media .media-body {
  padding-top: 6px;
}

#marketplace-extension-info .well .media .media-body span {
  font-size: 24px;
  font-weight: 600;
}

#marketplace-extension-info .well .media .media-body small {
  color: #878f9a;
}

@media screen and (max-width: 992px) {
  #marketplace-extension-info .container-fluid {
    padding-bottom: 30px;
  }
}

.list-check {
  list-style: none;
}

.list-check li::before {
  font-family: "Font Awesome 6 Solid";
  content: "\f00c";
  margin-left: -30px;
  width: 29px;
  display: inline-block;
  color: #7ebd38;
}

.list-check.list-color-blue li::before {
  color: #02afe9;
}

.table-responsive {
  overflow: visible;
}

td {
  position: relative;
  vertical-align: middle;
}

/* Manage mobile app shell - An Yoga brand */
:root {
  --manage-app-width: 430px;
  --manage-app-primary: #9a7b4f;
  --manage-app-primary-dark: #8b5e3c;
  --manage-app-primary-light: #c4a574;
  --manage-app-primary-soft: #f5ede3;
  --manage-app-accent: #7ba05b;
  --manage-app-accent-soft: #eef4e6;
  --manage-app-bg: #faf7f2;
  --manage-app-shell-bg: #ede6dc;
  --manage-app-text: #3e2723;
  --manage-app-muted: #8a7355;
  --manage-app-border: #e8dfd3;
  --manage-app-gradient: linear-gradient(135deg, #a88958 0%, #8f7044 100%);
  --manage-app-gradient-hover: linear-gradient(135deg, #96784d 0%, #7d6238 100%);
  --manage-app-shadow: rgba(61, 45, 28, 0.12);
}

body.app-shell-body {
  background: var(--manage-app-shell-bg);
}

body.app-shell-body #container {
  background: var(--manage-app-bg);
  box-shadow: 0 18px 60px var(--manage-app-shadow);
  margin: 0 auto;
  max-width: var(--manage-app-width);
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

body.app-shell-body .container-fluid {
  padding-left: 14px;
  padding-right: 14px;
}

body.app-shell-body #header.app-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--manage-app-border);
  box-shadow: none;
  min-height: 58px;
  position: sticky;
  top: 0;
}

body.app-shell-body .app-header-inner {
  align-items: center;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  min-height: 58px;
}

body.app-shell-body .app-header-title {
  color: var(--manage-app-text);
  font-size: 17px;
  font-weight: 800;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.app-shell-body .app-header-action {
  align-items: center;
  border-radius: 14px;
  color: var(--manage-app-primary);
  display: inline-flex;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

body.app-shell-body .app-header-action:hover {
  background: var(--manage-app-primary-soft);
  color: var(--manage-app-primary);
}

body.app-shell-body #column-left.app-bottom-shell {
  background: #ffffff;
  border-top: 1px solid var(--manage-app-border);
  border-radius: 22px 22px 0 0;
  bottom: 0;
  box-shadow: 0 -10px 28px var(--manage-app-shadow);
  height: 72px;
  left: 50%;
  max-width: var(--manage-app-width);
  overflow: visible;
  padding: 0 max(10px, env(safe-area-inset-right)) env(safe-area-inset-bottom)
    max(10px, env(safe-area-inset-left));
  position: fixed;
  top: auto;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1020;
}

body.app-shell-body #column-left.app-bottom-shell.active {
  left: 50%;
}

body.app-shell-body #column-left + #content,
body.app-shell-body #column-left + #content + #footer,
body.app-shell-body #column-left.active + #content,
body.app-shell-body #column-left.active + #content + #footer {
  left: 0;
  margin-left: 0;
}

body.app-shell-body #content {
  padding-bottom: 96px;
}

body.app-shell-body #menu.app-bottom-nav,
body.app-shell-body #menu.app-bottom-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.app-shell-body #menu.app-bottom-nav {
  align-items: center;
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: 72px;
  margin: 0;
}

body.app-shell-body #menu.app-bottom-nav > li {
  border: 0;
}

body.app-shell-body #menu.app-bottom-nav > li > a {
  align-items: center;
  border: 0;
  border-radius: 16px;
  color: var(--manage-app-muted);
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 600;
  gap: 5px;
  justify-content: center;
  min-height: 58px;
  padding: 7px 2px;
  text-align: center;
}

body.app-shell-body #menu.app-bottom-nav > li > a:hover {
  background: var(--manage-app-primary-soft);
  color: var(--manage-app-primary);
}

body.app-shell-body #menu.app-bottom-nav > li > a > i {
  font-size: 18px;
  margin: 0;
  width: auto;
}

body.app-shell-body #menu.app-bottom-nav > li.active > a {
  background: transparent;
  color: var(--manage-app-accent);
}

body.app-shell-body #menu.app-bottom-nav > li.active > a > i {
  background: var(--manage-app-accent);
  border-radius: 7px;
  color: #ffffff;
  padding: 4px 6px;
}

body.app-shell-body .page-header {
  border: 0;
  margin: 12px 0;

  padding: 0;
}

body.app-shell-body .page-header h1,
body.app-shell-body .page-header .breadcrumb {
  display: none;
}

body.app-shell-body .page-header .float-end {
  display: flex;
  gap: 8px;
}

body.app-shell-body .card,
body.app-shell-body .btn,
body.app-shell-body .form-control,
body.app-shell-body .form-select {
  border-radius: 14px;
}

body.app-shell-body [id^="filter-"] .card {
  border: 0;
  box-shadow: 0 8px 24px var(--manage-app-shadow);
}

body.app-shell-body [id^="filter-"] .card-header {
  background: #ffffff;
  border-bottom: 1px solid var(--manage-app-border);
  border-radius: 14px 14px 0 0;
  color: var(--manage-app-primary);
  font-weight: 700;
}

body.app-shell-body [id^="filter-"] .card-body {
  padding: 12px;
}

body.app-shell-body form .row.mb-3 {
  --bs-gutter-x: 0;
  display: block;
}

body.app-shell-body form .row.mb-3 > [class*="col-sm-"] {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body.app-shell-body form .row.mb-3 > label,
body.app-shell-body form .form-label,
body.app-shell-body form .col-form-label {
  color: var(--manage-app-text);
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 7px;
  padding-bottom: 0;
  padding-top: 0;
  text-align: left !important;
}

body.app-shell-body form .form-control,
body.app-shell-body form .form-select {
  min-height: 44px;
  width: 100%;
  font-size: 16px;
}

body.app-shell-body form textarea.form-control {
  min-height: 96px;
}

body.app-shell-body .course-weekday-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.app-shell-body .course-weekday-options .form-check {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--manage-app-border);
  border-radius: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0;
  min-height: 44px;
  padding: 8px 6px;
}

body.app-shell-body .course-weekday-options .form-check-input {
  margin: 0;
}

body.app-shell-body .course-weekday-options .form-check-label {
  color: var(--manage-app-text);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

body.app-shell-body form .row.mb-3.course-time-row,
body.app-shell-body form .row.mb-3.course-money-row,
body.app-shell-body form .row.mb-3.tuition-date-row,
body.app-shell-body form .row.mb-3.tuition-summary-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.app-shell-body form .row.mb-3.tuition-summary-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.app-shell-body .course-time-field,
body.app-shell-body .course-money-field,
body.app-shell-body .tuition-date-field,
body.app-shell-body .tuition-summary-field {
  min-width: 0;
  width: 100%;
}

body.app-shell-body .tuition-summary-help {
  grid-column: 1 / -1;
  margin-top: -4px;
}

body.app-shell-body .app-form-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 22px;
  padding-bottom: 8px;
}

body.app-shell-body .app-form-actions .btn {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
}

body.app-shell-body .course-weekday-options .form-check-input:checked + .form-check-label {
  color: var(--manage-app-primary-dark);
}

body.app-shell-body .course-weekday-options .form-check:has(.form-check-input:checked) {
  background: var(--manage-app-primary-soft);
  border-color: var(--manage-app-primary-light);
}

body.app-shell-body .btn-primary,
body.app-shell-body .app-form-actions .btn-primary {
  background: var(--manage-app-gradient);
  border: 0;
  box-shadow: 0 10px 20px rgba(154, 123, 79, 0.22);
}

body.app-shell-body .btn-primary:hover,
body.app-shell-body .btn-primary:focus,
body.app-shell-body .app-form-actions .btn-primary:hover,
body.app-shell-body .app-form-actions .btn-primary:focus {
  background: var(--manage-app-gradient-hover);
  border: 0;
  box-shadow: 0 10px 20px rgba(154, 123, 79, 0.28);
}

body.app-shell-body .btn-success {
  background: var(--manage-app-accent);
  border-color: var(--manage-app-accent);
}

body.app-shell-body .btn-success:hover,
body.app-shell-body .btn-success:focus {
  background: #6a8f4f;
  border-color: #6a8f4f;
}

body.app-shell-body .app-form-actions .btn-light {
  background: #ffffff;
  border: 1px solid var(--manage-app-border);
  color: var(--manage-app-muted);
}

body.app-shell-body #footer {
  color: #a1a7b3;
  font-size: 11px;
  height: auto;
  padding: 0 0 88px;
}

/* Attendance day screen */
.attendance-day-page .page-header .float-end .btn {
  border-radius: 12px;
  height: 38px;
  padding: 7px 11px;
}

.attendance-date-bar {
  align-items: center;
  border-bottom: 1px solid var(--manage-app-border);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  margin: -4px -14px 12px;
  padding: 10px 10px 12px;
}

.attendance-date-arrow {
  align-items: center;
  color: var(--manage-app-muted);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.attendance-date-title {
  align-items: center;
  color: var(--manage-app-text);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
}

.attendance-date-title i {
  color: var(--manage-app-primary);
}

.attendance-date-tabs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 18px;
}

.attendance-date-tab {
  background: #ffffff;
  border: 1px solid var(--manage-app-border);
  border-radius: 12px;
  box-shadow: 0 6px 16px var(--manage-app-shadow);
  color: var(--manage-app-text);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 48px;
  padding: 8px 4px;
  text-align: center;
}

.attendance-date-tab span {
  font-size: 12px;
  font-weight: 800;
}

.attendance-date-tab small {
  color: var(--manage-app-muted);
  font-size: 10px;
  font-weight: 600;
}

.attendance-date-tab.active {
  background: var(--manage-app-gradient);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(154, 123, 79, 0.24);
  color: #ffffff;
}

.attendance-date-tab.active small {
  color: rgba(255, 255, 255, 0.82);
}

.attendance-section-title {
  align-items: center;
  color: var(--manage-app-primary);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  margin-bottom: 10px;
}

.attendance-section-title span {
  color: var(--manage-app-muted);
  font-weight: 600;
}

.attendance-course-list {
  display: grid;
  gap: 12px;
}

.attendance-course-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--manage-app-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px var(--manage-app-shadow);
  color: var(--manage-app-text);
  display: grid;
  gap: 12px;
  grid-template-columns: 58px minmax(0, 1fr) auto 14px;
  padding: 12px;
}

.attendance-course-card:hover {
  color: var(--manage-app-text);
  transform: translateY(-1px);
}

.attendance-course-icon {
  align-items: center;
  border-radius: 16px;
  display: flex;
  font-size: 25px;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.attendance-course-icon-0 {
  background: var(--manage-app-accent-soft);
  color: var(--manage-app-accent);
}

.attendance-course-icon-1 {
  background: var(--manage-app-primary-soft);
  color: var(--manage-app-primary-dark);
}

.attendance-course-icon-2 {
  background: #f8f0e6;
  color: var(--manage-app-primary);
}

.attendance-course-icon-3 {
  background: #fff1e9;
  color: #c66b2e;
}

.attendance-course-icon-4 {
  background: #fff7df;
  color: #a36c0a;
}

.attendance-course-name {
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attendance-course-time {
  color: var(--manage-app-primary);
  font-size: 13px;
  font-weight: 800;
  margin-top: 3px;
}

.attendance-course-meta {
  color: var(--manage-app-muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 3px;
}

.attendance-course-status {
  text-align: right;
}

.attendance-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 6px;
  padding: 3px 9px;
  white-space: nowrap;
}

.attendance-badge.checked {
  background: var(--manage-app-accent-soft);
  color: var(--manage-app-accent);
}

.attendance-badge.unchecked {
  background: #fff6df;
  color: #d38a00;
}

.attendance-course-status strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.attendance-course-status strong.checked {
  color: var(--manage-app-accent);
}

.attendance-course-status strong.unchecked {
  color: #d38a00;
}

.attendance-course-arrow {
  color: #8b93a7;
  font-size: 13px;
}

.attendance-empty {
  background: #ffffff;
  border-radius: 16px;
  color: #6b7280;
  padding: 18px;
  text-align: center;
}

.member-course-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.member-course-badge {
  background: var(--manage-app-primary-soft);
  border-radius: 999px;
  color: var(--manage-app-primary-dark);
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 3px 8px;
  white-space: normal;
  word-break: break-word;
}

.dashboard-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-stat {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 28px var(--manage-app-shadow);
  color: inherit;
  display: block;
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
}

.dashboard-stat strong {
  color: var(--manage-app-text);
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.dashboard-stat span {
  color: var(--manage-app-muted);
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.dashboard-stat-icon {
  align-items: center;
  border-radius: 14px;
  display: inline-flex;
  font-size: 16px;
  height: 40px;
  justify-content: center;
  margin-bottom: 10px;
  width: 40px;
}

.dashboard-stat-course .dashboard-stat-icon {
  background: var(--manage-app-primary-soft);
  color: var(--manage-app-primary-dark);
}

.dashboard-stat-member .dashboard-stat-icon {
  background: var(--manage-app-accent-soft);
  color: var(--manage-app-accent);
}

.dashboard-stat-tuition .dashboard-stat-icon {
  background: #fff6df;
  color: #d38a00;
}

.dashboard-stat-tuition strong {
  font-size: 20px;
}

/* iOS Safari zooms inputs with font-size below 16px on focus */
body.app-shell-body input,
body.app-shell-body select,
body.app-shell-body textarea,
body.app-shell-body .form-control,
body.app-shell-body .form-select,
body.app-shell-body .input-group-text {
  font-size: 16px;
}
