/* brand color : #8639c2 */

:root {
  --brand-color: #d08f00;
  --accent-color: #d08f00;
  --brand-gradient: linear-gradient(to right, #e8a009, #ffc54b);
  --dark-bg: #080808;
  --light-bg: #ffffff;
  --brand-bg: #fff4dd;
  --media-color: #fffbf3;
}

* {
  font-family: "Commissioner", sans-serif;
  scrollbar-width: none !important;
}

html,
body {
  overscroll-behavior-y: contain;
}

.btn:disabled {
  border-color: transparent !important;
}

.btn-primary {
  background-color: var(--brand-color) !important;
  border-color: var(--brand-color) !important;

  &:hover {
    background-color: #b89242 !important;
    border-color: #b89242 !important;
  }
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow-x: hidden;
  background: var(--brand-bg);
}

img {
  pointer-events: none;
}

/* global icon size */
.bi {
  font-size: 21px;
}

/* modal */
.modal-body {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 85%;
  height: 85vh;
  margin: auto;
  color: var(--bs-modal-color);
  pointer-events: auto;
  background-color: var(--brand-bg);
  background-clip: padding-box;
  border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
  border-radius: var(--bs-modal-border-radius);
  outline: 0;
}

/* main container */
.web-reg-container {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* poster bg */
.reg-poster-box {
  width: 70%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Register */
.register-container {
  width: 30%;
  background-color: #fff4dd !important;
  height: 100vh;
  background-repeat: no-repeat;
  padding-right: 0px;
  padding-left: 0px;
  margin: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

/* Responsive for mobile devices */
@media screen and (max-width: 1800px) {

  /* Hide the poster on mobile */
  .reg-poster-box {
    display: none;
  }

  /* Make the register container take full width on mobile */
  .register-container {
    width: 100%;
  }
}

.reg-poster-box img {
  height: 100vh;
  width: 100%;
}

/* Existing .logo-box styles */
.register-container .logo-box {
  padding-top: 7vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.logo-box img {
  width: 60%;
  max-width: 300px;
  opacity: 0;
  /* Start image invisible */
  transform: scale(0.5);
  /* Start image small */
  animation: zoomInFadeIn 1.5s forwards;
  /* Animation duration and effect */
}

/* Keyframes for the zoom-in + fade-in effect */
@keyframes zoomInFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
    /* Start small and invisible */
  }

  100% {
    opacity: 1;
    transform: scale(1);
    /* End at normal size and fully visible */
  }
}

.register-container .form-card {
  width: 100%;
}

.register-container .form-box {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: auto;
  margin-top: 6vh;
  text-align: center;
}

.register-container .form-box button {
  border-radius: 50px;
  width: 75%;
  max-width: 300px;
  margin: auto;
  padding: 18px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}

.register-container .form-box button i {
  background: var(--brand-bg);
  color: var(--dark-bg);
  border-radius: 50%;
  font-size: 35px;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
}

.register-container .form-box button span {
  display: block;
  text-align: center;
  padding-right: 50px;
  /* Adjust space for icon */
}

.register-container .form-box input {
  max-width: 400px;
  margin: auto;
  background: #ffe2a3;
  border: none !important;
  padding: 10px;
  outline: none !important;
  box-shadow: none !important;
  color: #634400;
}

.register-container .form-box select {
  max-width: 400px;
  margin: auto;
  background: #ffe2a3;
  border: none !important;
  padding: 10px;
  outline: none !important;
  box-shadow: none !important;
  color: #634400;
}

.register-container .form-box input:focus,
.register-container .form-box input:active {
  outline: none !important;
  box-shadow: none !important;
  background: #ffe2a3;
  border: none !important;
  color: #634400;
}

.register-container .form-box input::placeholder {
  color: #808080 !important;
  /* Placeholder color */
}

.register-container .form-box input:focus::placeholder,
.register-container .form-box input:active::placeholder {
  color: #808080 !important;
  /* Keep placeholder color same */
}

/* If you are using .form-control class, ensure it's not overriding styles */
.form-control {
  outline: none !important;
  box-shadow: none !important;
}

/* otp form */
.otp-box {
  align-items: center;
  max-width: 440px;
  margin: auto;
  margin-top: 22vh;
}

.otp-series {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 25px;
}

.otp-box input {
  max-width: 20%;
  margin: auto;
  background: #ffe2a3;
  border: none !important;
  padding: 10px;
  outline: none !important;
  box-shadow: none !important;
  color: #634400;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
}

.otp-box input:focus,
.otp-box input:active {
  outline: none !important;
  box-shadow: none !important;
  background: #ffe2a3;
  border: none !important;
  color: #634400;
}

.otp-box input::placeholder {
  color: #808080 !important;
  /* Placeholder color */
}

.otp-box input:focus::placeholder,
.otp-box input:active::placeholder {
  color: #808080 !important;
  /* Keep placeholder color same */
}

.otp-box button {
  border-radius: 50px;
  width: 75%;
  max-width: 300px;
  margin: auto;
  padding: 18px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.otp-box button i {
  background: var(--brand-bg);
  color: var(--dark-bg);
  border-radius: 50%;
  font-size: 35px;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
}

/* Toast container style */
.toast {
  text-align: center;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000000ad;
  backdrop-filter: blur(6px);
  color: var(--light-bg);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  opacity: 0;
  width: max-content;
  max-width: 400px;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 9999999999999999999 !important;
}

/* Toast show animation (slide in) */
.toast.show {
  opacity: 1;
  visibility: visible;
  animation: slideIn 0.5s ease forwards;
}

/* Toast hide animation (slide out) */
.toast.hide {
  animation: slideOut 0.5s ease forwards;
}

/* Slide-in effect */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Slide-out effect */
@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  to {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

.success-box {
    width: 100%;
      height: 50vh;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
}

.success-box img {
  width: 25%;
  border-radius: 10px;
  border: 4px solid black;
  border-style: dashed;
}

.success-box h1 {
  font-family: cursive;
  color: var(--brand-color);
  margin-bottom: 0;
}

.success-box small {
  margin-bottom: 3vh;
}

.success-box blockquote {
  width: 50%;
  margin-top: 5vh;
  background: var(--media-color);
  text-align: left;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  border-left: 3px solid var(--brand-color);
  border-start-start-radius: 0;
  border-bottom-left-radius: 0;
}

.success-box button {
    border-radius: 50px;
      width: 75%;
      max-width: 300px;
      padding: 18px 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      margin-bottom: 30px;
      overflow: hidden;
}

.success-box button i {
  background: var(--brand-bg);
  color: var(--dark-bg);
  border-radius: 50%;
  font-size: 25px;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
}

.success-box button span {
  display: block;
  text-align: center;
  padding-right: 50px;
  /* Adjust space for icon */
}