html,
body {
  height: 100%;
  margin: 0;
}

.register-container {
  width: 100%;
  min-height: 100%;
}

.register-inner-container {
  width: 100%;
  display: flex;
  min-height: 100vh;
}

.register-image-container {
  width: 50%;
  position: relative;
}

.login-page-content-container {
  width: 50%;
  background-color: #f8f9fa;
}

.hero-imag {
  position: relative;
  overflow: hidden;
  align-items: center !important;
  height: 100%;
}

.hero-mask {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.55;
  background-color: rgb(13, 110, 253);
}

.hero-bg {
  z-index: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  background-image: url("../public/assets/login-bg.jpg");
  width: 100%;
  height: 100%;
}

.login-logo {
  position: absolute;
  top: 7px;
  left: 2%;
  z-index: 2;
  padding: 10px;
  border-radius: 5px;
}

.login-logo img {
  width: 40%;
  z-index: 99;
  position: relative;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.5));
}

.register-content {
  z-index: 99;
  position: absolute;
  color: #ffffff;
  top: 37%;
  left: 10%;
  font-family: "Open Sans", sans-serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin: 0;
}

.register-content-description {
  z-index: 99;
  position: absolute;
  color: white;
  top: 58%;
  left: 10%;
  font-family: "Open Sans", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.register-content-description p {
  margin: 0;
}

.login-page-content-inner-container {
  padding-top: 10px;
}

.register-title {
  font-size: 30px;
  font-family: "Poppins", Sans-serif;
  font-weight: 600 !important;
  text-align: center;
  margin: 8px 0;
}

.navigate-login {
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  font-weight: 500 !important;
  padding-left: 10%;
  margin-top: 0%;
  margin-left: -10%;
}

.register-lable {
  font-size: 15px;
  font-family: "Open Sans", sans-serif;
  font-weight: 400 !important;
  margin-bottom: 3px;
  font-style: normal;
  letter-spacing: 0.5px;
}

.register-input-container {
  width: 50%;
}

.register-lable-error {
  color: red;
  top: 85%;
  left: 0;
  width: 100%;
  margin-top: 5px;
  padding: 2px;
  z-index: 1;
  font-size: 15px;
}

.singnup-links {
  color: blue;
  cursor: pointer;
  margin-left: 2px;
  text-decoration: none;
}

#signup {
  display: block;
}

.form {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1em 2em 0.7em;
  font-family: "Open Sans", sans-serif;
  box-sizing: border-box;
}

.flex {
  display: flex;
  gap: 15px;
  padding-bottom: 3px;
}

.conform-pass {
  width: calc(50% - 7.5px);
}

/* .signUp-button {
    padding-top: 16px;
} */

.fieldset {
  flex: 1;
  position: relative;
  width: 100%;
}

.form label.image-replace {
  display: inline-block;
  position: absolute;
  left: 15px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  color: transparent;
  text-shadow: none;
  background-repeat: no-repeat;
  background-position: 50% 0;
}

.form label.username {
  background-image: url("https://codyhouse.co/demo/login-signup-modal-window/img/cd-icon-username.svg");
}

.form label.email {
  background-image: url("https://codyhouse.co/demo/login-signup-modal-window/img/cd-icon-email.svg");
}

.form label.password {
  background-image: url("https://codyhouse.co/demo/login-signup-modal-window/img/cd-icon-password.svg");
}

.form label.companyname {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V7l8-4v18M19 21V11l-6-4'/%3E%3Cpath d='M9 9v.01M9 12v.01M9 15v.01M9 18v.01M15 12v.01M15 15v.01M15 18v.01'/%3E%3C/svg%3E");
}

.form label.workphone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.96.35 1.9.69 2.8a2 2 0 0 1-.45 2.11L8.08 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.84.57 2.8.69A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-position: center;
}

.form label.designation {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E");
}

.form label.companyaddress {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.form input {
  margin: 0;
  padding: 0;
  border-radius: 0.25em;
}

.form input.full-width {
  width: 100%;
  box-sizing: border-box;
}

.form input.has-padding {
  font-size: 16px;
  padding: 8px 13px 8px 41px;
}

.form input.has-border {
  border: 1px solid #d2d8d8;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form input.has-error-border {
  border: 2px solid red;
}

.form input[type="password"] {
  padding-right: 65px;
}

.form input[type="submit"] {
  height: 36px;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
  font-family: "Poppins", Sans-serif;
  letter-spacing: 0.5px;
  font-size: 15px !important;
  font-weight: 500;
  background-color: #0257d5;
  color: #fff;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: all 0.3s ease-in-out;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.eye-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.eye-closed {
  display: none;
}

.error-message {
  color: red;
  font-size: 18px;
}

input:focus {
  outline: none;
  border-color: none;
  box-shadow: none;
}

@media (max-width: 600px) {
  .register-image-container {
    display: none;
  }

  .login-page-content-container {
    width: 100%;
  }

  .flex {
    flex-direction: column;
    gap: 0;
  }

  .register-input-container,
  .conform-pass {
    width: 100%;
  }

  .form {
    padding: 15px 15px 13px 15px;
  }

  .form input.has-padding {
    padding: 8px 13px 8px 38px;
  }
}