@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.main-login {
  background: url(../images/bg_login.png) no-repeat;
  height: 100vh;
  background-position: 50%;
  display: flex;
  align-items: center;
}

.box-login_inner {
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  width: 100%;
  max-width: 50%;
  margin: auto;
}

.login-heading {
  text-transform: uppercase;
  color: #473bf0;
  font-weight: bold;
}

label {
  font-weight: 600;
}

.btn-login button {
  background-color: #473bf0;
  color: #fff;
  padding: 6px 50px;
  font-weight: bold;
  letter-spacing: 1.5px;
  font-size: 14px;
}

.btn-login button:hover {
  color: #000;
  background-color: #fff;
  border: 1px solid #473bf0;
}

.element-icon-inner {
  width: auto;
  height: auto;
}

.icon-1 {
  left: 10%;
  top: -52px;
  animation: uicoreFloat 1s ease infinite alternate !important;
}

.icon-2 {
  left: 14%;
  top: -10px;
  animation: pulse 1s infinite ease-in-out alternate;
}

.icon-3 {
  right: 15%;
  top: 50px;
  animation: bounce2 2s ease infinite;
}

.icon-4 {
  right: 30%;
  bottom: -600px;
  animation: pulse 1s infinite ease-in-out alternate;
}

.icon-5 {
  right: 10%;
  bottom: -400px;
  animation: uicoreFloat 1s ease infinite alternate !important;
}

.icon-6 {
  left: 15%;
  bottom: -450px;
  animation: bounce2 2s ease infinite;
}

@keyframes uicoreFloat {
  0% {
    transform: translateZ(0);
  }

  to {
    transform: translate3d(0, -10%, 0);
  }
}

@keyframes pulse {
  from {
    transform: scale(0.8);
  }

  to {
    transform: scale(1.2);
  }
}

