@font-face {
  font-family: Inter;
  src: url("../fonts/Inter/static/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Inter-Bold;
  src: url("../fonts/Inter/static/Inter_18pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: Inter-Medium;
  src: url("../fonts/Inter/static/Inter_18pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: Inter-SemiBold;
  src: url("../fonts/Inter/static/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter !important;
  line-height: 1.5;
  color: #333;
}

button {
  font-family: Inter !important;
}

.sign-in-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 100vh;
  position: relative;
  /* background: linear-gradient(53.08deg, #E4CAEF 8.38%, #EBD2F2 96.99%); */
}

/* Header Styles */
.header {
  display: flex;
  position: relative;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  height: 80px;
}

.header-container {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  /* max-width: 97%; */
  padding: 0 20px 0px 5px;
  width: 100%;
}

.header-content {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 40px;
    height: 80px;
    background-color: #fff;
}
.logo-section {
  display: flex;
  position: relative;
  gap: 16px;
  align-items: center;
}

.logo-svg {
  width: 134.685px;
  height: 32px;
  position: relative;
}

.header-title {
  position: relative;
  font-size: 24px;
  font-weight: 600;
  color: #14b8a6;
}

.header-actions {
  display: flex;
  position: relative;
  gap: 24px;
  align-items: center;
}

.navigation {
  display: flex;
  position: relative;
  gap: 24px;
  align-items: center;
}

.nav-button {
  display: flex;
  position: relative;
  gap: 4px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  font-family: Inter-Medium;
  line-height: 24px;
  color: #000;
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-button:hover {
  color: #a855f7;
}

.signup-button {
  display: flex;
  position: relative;
  gap: 4px;
  justify-content: center;
  align-items: center;
  padding: 10px 19px;
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-md */
  cursor: pointer;
  background: linear-gradient(to bottom, #756fff 0%, #756fff 30%, #756fff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, background 0.2s ease;
  letter-spacing: 0.07em;
}

.signup-button:hover {
  opacity: 0.9;
}
.sign_up_illustration {
  margin-top: 4em;
}
/* Main Content */
.main-content {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  padding: 50px 0;
  gap: 220px;
  margin: 40px 0px;
}

/* Form Section */
.form-section {
  display: flex;
}

/* .right__img {
  width: 400px;
  margin-top: 40px;
  padding-top: 40px;

  height: 400px;
} */

.form-container {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  padding: 2.5em;
  box-shadow: 0px 0px 24px 0px #ac92db;
  background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    linear-gradient(312.95deg, #ffe8f8 0%, #fff4fe 100.11%);
  border-radius: 1em;
  width: 62%;
  /* width: 450px; */
  max-width: 550px;
  filter: drop-shadow(-10px 0 50px #e6daffff);
  box-shadow: 0 0 80px 20px #e1ccf6;
}

.form-header {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 2em;
  align-items: center;
}

/* .form-logo {
  display: flex;
  width: 353.549px;
  justify-content: center;
  align-items: flex-end;
  gap: 8.775px;
  aspect-ratio: 353.55/84;
  position: relative;
} */

.form-title {
  color: #7fe9e7; /* custom text color */
  font-weight: 700; /* font-bold */
  font-size: 18px; /* text-lg */
}

/* Form Styles */
.signin-form {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  align-self: stretch;
}

.input-field {
  display: flex;
  position: relative;
  gap: 12px;
  align-items: center;
  align-self: stretch;
  padding: 14px 14px 14px 10px;
  background: white;
  border-radius: 0.5em;
  border: 1px solid #d4d4d8;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  max-height: 42px;
}

.input-icon {
  display: flex;
  align-items: center;
}

.input-field input {
  width: 100%; /* w-full */
  overflow: hidden;
  position: relative;
  font-size: 16px;
  line-height: 24px;
  color: #6b7280; /* text color */
  flex: 1 0 0;
  text-overflow: ellipsis;
  background-color: transparent; /* bg-transparent */
  border: none;
  outline: none; /* outline-none */
}

.input-field input::placeholder {
  color: #9ca3af; /* placeholder-gray-400 */
}

/* Form Options */
.form-options {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.remember-me {
  display: flex;
  position: relative;
  gap: 8px;
  align-items: center;
}

.checkbox-container {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.checkbox-filled {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  padding: 4px;
  width: 22px;
  height: 22px;
  background: #c4b5fd;
  border-radius: 6px;
}

.checkbox-filled.unchecked {
  background: #e5e7eb;
}

.checkbox-filled .check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: absolute;
  padding: 2px;
}

.checkbox-filled.unchecked .check-icon {
  display: none;
}

.remember-me label {
  overflow: hidden;
  position: relative;
  font-size: 14px;
  text-overflow: ellipsis;
  color: #3f3f46;
  cursor: pointer;
}

.forgot-password {
  overflow: hidden;
  position: relative;
  font-size: 14px;
  cursor: pointer;
  text-overflow: ellipsis;
  color: #3f3f46;
  background: none;
  border: none;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  color: #a855f7;
}

/* reCAPTCHA */
.recaptcha-container {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  align-self: stretch;
}

.recaptcha-content {
  display: flex;
  position: relative;
  gap: 32px;
  align-items: center;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid #d4d4d8;
  margin-top: 10px;
}

.robot-checkbox {
  display: flex;
  position: relative;
  gap: 8px;
  align-items: center;
}

.checkbox-outline {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.checkbox-outline > div {
  position: relative;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 6px;
  border: 1px solid #d4d4d8;
}

.checkbox-check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.robot-checkbox label {
  overflow: hidden;
  position: relative;
  font-size: 16px;
  line-height: 24px;
  text-overflow: ellipsis;
  color: #3f3f46;
  cursor: pointer;
}

/* Form Actions */
.form-actions {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  align-self: stretch;
}

.signin-button {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 38px;
  padding: 0;
  margin-top: 10px;
  background-color: #c1b4f8;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.signin-button:hover {
  background-color: #b3a2f4; /* hover:bg-[#b3a2f4] */
}

.or-text {
  overflow: hidden;
  position: relative;
  font-size: 16px;
  text-overflow: ellipsis;
  color: #3f3f46;
  margin: unset;
}
.google-button svg {
  margin-right: 10px;
}
.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  background-color: #fff;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.google-button:hover {
  background-color: #f3f4f6;
}

.google-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.signup-text {
  overflow: hidden;
  position: relative;
  font-size: 14px;
  text-overflow: ellipsis;
  color: #000;
  text-align: center;
  min-height: 20px;
  margin-top: 10px;
}

.create-account-link {
  font-weight: 500;
  color: #a855f7;
  cursor: pointer;
  background: none;
  border: none;
  font-size: inherit;
  transition: color 0.2s ease;
}

.create-account-link:hover {
  color: #8b5cf6;
}

/* Illustration Section */
.illustration-section {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.blur-background {
  position: relative;
}

.blur-background svg {
  width: 522px;
  height: 530px;
  position: relative;
  left: 22px;
  bottom: 46px;
  fill: rgba(122, 93, 189, 0.8);
  filter: blur(105.7px);
}

.illustration-image {
  position: relative;
       filter: drop-shadow(-50px 0 60px #bfa3f5);

}

/* Bottom Blur */
.bottom-blur {
  position: relative;
}

.bottom-blur svg {
  width: 100%;
  height: 182px;
  position: relative;
  bottom: -44px;
  border-radius: 1728px;
  background: #e8cef0;
  filter: blur(20px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 40px;
  }
  .signUp-input-container {
    width: 100% !important;
  }

  .header-title {
    font-size: 18px;
  }

  .navigation {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .main-content {
    flex-direction: column;
    padding: 20px 0;
  }

  .form-section {
    padding: 64px 40px;
  }

  .form-container {
    width: 100%;
    max-width: 500px;
  }

  .form-title {
    font-size: 24px;
  }

  .input-field {
    padding: 12px;
  }

  .input-field input {
    font-size: 18px;
  }

  .remember-me label {
    font-size: 20px;
  }

  .forgot-password {
    font-size: 20px;
  }

  .recaptcha-content {
    gap: 16px;
  }

  .signin-button {
    font-size: 30px;
  }

  .or-text {
    font-size: 18px;
  }

  .signup-text {
    font-size: 20px;
  }

  .illustration-section {
    padding: 20px;
    order: -1;
  }

  .illustration-image {
    height: 438px;
    width: 300px;
  }
}

@media (max-width: 640px) {
  .header-container {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    height: auto;
  }

  .logo-section {
    flex-direction: column;
    gap: 8px;
  }

  .header-actions {
    justify-content: center;
    width: 100%;
  }

  .form-section {
    padding: 40px 20px;
  }

  .form-container {
    padding: 24px;
    border-radius: 24px;
    width: 100%;
  }

  .form-title {
    font-size: 20px;
  }

  .input-field {
    padding: 12px;
  }

  .input-field input {
    font-size: 16px;
  }

  .remember-me label {
    font-size: 16px;
  }

  .forgot-password {
    font-size: 16px;
  }

  .robot-checkbox label {
    font-size: 14px;
  }

  .signin-button {
    padding: 24px 12px;
    height: 30px;
    font-size: 20px;
  }

  .or-text {
    font-size: 16px;
  }

  .google-button {
    width: 100%;
    height: 50px;
  }

  .signup-text {
    font-size: 18px;
    text-align: center;
  }

  .illustration-image {
    height: 365px;
    width: 250px;
  }
}

/* sign up css */

.signUp-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.signUp-form-wrapper {
  box-shadow: 0px 0px 24px 0px #ac92db;
  background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    linear-gradient(312.95deg, #ffe8f8 0%, #fff4fe 100.11%);
  /* max-width: 680px; */
  width: 79%;
  padding: 1.25rem 47px 1.25rem 3rem;
  border-radius: 1em;
  margin: auto;
  /* margin-left: 8em; */
  /* margin-top: 3em; */
  box-shadow: 0 0 80px 20px #e1ccf6;
}

.signUp-title {
  color: #7fe9e7;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.signUp-form {
  width: 100%;
}

.signUp-form-section {
  border: none;
  margin-top: 1.25rem;
  font-size: 16px;
  color: #717680;
  font-weight: 400;
}

.signUp-section-title {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.signUp-input-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.flex-wrap {
  flex-wrap: wrap;
}
.signUp-input-row.signUp-optional-row {
  gap: 0.75rem;
}

.signUp-input-wrapper {
  min-width: 240px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 25px;
}

.signUp-input-wrapper.signUp-flex-1 {
  flex: 1;
  width: auto;
}

.signUp-input-container {
  width: 100%;
  display: flex;
  align-items: center;
  background-color: white;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid #d5d7da;
  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
  width: 280px;
}

.signUp-form-input {
  width: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  color: #717680;
  font-size: 16px;
  line-height: 1.5rem;
}

.signUp-form-input::placeholder {
  color: #717680;
}
.signIn-error-message,
.signUp-error-message {
  color: #ef4444;
  font-size: 14px;
  min-height: 20px;
}

.signUp-caution-text {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  font-size: 16px;
  color: #f00;
  font-weight: 400;
}

.signUp-caution-label {
  font-weight: 700;
}

.signUp-caution-message {
  flex: 1;
  min-width: 0;
}

.signUp-disclaimer-box {
  background-color: white;
  border: 1px solid rgba(190, 190, 190, 1);
  border-radius: 0.75rem;
  padding: 0.75rem;
  margin-top: 1.25rem;
  font-weight: 400;
}

.signUp-disclaimer-title {
  color: #f00;
  font-size: 16px;
  line-height: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.signUp-disclaimer-text {
  color: #484848;
  font-size: 14px;
  margin-top: 0.25rem;
}

.signUp-disclaimer-text strong {
  color: rgba(0, 0, 0, 1);
  font-weight: 700;
}

.signUp-captcha-box {
  margin-top: 1.25rem;
}

.signUp-captcha-box .signUp-checkbox-wrapper {
  background-color: white;
  border: 1px solid rgba(213, 213, 213, 1);
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 246px;
}

.signUp-captcha-logo {
  width: 50px;
  height: auto;
  object-fit: contain;
}

.signUp-checkbox-wrapper {
  margin-top: 1.25rem;
}

.signUp-checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.signUp-checkbox-input {
  display: none;
}

.signUp-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  /* user-select: none; */
}

.signUp-checkbox-custom {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid #d5d7da;
  border-radius: 0.375rem;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.signUp-checkbox-input:checked
  + .signUp-checkbox-label
  .signUp-checkbox-custom {
  background-color: #c1b4f8;
  border-color: #c1b4f8;
}

.signUp-checkbox-input:checked
  + .signUp-checkbox-label
  .signUp-checkbox-custom::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.signUp-checkbox-text {
  color: #484848;
  font-size: 16px;
  line-height: 1.5rem;
  font-weight: 400;
}

.signUp-link-text {
  text-decoration: underline;
  color: rgba(0, 85, 255, 1);
}

.signUp-submit-button {
  width: 100%;
  min-height: 86px;
  background-color: #c1b4f8;
  color: white;
  font-size: 32px;
  font-weight: 600;
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(10, 13, 18, 0.18) inset,
    0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05);
  margin-top: 1.25rem;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signUp-submit-button:hover {
  background-color: #b5a7f5;
}

.signUp-submit-button:active {
  transform: translateY(1px);
}

.signUp-already-registered {
  color: #484848;
  font-size: 16px;
  line-height: 1.5rem;
  font-weight: 400;
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .signUp-form-wrapper {
    padding: 1.25rem;
    margin: 0;
  }
.sign-up-wrapper-main{
  flex-direction: column-reverse;
}
  .signUp-input-wrapper {
    width: 100%;
  }
  .signUp-container{
    padding: 0;
  }

  .signUp-input-row.signUp-optional-row {
    flex-direction: column;
  }

  .signUp-submit-button {
    font-size: 24px;
    min-height: 64px;
  }
  .signUp-input-row{
    flex-wrap: wrap;

}
.main-content{
  gap: 50px;
}

}

@media (max-width: 1150px) {
  .signup-illustration {
    height: 300px !important;
    width: 350px !important;
  }
  .right__img {
    height: 350px;
  }
}

@media (max-width: 850px) {
  .main-content {
    /* flex-direction: column-reverse; */
    align-items: center;
  }
  .sign-up-wrapper-main {
    /* flex-direction: column !important; */
  }
  .main-content {
    padding: 10px;
    margin: 10px;
  }
  .right__img {
    padding: 10px;
    margin: 10px;
    height: 200px;
  }
  .form-section {
    padding: 15px 0px;
  }
  .form-container {
    height: fit-content;
  }
}
@media (max-width: 400px) {
  .form-title {
    font-size: 14px;
  }
  .form-logo img {
    width: 150px;
  }
}

.checkbox-input {
    display: none;
}

/* Outer visual box */
.checkbox-container {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Filled part (hidden by default) */
.checkbox-filled {
    background: #c1b4f8;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    display: none; /* hidden until checked */
}

/* Check icon */
.check-icon {
    display: block;
}

/* When checked → show the filled box and icon */
.checkbox-input:checked + label .checkbox-filled {
    display: flex;
}
