body{
  margin: auto;
}

#particles-js{
  /* animation-name: "opacity";
  animation-duration: 3000ms; */
  transition-property: all;
  transition-duration: 2000ms;
  transition-timing-function: ease-in;
}

[class*="flex"] {
    display: flex;
    flex-wrap: nowrap;
}
[class*="-gap-10"]{--grid-gap: 10px;--grid-prosentase:10px;--grid-rulers:-5px}
[class*="-gap"]{grid-gap: var(--grid-gap);}

#animation-panel{
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  position: absolute;
  z-index:1;
  transform:scale(.5);
  animation-name: "things-shape-container";
  animation-duration: 1000ms;
  -webkit-transform:scale(.5);
  -webkit-animation-name: "things-shape-container";
  -webkit-animation-duration: 1000ms;
}

.clnstr-ss-container{
  position:absolute;
  z-index:1;
  width: 100vw;
  height: 100vh;
  top:0px;
  overflow:hidden;
}

@keyframes opacity {
  0{
    opacity: 0;
  }
  100{
    opacity: 1;
  }
}

@keyframes floatup {
  0%{
    transform: translate(-50%,-50%) scale(0);
    -webkit-transform: translate(-50%,-50%) scale(0);
    top: 60%;
    opacity: 0;
  }
  10{
    transform: translate(-50%,-50%) scale(1.2);
    -webkit-transform: translate(-50%,-50%) scale(1.2);
  }
  100{
    transform: translate(-50%,-50%) scale(.5);
    -webkit-transform: translate(-50%,-50%) scale(.5);
    top: 50%;
    opacity: 1;
  }
}

@keyframes things-shape {
  0%{
    transform: scale(0);
    -webkit-transform: scale(0);
    stroke-width: 30px;
    border-radius: 50%;
  }
  10%{
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    stroke-width: 20px;
    border-radius: 50%;
  }
  60%{
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    stroke-width: 20px;
  }
  100{
    transform: scale(0);
    -webkit-transform: scale(0);
  }
}

@keyframes things-shape-container {
  0%{
    transform: scale(0) rotate(360deg);
    -webkit-transform: scale(0) rotate(360deg);
  }
  80{
    transform: scale(1) rotate(180deg);
    -webkit-transform: scale(1) rotate(180deg);
  }
  100{
    transform: scale(0) rotate(0deg);
    -webkit-transform: scale(0) rotate(0deg);
  }
}

#animation-panel div,
#animation-panel svg{
  display: block;
  position: absolute;
}

#animation-panel svg .clnstr-shape{
  /* fill: rgba(0,0,0,0); */
  transform:scale(0);
  animation-name: "things-shape";
  animation-duration: 1500ms;
  -webkit-transform:scale(0);
  -webkit-animation-name: "things-shape";
  -webkit-animation-duration: 1500ms;
}

/* #toast{
  z-index: 9999999;
  width: 300px;
  max-height: calc(100vh - 40px);
  word-wrap: normal;
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: grid;
  overflow-x: hidden;
  overflow-y: auto;
}

#toast > toast.info{
  border-left: 10px solid rgb(136, 179, 252);
}

#toast > toast.success{
  border-left: 10px solid rgb(46, 164, 61);
}

#toast > toast.error{
  border-left: 10px solid rgb(213, 69, 69);
}

#toast > toast{
  background-color: #363636;
  width: 100%;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 15px 20px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border-radius: 5px;
  animation-name: floatLeft;
  animation-duration: 400ms;
  animation-timing-function: ease-in;
  transition-property: right;
  position: relative;
  font-family: roboto
} */

#toast {
  z-index: 9999999;
  width: 320px;
  max-height: calc(100vh - 40px);
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 14px;
  font-family: "Inter", "Roboto", sans-serif;
}

#toast > toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #fff;
  width: 100%;
  color: #2f2f2f;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  animation: slideIn 0.4s ease, fadeOut 0.4s ease 4s forwards; /* auto hide */
  position: relative;
}

/* Variasi warna */
#toast > toast.success {
  border-left: 6px solid #2ea43d;
  background: #e9f7ef;
  color: #1b7a2e;
}

