.gg-check {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs, 1));
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: 100px;
}
.gg-check::after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  left: 3px;
  top: -1px;
  width: 6px;
  height: 10px;
  border-width: 0 2px 2px 0;
  border-style: solid;
  transform-origin: bottom left;
  transform: rotate(45deg);
}

.custom-template {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: -325px;
  width: 325px;
  height: max-content;
  display: block;
  z-index: 1;
  background: #ffffff;
  transition: all 0.3s;
  z-index: 1003;
  box-shadow: -1px 1px 20px rgba(69, 65, 78, 0.15);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  transition: all 0.5s;
}
.custom-template.open {
  right: 0px;
}
.custom-template .custom-toggle {
  position: absolute;
  width: 45px;
  height: 45px;
  background: #87cefa;
  top: 50%;
  left: -45px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  /*border-right: 1px solid #177dff;*/
  cursor: pointer;
  color: #ffffff;
  box-shadow: -5px 5px 20px rgba(69, 65, 78, 0.21);
}
.custom-template .custom-toggle i {
  font-size: 20px;
  animation: 1.3s spin linear infinite;
}
.custom-template .title {
  padding: 15px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border-top-left-radius: 5px;
  border-bottom: 1px solid #ebedf2;
  background: #87cefa;
}
.custom-template .custom-content {
  padding: 20px 15px;
  max-height: calc(100vh - 90px);
  overflow: auto;
}
.custom-template .switcher {
  padding: 5px 0;
}
.custom-template .switch-block h4 {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  line-height: 1.3;
  margin-bottom: 0;
  text-transform: uppercase;
}
.custom-template .btnSwitch {
  margin-top: 20px;
  margin-bottom: 25px;
}
.custom-template .btnSwitch button {
  border: 0px;
  height: 22px;
  width: 22px;
  outline: 0;
  margin-right: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #ededed;
  position: relative;
  transition: all 0.2s;
}
.custom-template .btnSwitch button:hover {
  border-color: #0bf;
}
.custom-template .btnSwitch button.selected {
  border-color: #0bf;
  display: inline-flex;
  align-items: center;
}
.custom-template
  .btnSwitch
  button:not(
    [data-color="white"],
    [data-color="bg1"],
    [data-color="bg2"],
    [data-color="bg3"]
  )
  .gg-check:after {
  border-color: #fff;
}
.custom-template .img-pick {
  padding: 4px;
  min-height: 100px;
  border-radius: 5px;
  cursor: pointer;
}
.custom-template .img-pick img {
  height: 100%;
  height: 100px;
  width: 100%;
  border-radius: 5px;
  border: 2px solid transparent;
}
.custom-template .img-pick:hover img,
.custom-template .img-pick.active img {
  border-color: #177dff;
}

.demo .btn,
.demo .progress {
  margin-bottom: 15px !important;
}
.demo .form-check-label,
.demo .form-radio-label,
.demo .toggle,
.demo .btn-group {
  margin-right: 15px;
}
.demo #slider {
  margin-bottom: 15px;
}

.table-typo tbody > tr > td {
  border-color: #fafafa;
}
.table-typo tbody > tr > td:first-child {
  min-width: 200px;
  vertical-align: bottom;
}
.table-typo tbody > tr > td:first-child p {
  font-size: 14px;
  color: #333;
}

.demo-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  transition: all 0.2s;
}
.demo-icon:hover {
  background-color: #f4f5f8;
  border-radius: 3px;
}
.demo-icon .icon-preview {
  font-size: 1.8rem;
  margin-right: 10px;
  line-height: 1;
  color: #333439;
}

body[data-background-color="dark"] .demo-icon .icon-preview {
  color: #969696;
}

.demo-icon .icon-class {
  font-weight: 300;
  font-size: 13px;
  color: #777;
}

body[data-background-color="dark"] .demo-icon .icon-class {
  color: #a9a8a8;
}

.form-show-notify .form-control {
  margin-bottom: 15px;
}
.form-show-notify label {
  padding-top: 0.65rem;
}

.map-demo {
  height: 300px;
}

#instructions li {
  padding: 5px 0;
}

