html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Helvetica;
}


.login {
  width: 100%;
  height: 100vh;
  min-width: 1280px;
  background-color: #003580;
  position: relative;
  overflow: hidden;
}


.group {
  position: absolute;
  top: 0;
  left: 640px;
  width: 640px;
  height: 100vh;
  display: flex;
}

.frame {
  width: 640px;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.div {
  margin-top: 106px;
  width: 429px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.group-2 {  
  width: 431px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}


.text-wrapper {
  width: 417px;
  font-size: 50px;
  font-weight: 600;
  color: #003580;
  margin-top: -40px;
  text-align: center;
}

.p {
  width: 427px;
  font-size: 14px;
  color: #000000;
  text-align: center;
}


.frame-wrapper {
  width: 427px;
  display: flex;
  justify-content: center;
}

.group-wrapper {
  width: 427px;
  height: 310px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: inset 0 4px 4px #0000001a, 0 4px 4px #0000001a;
  display: flex;
  justify-content: center;
  align-items: center;
}

.group-3 {
  margin-top: 40px;
  width: 330px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}



.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
}

.form-group input {
  height: 44px;
  padding: 0 12px;
  border-radius: 5px;
  border: 1px solid #b9b9b980;
  background-color: #0035800d;
}


.login-button {
  width: 330px;
  height: 44px;
  background-color: #003580;
  border-radius: 5px;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.login-button:hover {
  background-color: #002a66;
}

.cancel-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F25922;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    height: 44px; /* samakan dengan tombol kirim */
    font-size: 14px;
}

.cancel-button:hover {
    background-color: #d94e1d;
}

/* BAWAH */
.belum-memiliki-akun {
  font-size: 14px;
}

.text-wrapper-6 {
  font-weight: 600;
}


.robot {
  position: absolute;
  left: -95px;
  top: 300px;
  left: 0;
  width: 300px;
  height: 300px;
}


.text-wrapper-8 {
  position: absolute;
  top: 300px;
  left: 292px;
  width: 341px;
  font-weight: 600;
  font-size: 30px;
  color: #ffffff;
}

.text-wrapper-9 {
  position: absolute;
  top: 450px;
  left: 292px;
  width: 341px;
  font-size: 16px;
  color: #ffffff;
}
.form-control-user {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.2s;
}

.form-control-user.is-invalid {
  border-color: #e74c3c;
  background-color: #fff5f5;
}

.form-control-user.is-invalid:focus {
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}


.reset-box {
  height: 200px;
}


.reset-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.reset-center .div {
  margin-top: 0; 
}


html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Helvetica;
}


.register-container {
  width: 100%;
  min-height: 100vh; 
  min-width: 1280px;
  background-color: #003580;
  position: relative;
  overflow: visible; 
}


.right-panel {
  position: absolute;
  top: 0;
  left: 640px;
  width: 640px;
  min-height: 100vh; 
  display: flex;
}

.white-background {
  width: 640px;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: flex-start; 
}

.content-wrapper {
  margin-top: 50px;
  width: 429px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-bottom: 100px; 
}

.form-header {
  width: 431px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}


.title {
  width: 417px;
  font-size: 50px;
  font-weight: 600;
  color: #003580;
  margin-top: -40px;
  text-align: center;
}

.subtitle {
  width: 427px;
  font-size: 14px;
  color: #000000;
  text-align: center;
}


.form-container {
  width: 427px;
  display: flex;
  justify-content: center;
}

.form-card {
  width: 427px;
  height: 400px; 
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: inset 0 4px 4px #0000001a, 0 4px 4px #0000001a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-fields {
  width: 330px; 
  display: flex;
  flex-direction: column;
  gap: 10px; 
  margin-top: 0px;
}


.submit-btn {
  width: 330px; 
  height: 44px;
  background-color: #003580;
  border-radius: 5px;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 600;
}

.submit-btn:hover {
  background-color: #002a66;
}


.link-text {
  font-size: 14px;
  text-align: center;
}

.link {
  font-weight: 600;
  cursor: pointer;
}


.left-title {
  position: absolute;
  top: 300px;
  left: 292px;
  width: 341px;
  font-weight: 600;
  font-size: 30px;
  color: #ffffff;
}

.left-subtitle {
  position: absolute;
 top: 450px;
  left: 292px;
  width: 341px;
  font-size: 16px;
  color: #ffffff;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  width: 400px;
  min-height: 40px;
  background: white;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;

}

.toast.show {
    opacity: 1;
  transform: translateX(0);
}

.toast-header {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.toast-body {
  padding: 0;
  flex-grow: 1;
  font-size: 16px;
  line-height: 1.5;
  font-weight: lighter;
  color: #495057;
}

.btn-close {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/16px auto no-repeat;
  border: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  margin-left: 15px;
}

.btn-close:hover {
  opacity: 1;
}

.toast-white.success {
  border-left: 5px solid #198754;
}

.toast-white.error {
  border-left: 5px solid #dc3545;
}

.lupa-button{
    color: #C3110C; font-size:12px; text-decoration: none; font-weight:bold;
}

.error-warning{
  color: #e3342f; font-size: 0.875rem; margin-top: 0rem;
}