@keyframes bounce2 {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

/* main */

.section_box {
  margin: 50px 30px 100px 30px;
}

.main-index {
  padding: 30px;
  background: rgb(176, 139, 208);
  background: linear-gradient(
    0deg,
    rgba(176, 139, 208, 1) 0%,
    rgba(143, 113, 228, 1) 50%,
    rgba(128, 101, 238, 1) 100%
  );
}

.logo a img {
  background-color: #fff;
}

.logo img {
  width: 225px;
}

button.btn-status-inner {
  margin-bottom: 15px;
  width: 100%;
  padding: 15px 15px;
  color: #fff;
  border-radius: 10px;
  text-transform: uppercase;
}

.btn-status-01 {
  background-color: #ff0000;
}

.btn-status-02 {
  background-color: #ff9900;
}

.btn-status-03 {
  background-color: #000;
}

.btn-status .badge {
  background-color: #fff;
  color: #000;
  padding: 7px 9px;
}

.btn-status button:hover {
  background-color: #fff;
}

.btn-status .btn-status-01:hover .badge {
  background-color: #ff0000;
  color: #fff;
}

.btn-status .btn-status-02:hover .badge {
  background-color: #ff9900;
  color: #fff;
}

.btn-status .btn-status-03:hover .badge {
  background-color: #000;
  color: #fff;
}

.offcanvas-header {
  background-color: #9e7ddb;
  color: #fff;
  padding: 30px 20px;
  text-transform: uppercase;
}

.offcanvas-header h3 {
  letter-spacing: 1.5px;
}

.icon-modal h6 {
  font-size: 12px;
}

.icon-department {
  color: #9e7ddb;
  font-size: 10px;
  margin-bottom: 0;
}

.offcanvas-start {
  width: 450px;
}

.board-alart {
  margin-bottom: 10px;
}

.board-alart .list-group-item:first-child {
  padding-top: 10px;
}

.board-alart .list-group-item:last-child {
  padding-bottom: 10px;
}

.board-alart ul li {
  font-weight: 600;
  padding: 5px 10px;
  border: none;
  font-size: 12px;
}

.board-alart .badge {
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 0;
}

.badge-vailable {
  background-color: #0050b9;
}

.badge-not_vailable {
  background-color: #b90000;
}

.news-board {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
}

.heading-n {
  margin-bottom: 15px;
}

.heading-n p {
  background-color: #9e7ddb;
  color: #fff;
  display: inline-block;
  padding: 5px 15px;
  font-weight: 600;
  margin: 0;
}

.text-link {
  color: #000;
  text-decoration: none;
}

.subject-inner {
  background-color: #f6f6f6;
  padding: 10px 20px;
  margin-bottom: 15px;
}

.subject-inner:last-child {
  margin: 0;
}

.subject-inner a {
  color: #000;
  text-decoration: none;
  font-size: 12px;
}

.subject-inner a:hover {
  color: #9e7ddb;
}

.time-zone h1,
.time-other h3 {
  font-family: "DS-Digital", sans-serif;
  font-weight: bolder;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.time-box-inner {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
}

.time-bangkok {
  background-color: #f6f6f6;
  height: 100%;
}

.date h3 {
  font-weight: 900;
  color: #000;
}

.time-bangkok .time-zone h1 {
  background-color: #000;
  color: #fff;
}

.time-other .time-zone-o h3 {
  background-color: #f6f6f6;
  color: #000;
  margin-bottom: 0;
}

.country-name p {
  font-size: 16px;
  font-weight: 600;
}

.time-other .country-name p {
  margin-bottom: 0;
  font-size: 14px;
  margin-top: 15px;
}

.btn-show_meet {
  top: 160px;
  text-align: right;
}

.btn-show_meet-inner button {
  border-radius: 50%;
  color: #000;
  background-color: #fff;
  border: 5px solid #c0aae9;
  font-size: 12px;
  font-weight: 600;
  padding: 25px 20px;
}

.btn-show_meet-inner .badge {
  background-color: #b90000;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 9px 0;
  left: 85%;
  font-size: 12px;
  font-weight: normal;
}

.btn-show_meet-inner button:hover,
.btn-show_meet-inner button:focus,
.btn-show_meet-inner button:active {
  background-color: #fff;
  border: 5px solid #9e7ddb;
  color: #000;
  outline: none;
  box-shadow: none;
}

.modal-header {
  border: none;
}

.modal-heading h3 {
  font-weight: 800;
}

.section-meeting {
  background-color: #f2f2f2;
  padding: 10px;
  margin-bottom: 15px;
}

.section-heading {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.block-meeting h6 {
  font-size: 12px;
}

.box-gm_pre {
  position: relative;
  margin: 100px 0 0 0;
}

.block_inner-gm-pre {
  position: relative;
}

.block-gm-pre {
  height: 300px;
  background: url(../images/floor-pre.png) no-repeat;
  background-size: 100% 100%;
}

.gm-m {
  position: absolute;
  left: 30%;
}

.popover-wrap {
  margin-bottom: 15px;
  position: absolute;
  display: grid;
  top: -50px;
  width: 100%;
}

.popover-wrap .popover-target {
  position: relative;
  display: inline-block;
  text-align: center;
  cursor: default;
  padding: 5px 10px;
  background-color: #fff;
  color: #000;
  font-weight: 600;
  border-radius: 5px;
  z-index: 99;
}

.popover-wrap .popover-target .custom-popover {
  position: absolute;
  display: none;
  background-color: #fff;
  border-radius: 6px;
  bottom: 0;
  right: 0;
  padding: 15px;
  font-size: 14px;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  color: #000;
  z-index: 999;
}

.custom-popover h6 {
  font-weight: 600;
  font-size: 14px;
}

.custom-popover p.department_name {
  font-weight: normal;
  font-size: 12px;
}

.name_detail {
  font-weight: normal;
  font-size: 13px;
}

.position-name {
  color: #9e7ddb;
}

.name_detail a i,
.name_detail i {
  color: #000;
  vertical-align: baseline;
}

.name_detail a:hover i {
  color: #9e7ddb;
}

.email,
.email i {
  color: #473bf0 !important;
  font-size: 14px;
  vertical-align: middle;
}

.gap-3 {
  gap: 5px !important;
}

.popover-wrap .popover-target:hover .custom-popover {
  display: block;
  -webkit-animation: fade-out 0.3s linear 0, move-down 0.2s linear 0;
  -moz-animation: fade-out 0.3s linear 0, move-down 0.2s linear 0;
  -ms-animation: fade-out 0.3s linear 0, move-down 0.2s linear 0;
}

.popover-wrap .popover-target .hca-btn--tooltip-bottom:hover {
  background: #314964;
}

@-webkit-keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-ms-keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@-moz-keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@-ms-keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@-webkit-keyframes move-up {
  from {
    bottom: 18px;
  }

  to {
    bottom: 0;
  }
}

@-moz-keyframes move-up {
  from {
    bottom: 18px;
  }

  to {
    bottom: 0;
  }
}

@-ms-keyframes move-up {
  from {
    bottom: 18px;
  }

  to {
    bottom: 0;
  }
}

@-webkit-keyframes move-down {
  from {
    bottom: 0;
  }

  to {
    bottom: 18px;
  }
}

@-moz-keyframes move-down {
  from {
    bottom: 0;
  }

  to {
    bottom: 18px;
  }
}

@-ms-keyframes move-down {
  from {
    bottom: 0;
  }

  to {
    bottom: 18px;
  }
}

.emoji {
  right: -10px;
  bottom: -8px;
  z-index: 99;
}

.block-gm {
  background: url(../images/floor-gm.png) no-repeat;
  background-size: contain;
  background-position: 50% 50%;
}

.block_inner-gm,
.modal-staff {
  position: relative;
}

.modal-img_gm {
  position: relative;
}

.block-floor-6 {
  width: 540px;
  height: 320px;
  background: url(../images/floor-6.png) no-repeat;
}

.block-staff {
  background: url(../images/floor-6.png) no-repeat;
  background-size: 100% 90%;
  background-position: 50% 50%;
}

.modal-img_staff {
  position: relative;
}

.heading-dep {
  color: #fff;
}

.line-top {
  border-left: 5px solid #fff;
  position: relative;
  margin: 0 25px 0 25px;
  padding-left: 25px;
  padding-bottom: 10px;
}

.line-top h2,
.line-right h2 {
  font-size: 24px;
  line-height: 1.5;
}

.line-right {
  border-right: 5px solid #fff;
  position: relative;
  margin: 0 25px 0 25px;
  padding-right: 25px;
}

.line-right::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  right: -13px;
  top: 0;
}

.line-top::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  left: -13px;
  top: 0;
}

.block-lic {
  background: url(../images/floor-pre.png) no-repeat;
  background-size: 100% 100%;
  height: auto;
}

footer {
  background-color: #8065ee;
  padding: 10px 0;
  color: #fff;
  font-weight: 600;
}

.board {
  position: relative;
}

.board-inner {
  background: url(../images/blackboard.png) no-repeat;
  width: 183px;
  height: 207px;
  background-size: 100%;
  position: absolute;
  right: 12%;
  bottom: 115px;
}

.board_text {
  color: #fff;
  margin-top: 40px;
}

.board_text a {
  background-color: #f2f2f2;
  padding: 2px 7px;
  margin: 5px 5px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}

.modal-img_staff {
  width: 90px;
  height: 215px;
}

.modal-img_gm {
  width: 145px;
  height: 215px;
}

.btn-back-dash {
  position: relative;
}

.btn-back-dash_inner {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  background-color: #000;
  color: #fff;
  padding: 15px 10px 15px 30px;
  text-align: left;
  width: 90%;
  margin: 0 auto;
  border-radius: 25px;
  border: 1.5px solid #473bf0;
  box-shadow: 0px 1px 6px 0px rgba(71, 59, 240, 0.75);
  -webkit-box-shadow: 0px 1px 6px 0px rgba(71, 59, 240, 0.75);
  -moz-box-shadow: 0px 1px 6px 0px rgba(71, 59, 240, 0.75);
  z-index: 9999;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1.2px;
}

.arrow-left {
  position: relative;
}

.arrow-left i {
  position: absolute;
  right: -6px;
  top: -11px;
  vertical-align: middle;
  background-color: #f6f6f6;
  color: #473bf0;
  padding: 12px;
  border-radius: 50%;
  font-weight: bolder;
  font-size: 20px;
}

.btn-back-pc {
  position: relative;
}

a.home-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ff9900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.home-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 0, 255, 0.6);
}

a.home-button i {
  font-size: 20px;
  color: #fff;
  transition: transform 0.3s ease;
}

a.home-button:hover i {
  transform: scale(1.2) rotate(-5deg);
}

/* Tooltip */
.home-button .tooltip {
  position: absolute;
  bottom: 110%;
  background-color: #333;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

a.home-button:hover .tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* .modal-img_gm .popover-wrap {
  width: auto;
} */

.mt-10 {
  margin-top: 100px;
}

.mt-11 {
  margin-top: 130px;
}
.line-bottom {
  position: relative;
}

.line-bottom {
  border-left: 5px solid #fff;
  width: 5px;
  height: 100px;
  padding: 0;
  margin: -10px 0 0 90px;
  z-index: 0;
}

.mt_90 {
  margin-top: -50px;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

.toast i {
  color: #8065ee;
}

.email a i {
  color: #473bf0 !important;
}