.row-demo-grid {
  margin-bottom: 15px;
}
.row-demo-grid [class^="col"] {
  text-align: center;
}
.row-demo-grid [class^="col"] .card-body {
  background: #ddd;
}

.btnSwitch button[data-color="white"] {
  background-color: #fff;
}
.btnSwitch button[data-color="grey"] {
  background-color: #f1f1f1;
}
.btnSwitch button[data-color="black"] {
  background-color: #191919;
}
.btnSwitch button[data-color="dark"] {
  background-color: #1a2035;
}
.btnSwitch button[data-color="blue"] {
  background-color: #1572e8;
}
.btnSwitch button[data-color="purple"] {
  background-color: #6861ce;
}
.btnSwitch button[data-color="light-blue"] {
  background-color: #48abf7;
}
.btnSwitch button[data-color="green"] {
  background-color: #31ce36;
}
.btnSwitch button[data-color="orange"] {
  background-color: #ffad46;
}
.btnSwitch button[data-color="red"] {
  background-color: #f25961;
}
.btnSwitch button[data-color="dark2"] {
  background-color: #1f283e;
}
.btnSwitch button[data-color="blue2"] {
  background-color: #1269db;
}
.btnSwitch button[data-color="purple2"] {
  background-color: #5c55bf;
}
.btnSwitch button[data-color="light-blue2"] {
  background-color: #3697e1;
}
.btnSwitch button[data-color="green2"] {
  background-color: #2bb930;
}
.btnSwitch button[data-color="orange2"] {
  background-color: #ff9e27;
}
.btnSwitch button[data-color="red2"] {
  background-color: #ea4d56;
}
.btnSwitch button[data-color="bg1"] {
  background-color: #fafafa;
}
.btnSwitch button[data-color="bg2"] {
  background-color: #fff;
}
.btnSwitch button[data-color="bg3"] {
  background-color: #f1f1f1;
}

#modalShowcase .btn-close {
  background: #ff0000;
  opacity: 0.7;
  display: flex;
}
#modalShowcase .btn-close svg {
  fill: #fff;
  width: 16px;
  height: 16px;
}
#modalShowcase .preview-showcase {
  background: #f1f1f4;
  border-radius: 8px;
  padding: 24px 32px;
  padding-bottom: 0;
  padding-right: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
#modalShowcase .preview-showcase:hover {
  transform: translateY(-2.5%);
  background: #e9f6f9;
}
#modalShowcase .preview-title {
  color: #071437;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 22.75px;
}
#modalShowcase .preview-img {
  width: 100% !important;
  height: auto;
  object-fit: cover;
  transition: all 0.3s ease;
}

#checkOutMoreDemos {
  display: flex;
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: #fff;
  color: #252f4a;
  font-weight: 600;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 70px;
  font-size: 12px;
  box-shadow: -5px 5px 20px rgba(69, 65, 78, 0.21);
}
#checkOutMoreDemos i {
  width: 23px;
  height: 23px;
  font-size: 16px;
  margin-bottom: 0.5rem !important;
  padding-top: 0.25rem !important;
}
#checkOutMoreDemos:hover {
  background: #1e2129;
  color: #fff;
  opacity: 1;
  transition: color 0.2s ease;
}

@media screen and (max-width: 1200px) {
  #modalShowcase .modal-dialog {
    padding: 3rem !important;
  }
}
@media screen and (max-width: 550px) {
  .table-typo tr td {
    display: flex;
    align-items: center;
    word-break: break-word;
  }
  .table-typo tr td:first-child p {
    margin-bottom: 0px;
  }

  #modalShowcase .modal-dialog {
    padding: 32px !important;
  }
  #modalShowcase h3 {
    font-size: 16px;
  }
  #modalShowcase .preview-showcase {
    padding: 24px;
    padding-right: 0;
    padding-bottom: 0;
  }
}
@media screen and (max-width: 576px) {
  .custom-template .custom-content {
    overflow: auto;
  }

  .form-show-notify > .text-right,
  .form-show-validation > .text-right {
    text-align: left !important;
  }
}
@media screen and (max-width: 400px) {
  .custom-template {
    width: 85% !important;
    right: -85%;
  }
}

