:root {
  /* tulis variable public disini */
  --primary-color: #d60808da;
  --main-color: #f2efef;
  --border-radius-segment: 15px;
  --bgcolor-gradient: linear-gradient(
    90deg,
    rgb(230, 86, 86) 50%,
    rgb(242, 67, 67) 100%
  );
  --segment-radius: 15px;
  --button-radius: 8px;
  --segment-shadow: rgba(145, 158, 171, 0.2) 0px 0px 2px 0px,
    rgba(145, 158, 171, 0.12) 0px 12px 24px -4px;
}

* {
  /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  padding: 0px;
  margin: 0px;
  font-family: sans-serif;
}

.bg-login {
  min-height: 100vh;
  height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: hidden;
}

#seg-login-new {
  padding: 20px 60px;
  height: 100vh;
}

#bg-left {
  background-color: var(--main-color);
  background-image: url("/img/bg-login-left.png");
  /* background-size: cover; */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(15px);
}

#bg-right {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: rgba(145, 158, 171, 0.2) 0px 0px 2px 0px,
    rgba(145, 158, 171, 0.12) 0px 12px 24px -4px;
}

.my-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  padding: 0px 90px 0px 90px;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color);
}

/* css reset password start */

.mywrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
}

.card-wrapper {
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  padding: 5% 15%;
  box-shadow: var(--segment-shadow);
}

.imglogo {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-footer {
  margin-top: 10px;
  font-family: sans-serif;
  font-size: 12px;
  color: #333;
  text-align: center;
}

.resetform-wrapper {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-login-success {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
}

.mfa-input {
  font-size: 20px !important;
  font-weight: bold !important;
  text-align: center !important;
}

/* css reset password end */

/* css login start */

.form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
}

.form-card-wrapper {
  display: flex;
  width: 100%;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0px 0px 20px gray;
}

.imglogo-login {
  width: 80px;
  position: relative;
  text-align: center;
  display: none;
}

.left-wrapper {
  width: 50%;
  border-radius: 10px 0px 0px 10px;
  background-image: url("/img/bg-left.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.right-wrapper {
  width: 50%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-login {
  width: 100%;
}

.alink {
  color: #a20303da;
}

.alink:hover {
  color: #d60808da;
}

.ui.modal {
  border-radius: var(--border-radius-segment) !important;
}

.ui.modal > .header {
  border-top-left-radius: var(--border-radius-segment) !important;
  border-top-right-radius: var(--border-radius-segment) !important;
}

.ui.modal > .content {
  border-radius: var(--border-radius-segment) !important;
}

.ui.modal > .actions {
  border-bottom-left-radius: var(--border-radius-segment) !important;
  border-bottom-right-radius: var(--border-radius-segment) !important;
}

/* css login end */

/* for mobile */
@media only screen and (max-width: 576px) {
  .my-container {
    padding: 0px;
  }

  .mywrapper {
    width: 90%;
  }

  .card-wrapper {
    padding: 5% 5%;
  }

  .form-wrapper {
    width: 90%;
  }

  .imglogo-login {
    display: block;
  }

  .left-wrapper {
    width: 0 !important;
  }

  .right-wrapper {
    width: 100%;
    padding: 7%;
  }

  #seg-login {
    padding: 20px 20px;
    margin: 5px 15px;
  }

  #bg-left {
    display: none;
  }

  #bg-right {
    background: rgba(255, 255, 255, 0.9);
  }

  #seg-login-new {
    padding: 20px 30px;
  }
}

/* for tablet */
@media only screen and (max-width: 768px) {
  .my-container {
    padding: 0px;
  }

  .mywrapper {
    width: 90%;
  }

  .card-wrapper {
    padding: 5% 5%;
  }

  .form-wrapper {
    width: 75%;
  }

  #bg-left {
    display: none;
  }

  #bg-right {
    background: rgba(255, 255, 255, 0.9);
  }

  #seg-login-new {
    padding: 20px 20px;
  }
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 7px;
  padding: 10px;
  position: fixed;
  z-index: 9999999;
  left: 50%;
  bottom: 30px;
}

#snackbar-info {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 7px;
  padding: 10px;
  position: fixed;
  z-index: 9999999;
  left: 50%;
  bottom: 30px;
}

#snackbar-success {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: rgb(9, 187, 83);
  color: #fff;
  text-align: center;
  border-radius: 7px;
  padding: 10px;
  position: fixed;
  z-index: 9999999;
  left: 50%;
  bottom: 30px;
}

#snackbar-error {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: rgb(218, 12, 12);
  color: #fff;
  text-align: center;
  border-radius: 7px;
  padding: 10px;
  position: fixed;
  z-index: 9999999;
  left: 50%;
  bottom: 30px;
}

#snackbar-warning {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: rgb(238, 177, 10);
  color: #fff;
  text-align: center;
  border-radius: 7px;
  padding: 10px;
  position: fixed;
  z-index: 9999999;
  left: 50%;
  bottom: 30px;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar-info.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#snackbar-success.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#snackbar-error.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#snackbar-warning.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
