.main-header .navbar-custom-menu .header-icon-link {
  position: relative;
  width: 46px;
  min-width: 46px;
  height: 50px;
  padding: 0;
  box-sizing: border-box;
  line-height: 50px;
  text-align: center;
  color: #8a94a3 !important;
}
.main-header .navbar-custom-menu .header-icon-link > .fa {
  font-size: 17px;
  vertical-align: middle;
}
.main-header .navbar-custom-menu .header-icon-link:after {
  position: absolute;
  z-index: 1200;
  top: 43px;
  left: 50%;
  padding: 5px 8px;
  border-radius: 4px;
  color: #fff;
  background: rgba(37, 48, 67, 0.92);
  content: attr(data-tip);
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.main-header .navbar-custom-menu .header-icon-link:hover:after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.main-header .navbar-custom-menu .open > .header-icon-link:after {
  display: none;
}
.main-header .navbar-custom-menu .header-feedback-menu > .header-icon-link,
.main-header .navbar-custom-menu .header-warning-menu > .header-icon-link,
.main-header .navbar-custom-menu .header-cache-menu > .header-icon-link,
.main-header .navbar-custom-menu .header-fullscreen-menu > .header-icon-link {
  color: #fff !important;
}
.header-account-avatar {
  width: 28px;
  height: 28px;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-sizing: border-box;
  object-fit: contain;
  vertical-align: middle;
}
.problem-feedback-layer {
  overflow: hidden;
  border-radius: 10px !important;
  box-shadow: 0 18px 48px rgba(27, 41, 61, 0.2) !important;
}
.problem-feedback-layer .layui-layer-content {
  max-height: calc(100vh - 24px);
  overflow: hidden !important;
}
.layui-layer.problem-feedback-layer .layui-layer-setwin .layui-layer-close2,
.layui-layer.problem-feedback-layer .layui-layer-setwin .layui-layer-close2:hover {
  top: 0 !important;
  right: 0 !important;
  display: block;
  width: 30px;
  height: 30px;
  color: #7b8798;
  background: none !important;
  font-size: 0;
  line-height: 30px;
  text-align: center;
}
.layui-layer.problem-feedback-layer .layui-layer-setwin .layui-layer-close2:before,
.layui-layer.problem-feedback-layer .layui-layer-setwin .layui-layer-close2:hover:before {
  display: block;
  content: "\f00d";
  font-family: FontAwesome;
  font-size: 18px;
  font-weight: normal;
}
.problem-feedback-dialog {
  display: none;
  max-height: calc(100vh - 24px);
  padding: 0;
  overflow: hidden;
  color: #4f5d71;
  background: #fff;
  box-sizing: border-box;
}
.problem-feedback-dialog form {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 24px);
}
.problem-feedback-dialog.problem-feedback-dialog-open,
.problem-feedback-dialog.problem-feedback-dialog-open form {
  height: 100%;
}
.problem-feedback-heading {
  display: flex;
  align-items: flex-start;
  padding: 26px 58px 18px 30px;
  margin-bottom: 0;
  flex: none;
}
.problem-feedback-heading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 13px;
  border-radius: 10px;
  color: #12b76a;
  background: #eafaf2;
  font-size: 19px;
  flex: none;
}
.problem-feedback-heading h3 {
  margin: 0 0 7px;
  color: #263348;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}
.problem-feedback-heading p {
  margin: 0;
  color: #7b8798;
  font-size: 13px;
  line-height: 21px;
}
.problem-feedback-body {
  min-height: 0;
  padding: 0 30px 10px;
  overflow-y: auto;
  box-sizing: border-box;
  flex: 1 1 auto;
}
.problem-feedback-body > .problem-feedback-field:first-child {
  margin-top: 0;
}
.problem-feedback-field {
  margin-top: 13px;
}
.problem-feedback-field label {
  display: block;
  margin: 0 0 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}
.problem-feedback-field label em {
  margin-right: 3px;
  color: #f04438;
  font-style: normal;
}
.problem-feedback-field label small {
  margin-left: 4px;
  color: #a0a9b8;
  font-size: 11px;
  font-weight: normal;
}
.problem-feedback-field input,
.problem-feedback-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #dce3eb;
  border-radius: 6px;
  outline: none;
  color: #263348;
  background: #fff;
  font-size: 13px;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.problem-feedback-field input {
  height: 40px;
  padding: 0 12px;
}
.problem-feedback-field textarea {
  height: 106px;
  padding: 10px 12px 27px;
  line-height: 21px;
  resize: none;
}
.problem-feedback-field input:focus,
.problem-feedback-field textarea:focus {
  border-color: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.1);
}
.problem-feedback-field.has-error input,
.problem-feedback-field.has-error textarea {
  border-color: #f04438;
}
.problem-feedback-textarea-wrap {
  position: relative;
}
.problem-feedback-counter {
  position: absolute;
  right: 11px;
  bottom: 7px;
  color: #a3adba;
  font-size: 11px;
  line-height: 16px;
}
.problem-feedback-counter b {
  color: #7b8798;
  font-weight: normal;
}
.problem-feedback-help {
  margin: 5px 0 0;
  color: #9aa5b5;
  font-size: 11px;
  line-height: 17px;
}
.problem-feedback-upload-row {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: #9aa5b5;
  font-size: 11px;
  line-height: 18px;
}
.problem-feedback-upload-row .problem-feedback-upload-button {
  min-width: 104px;
  height: 34px;
  margin-right: 10px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #12b76a;
  font-size: 12px;
  line-height: 34px;
}
.problem-feedback-upload-row .problem-feedback-upload-button:disabled {
  background: #8bd9b5;
}
.problem-feedback-image-count {
  margin-left: auto;
  color: #7b8798;
  font-weight: normal;
}
.problem-feedback-images-preview {
  margin: 10px -5px 0;
}
.problem-feedback-images-preview > li {
  width: 20%;
  margin: 0 0 10px;
  padding: 0 5px;
}
.problem-feedback-images-preview > li > a.thumbnail {
  height: 76px;
  margin: 0;
  padding: 2px;
  border-color: #dce3eb;
  border-radius: 6px;
}
.problem-feedback-images-preview .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.problem-feedback-error {
  display: none;
  margin-top: 4px;
  color: #f04438;
  font-size: 11px;
  line-height: 17px;
}
.problem-feedback-field.has-error .problem-feedback-error {
  display: block;
}
.problem-feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 30px 20px;
  margin-top: 0;
  border-top: 1px solid #eef1f5;
  background: #fff;
  flex: none;
}
.problem-feedback-actions button {
  min-width: 92px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid #d6dde6;
  border-radius: 6px;
  outline: none;
  color: #536078;
  background: #fff;
  font-size: 13px;
  line-height: 36px;
}
.problem-feedback-actions .problem-feedback-submit {
  border-color: #12b76a;
  color: #fff;
  background: #12b76a;
}
.problem-feedback-actions .problem-feedback-submit:hover {
  border-color: #0fa45f;
  background: #0fa45f;
}
.problem-feedback-actions .problem-feedback-submit:disabled {
  border-color: #8bd9b5;
  background: #8bd9b5;
  cursor: not-allowed;
}
@media (max-width: 600px) {
  .problem-feedback-heading-icon {
    display: none;
  }
  .problem-feedback-heading {
    padding: 22px 48px 16px 20px;
  }
  .problem-feedback-body {
    padding: 0 20px 8px;
  }
  .problem-feedback-actions {
    padding: 14px 20px 20px;
  }
  .problem-feedback-upload-row > span {
    display: none;
  }
  .problem-feedback-images-preview > li {
    width: 33.333333%;
  }
}
.header-warning-badge {
  position: absolute;
  top: 7px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 9px;
  color: #fff;
  background: #f04438;
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
  text-align: center;
}
.main-header .navbar .header-warning-dropdown {
  right: 0;
  left: auto;
  width: 380px;
  max-height: calc(100vh - 68px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #e6ebf1;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(35, 48, 68, 0.15);
}
.header-warning-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid #edf1f5;
  color: #263348;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}
.header-warning-title small {
  color: #9aa5b5;
  font-size: 12px;
  font-weight: normal;
}
.header-warning-section + .header-warning-section {
  border-top: 8px solid #f5f7fa;
}
.header-warning-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 16px;
  color: #536078;
  font-size: 13px;
  font-weight: 600;
}
.header-warning-section-title .fa {
  width: 18px;
  color: #7d899b;
}
.header-warning-section-title small {
  color: #a1aaba;
  font-size: 12px;
  font-weight: normal;
}
.header-warning-list {
  padding: 0 12px;
}
.header-warning-item {
  display: flex;
  align-items: flex-start;
  min-height: 58px;
  padding: 9px 4px;
  border-top: 1px solid #f0f3f6;
}
.header-warning-dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin: 6px 10px 0 1px;
  border-radius: 50%;
  background: #f59e0b;
}
.header-warning-dot.school {
  background: #ef5350;
}
.header-warning-item-body {
  min-width: 0;
  flex: 1;
}
.header-warning-item-name {
  overflow: hidden;
  color: #39465a;
  font-size: 13px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-warning-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  color: #9ba6b5;
  font-size: 11px;
  line-height: 18px;
}
.header-warning-item-meta span {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-warning-item-meta time {
  margin-left: 10px;
  flex: none;
}
.header-warning-empty {
  padding: 18px 0 20px;
  color: #a7b0be;
  font-size: 12px;
  text-align: center;
}
.main-header .navbar .dropdown-menu > li > .header-warning-more {
  display: block;
  padding: 8px 16px 10px;
  color: #6d7a8e;
  font-size: 12px;
  text-align: right;
}
@media (max-width: 480px) {
  .main-header .navbar .header-warning-dropdown {
    position: fixed;
    top: 50px;
    right: 8px;
    width: calc(100vw - 16px);
  }
  .main-header .navbar-custom-menu .header-icon-link {
    min-width: 42px;
    padding-right: 11px;
    padding-left: 11px;
  }
}