/* Custom Pastel Green Theme */
.logo-header[data-background-color="pastel-green"] {
  background: #569263 !important;
}
.navbar-header[data-background-color="pastel-green"],
.sidebar[data-background-color="pastel-green"] {
  background: #66a174 !important;
}
.sidebar[data-background-color="pastel-green"] .user {
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.sidebar[data-background-color="pastel-green"] .user .info a > span {
  color: #fff;
}
.sidebar[data-background-color="pastel-green"]
  .user
  .info
  a
  > span
  .user-level {
  color: #e5e5e5;
}
.sidebar[data-background-color="pastel-green"] .nav > .nav-item.active > a p,
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item.active
  a:hover
  p,
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item.active
  a:focus
  p {
  color: #fff !important;
}

/* Custom Pastel Text Colors */
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item
  a
  i.text-pastel-pink {
  color: #f87090 !important;
}
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item
  a
  i.text-pastel-yellow {
  color: #f5e982 !important;
}
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item
  a
  i.text-pastel-blue {
  color: #50bafc !important;
}
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item
  a
  i.text-pastel-purple {
  color: #6d6df5 !important;
}
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item
  a
  i.text-pastel-orange {
  color: #f7aa67 !important;
}
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item
  a
  i.text-pastel-green {
  color: #5fda5f !important;
}

.sidebar[data-background-color="pastel-green"] .nav > .nav-item a p,
.sidebar[data-background-color="pastel-green"] .nav > .nav-item a i,
.sidebar[data-background-color="pastel-green"] .nav > .nav-item a .caret,
.sidebar[data-background-color="pastel-green"] .nav > .nav-item a span,
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-section
  .text-section {
  color: #ffffff !important;
  opacity: 0.85;
  font-weight: 500;
}
.sidebar[data-background-color="pastel-green"] .nav > .nav-item a:hover p,
.sidebar[data-background-color="pastel-green"] .nav > .nav-item a:hover i,
.sidebar[data-background-color="pastel-green"] .nav > .nav-item a:focus p,
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item
  a[data-bs-toggle="collapse"][aria-expanded="true"]
  p,
.sidebar[data-background-color="pastel-green"]
  .nav
  > .nav-item
  a[data-bs-toggle="collapse"][aria-expanded="true"]
  i {
  color: #ffffff !important;
  opacity: 1;
  font-weight: 600;
}
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a:hover,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a:focus,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a[data-bs-toggle="collapse"][aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a
  p,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a
  i,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a
  .caret,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a:hover
  p,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a:hover
  i,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a:hover
  .caret,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a:focus
  p,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a:focus
  i,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a:focus
  .caret,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a[data-bs-toggle="collapse"][aria-expanded="true"]
  p,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a[data-bs-toggle="collapse"][aria-expanded="true"]
  i,
.sidebar[data-background-color="pastel-green"].sidebar-style-2
  .nav
  .nav-item.active
  > a[data-bs-toggle="collapse"][aria-expanded="true"]
  .caret {
  color: #fff !important;
  opacity: 1;
}

@font-face {
  font-family: "Google Sans";
  src: url("../../fonts/Google_Sans/static/GoogleSans-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Google Sans";
  src: url("../../fonts/Google_Sans/static/GoogleSans-Bold.ttf")
    format("truetype");
  font-weight: bold;
  font-style: normal;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
div,
span,
a,
input,
button,
select,
textarea,
table,
td,
th,
text,
tspan,
.swal-modal,
.swal-title,
.swal-text,
.swal-button,
.swal2-popup,
.swal2-title,
.swal2-content,
.swal2-html-container,
.ui-widget {
  font-family: "Google Sans", sans-serif !important;
}

/* Custom Profile Dropdown Background */
#Profile-item {
  background-color: #c1f7d8 !important; /* สีเขียวอ่อน */
}
#Profile-item .dropdown-item:hover {
  background-color: #8bf1a3 !important; /* สีเขียวตอน hover */
}

/*# sourceMappingURL=demo.css.map */