#toast > toast.error {
  border-left: 6px solid #d54545;
  background: #fdecea;
  color: #b22b2b;
}

#toast > toast.info {
  border-left: 6px solid #2491eb;
  background: #eaf4fe;
  color: #0c518a;
}

/* Animasi */
@keyframes slideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

#toast > toast::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-size: contain;
  background-repeat: no-repeat;
}

#toast > toast.success::before {
  background-image: url("data:image/svg+xml,%3Csvg fill='green' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
}

#toast > toast.error::before {
  background-image: url("data:image/svg+xml,%3Csvg fill='red' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm-1-11v4h2V7h-2zm0 6v2h2v-2h-2z'/%3E%3C/svg%3E");
}

#toast > toast.info::before {
  background-image: url("data:image/svg+xml,%3Csvg fill='blue' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M9 7h2V5H9v2zm0 8h2V9H9v6z'/%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM2 10a8 8 0 1 1 16 0A8 8 0 0 1 2 10z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

@keyframes floatLeft {
  0%{
    right: -100%;
  }
  100%{
    right: 0%;
  }
}

@keyframes floatRight {
  0%{
    right: 0%;
  }
  100%{
    right: -100%;
  }
}

.clnstr-cover{
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  /* b ackground-image: radial-gradient(rgb(23, 28, 65),rgb(2, 3, 3));*/
  /* background-color: rgb(217, 207, 207) */
  background-image:linear-gradient(-45deg,rgb(244, 251, 255),#fff);
}
.clnstr-cover::before{
  content: "";
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-image: url("/template/login-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  opacity: 0.09
}

.clnstr-login-container{
  position: relative;
  overflow: hidden;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation-name: floatup;
  /* animation-delay: 2000ms; */
  animation-duration: 1000ms;
}

.clnstr-login-container .clnstr-logo{
  display: flex;
  box-sizing: border-box;
}
.clnstr-login-container .clnstr-logo > span,
.clnstr-login-container .clnstr-logo > img{
  margin: auto;
}

.clnstr-login-container .clnstr-logo > span{
  font-size: 35px;
  font-weight: bold;
  color: #fff;
}

.clnstr-login-container > .clnstr-field{
  position: relative;
  box-sizing: border-box;
}

.clnstr-login-container > .clnstr-field input{
  width: calc(100% - 10px);
  height: 45px;
  border: none;
  transition-property: all;
  transition-duration: 300ms;
  transition-timing-function: ease-in-out;
  padding: 0px 15px;
  box-sizing: border-box;
  margin:5px;
  border-radius:8px;
  border:2px solid #9caeb9
}

.clnstr-label-menu label:hover{
  color: rgba(255, 255, 255, 1);
}

.clnstr-label-menu label{
  color: rgba(255, 255, 255, 0.8);
}

.fa-eye{
  position: absolute;
  right: 10px;
  top: 14px;
  color: rgba(150,150,150,.4);
  cursor: pointer;
}

.fa-eye:hover,.fa-eye.active{
  color: rgba(150,150,150,1);
}

.clnstr-btn{
  margin: 5px;
  width: calc(100% - 10px);
  padding: 15px 10px;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: rgb(124, 166, 190);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color;
  transition-duration: 400ms;
  transition-timing-function: ease-in-out;
}
.clnstr-btn:hover{
  background-color: rgba(53, 81, 97,1);
}

@media only screen and (max-width: 576px) {
  .clnstr-login-container{
    border-radius: 10px;
    width: 100%;
  }
  .clnstr-login-container > .clnstr-field{
    background-color: rgba(47, 92, 105, 0);
    padding: 5px 10px;
  }
  .clnstr-login-container .clnstr-logo > img{
    width: 80%;
  }
  .clnstr-login-container > .clnstr-field input{
    font-weight: bold;
    border-radius: 10px;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .clnstr-login-container > .clnstr-field input:nth-child(2){
    margin-bottom: 5px;
  }
}

@media only screen and (min-width: 576px) {
  .clnstr-cover::before{
    background-color: rgba(0,0,0,.7);
  }

  .clnstr-login-container{
    width: 400px;
  }
  .clnstr-login-container .clnstr-logo > img{
    width: 60%;
  }


}

@media only screen and (min-width: 768px) {

}
