:root {
  /* Define color variables for easy maintenance */
  --color-primary: #4b3621;
  --color-secondary: #c8a97e;
  --color-text-light: #4b5563;
  --color-background-main: #f8f5f0;
  --color-background-card: #ffffff;
  --color-placeholder: #cccccc;

  /* Define spacing and font variables */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --font-size-base: 1rem;
}

/* Base reset for box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Apply Inter font, base size, and smooth scrolling */
body {
  font-family: "Inter", Helvetica, sans-serif;
  font-size: var(--font-size-base);
  min-height: 100vh;
}

/* --- Layout Structure --- */

.forget-password {
  background-color: var(--color-background-main);
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align content to the top */
  min-height: 100vh; /* Full viewport height */
  width: 100%;
}

/* The main content container, centers content and limits max width */
.forget-password > .container {
  width: 100%;
  max-width: 1200px; /* Optional max-width for very large screens */
  display: flex;
  flex-direction: column;
}

/* Main div wrapper for header and content sections */
.forget-password .div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* --- Header Section --- */

.forget-password .container-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) 5%; /* Responsive padding */
  height: 80px;
  background-color: var(--color-background-main);
}

.forget-password .luxe-co {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.8rem;
  line-height: 1;
}

.forget-password .container-3 {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.forget-password .text-wrapper,
.forget-password .text-wrapper-2 {
  font-weight: 400;
  color: var(--color-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
  padding: var(--spacing-sm);
  transition: color 0.2s;
}

/* Optional hover effect */
.forget-password .text-wrapper:hover,
.forget-password .text-wrapper-2:hover {
  color: var(--color-primary);
}

/* --- Main Content Section (Image + Form) --- */

.forget-password .container {
  display: flex;
  flex-direction: row; /* Default to row on desktop */
  width: 100%;
  flex-grow: 1;
}

/* Image container */
.forget-password .container-5 {
  width: 50%; /* Takes half width on desktop */
  min-height: 400px;
  background: url(https://c.animaapp.com/mi056itg72mbp2/img/image.png) no-repeat center center / cover;
}

/* Form container wrapper */
.forget-password .container-wrapper {
  width: 50%; /* Takes half width on desktop */
  display: flex;
  justify-content: center;
  align-items: center; /* Center the form card vertically */
  padding: var(--spacing-lg);
}

/* Form Card */
.forget-password .container-6 {
  width: 100%;
  max-width: 450px; /* Max width for the form card */
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  background-color: var(--color-background-card);
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.forget-password .text-wrapper-3 {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.6rem;
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.forget-password .paragraph {
  margin-bottom: 2rem;
  line-height: 1.5;
}

.forget-password .enter-your-email,
.forget-password .p {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.forget-password .form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.forget-password .container-7 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.forget-password .text-wrapper-4 {
  font-weight: 500;
  color: var(--color-primary);
  font-size: 0.8rem;
  line-height: 1;
}
.forget-password .input-field {
  /* Inherit general input styles */
  display: block; /* Make sure it takes full width */
  width: 100%;
  height: 49.6px;
  position: relative;
  padding: 0.8rem 1rem;
  background-color: var(--color-background-card);
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s;
  
  /* Styling for the text inside the input */
  font-family: "Inter", Helvetica, sans-serif;
  font-weight: 400;
  color: var(--color-primary); /* Text color when typing */
  font-size: var(--font-size-base);
  line-height: 1.5;
}

/* Style the placeholder text */
.forget-password .input-field::placeholder {
  color: var(--color-placeholder);
}

.forget-password .input-field:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.forget-password .input:focus-within {
  border-color: var(--color-secondary);
}

/* Submit Button */
.forget-password .button {
  width: 100%;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-secondary);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background-color 0.2s;
}

.forget-password .button:hover {
  background-color: #bfa586; /* Slightly darker shade on hover */
}

.forget-password .text-wrapper-6 {
  font-weight: 500;
  color: var(--color-background-card);
  font-size: 0.9rem;
  text-align: center;
}

/* Separator */
.forget-password .container-8 {
  width: 100%;
  height: 1px;
  background-color: #e5e7eb;
  margin: 2rem 0;
}

/* Login Link */
.forget-password .paragraph-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.8rem;
}

.forget-password .text-wrapper-7 {
  font-weight: 400;
  color: var(--color-text-light);
}

.forget-password .text-wrapper-8 {
  font-weight: 500; /* Made this slightly bolder */
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.2s;
}

.forget-password .text-wrapper-8:hover {
  color: var(--color-secondary);
}

/* --- Media Query for Mobile/Tablet (Single-Column Layout) --- */

@media (max-width: 992px) {
  /* Switch to single column */
  .forget-password .container {
    flex-direction: column;
  }

  /* Hide the image on smaller screens for a cleaner look */
  .forget-password .container-5 {
    display: none;
  }

  /* Make the form section take up full width */
  .forget-password .container-wrapper {
    width: 100%;
    min-height: 100vh; /* Ensure it takes full height on mobile */
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-lg) 4rem var(--spacing-lg); /* Add bottom padding */
  }

  /* Center the main content */
  .forget-password > .container {
    align-items: center;
  }

  /* Adjust form card padding and max-width for better fit */
  .forget-password .container-6 {
    padding: 2rem;
    max-width: 100%;
  }

  /* Adjust header padding and potentially stacking */
  .forget-password .container-2 {
    padding: var(--spacing-md) 5%;
  }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {
  .forget-password .text-wrapper-3 {
    font-size: 1.4rem;
  }
  
  .forget-password .container-6 {
    padding: 1.5rem;
  }
}