/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Reset Password Page Responsive Styles */
.reset-password {
  background: linear-gradient(180deg, #faf8f5 0%, #f5f0e8 100%);
  width: 100%;
  min-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 13.6875rem);
  padding: 2rem 1rem;
}

.reset-password .KSG-logo {
  height: clamp(6rem, 15vw, 11.375rem);
  width: clamp(9rem, 20vw, 17.4375rem);
  max-width: 90%;
  object-fit: contain;
}

.reset-password .frame {
  display: flex;
  width: 100%;
  max-width: 25.0625rem;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 0.625rem;
  border: 1px solid rgba(127, 98, 44, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  align-items: center;
}

.reset-password .div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1875rem;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  position: relative;
  align-items: center;
}

.reset-password .div-2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 18.75rem;
  align-items: flex-start;
  gap: 0.8125rem;
  position: relative;
  flex: 0 0 auto;
}

.reset-password .text-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -0.0625rem;
  font-family: var(--form-text-font-family);
  font-weight: var(--form-text-font-weight);
  color: #000000;
  font-size: var(--form-text-font-size);
  letter-spacing: var(--form-text-letter-spacing);
  line-height: var(--form-text-line-height);
  white-space: nowrap;
  font-style: var(--form-text-font-style);
}

.reset-password .inner-frame {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 0.0625rem solid #d4dce4;
  box-shadow: 0 0.125rem 0.125rem #ffffff26, inset 0 0.125rem 0.125rem #0000001a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reset-password .inner-frame:focus-within {
  border-color: #7f622c;
  box-shadow: 0 0 0 3px rgba(127, 98, 44, 0.1);
}

.reset-password .text-wrapper-2 {
  position: relative;
  width: 100%;
  margin-top: -0.0625rem;
  font-family: var(--form-text-font-family);
  font-weight: var(--form-text-font-weight);
  color: #94a3b8;
  font-size: var(--form-text-font-size);
  letter-spacing: var(--form-text-letter-spacing);
  line-height: var(--form-text-line-height);
  white-space: nowrap;
  font-style: var(--form-text-font-style);
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
}

.reset-password .text-wrapper-2::placeholder {
  color: #94a3b8;
}

.reset-password .text-wrapper-2:focus {
  color: #000000;
}

.reset-password .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.625rem 2rem;
  position: relative;
  flex: 0 0 auto;
  background-color: #7f622c;
  border-radius: 1.875rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 2.75rem;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(127, 98, 44, 0.25);
}

.reset-password .submit-btn:hover {
  background-color: #6b5225;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(127, 98, 44, 0.35);
}

.reset-password .submit-btn:active {
  background-color: #5a4520;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(127, 98, 44, 0.2);
}

/* Tablet Styles */
@media (max-width: 63.9375rem) {
  .reset-password {
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: 1.5rem 1rem;
  }

  .reset-password .frame {
    max-width: 28rem;
    padding: 2rem 1.5rem;
  }
}

/* Mobile Styles */
@media (max-width: 47.9375rem) {
  .reset-password {
    gap: 1.5rem;
    padding: 1rem 0.75rem;
    justify-content: flex-start;
    padding-top: 2rem;
  }

  .reset-password .KSG-logo {
    height: clamp(5rem, 12vw, 8rem);
    width: clamp(7.5rem, 18vw, 12rem);
  }

  .reset-password .frame {
    max-width: 100%;
    padding: 1.25rem 1rem;
    gap: 1.5rem;
  }

  .reset-password .submit-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 23.4375rem) {
  .reset-password {
    padding: 0.75rem 0.5rem;
    gap: 1rem;
  }

  .reset-password .frame {
    padding: 1rem 0.75rem;
    gap: 1.25rem;
  }

  .reset-password .KSG-logo {
    height: 4.5rem;
    width: 6.75rem;
  }
}
