/* Define Tailwind Neutral Variables */
:root {
  --n50:  #FAFAFA;   /* neutral-50 */
  --n100: #F5F5F5;   /* neutral-100 */
  --n200: #E5E5E5;   /* neutral-200 */
  --n300: #D4D4D4;   /* neutral-300 */
  --n400: #A3A3A3;   /* neutral-400 */
  --n500: #737373;   /* neutral-500 */
  --n600: #525252;   /* neutral-600 */
  --n700: #404040;   /* neutral-700 */
  --n800: #262626;   /* neutral-800 */
  --n900: #171717;   /* neutral-900 */
}

/* Container Styling */
.allauth-div {
  background-color: var(--n900);
  padding: 2rem;
  border-radius: 0.5rem;
  color: var(--n50);
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Headings */
.allauth-div h1 {
  font-size: 2rem;   /* Bigger for main heading */
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--n50);
}

.allauth-div h2 {
  font-size: 1.5rem;  /* Slightly smaller for subheadings */
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--n50);
}

/* Other Headings */
.allauth-div h3,
.allauth-div h4,
.allauth-div h5,
.allauth-div h6 {
  color: var(--n50);
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.allauth-div h1, .allauth-div h2, .allauth-div h3, .allauth-div h4, .allauth-div h5, .allauth-div h6 {
  font-family: 'Inter', sans-serif;
}

.allauth-div hr {
  border-color: var(--n700);
  border-width: 1px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Paragraphs */
.allauth-div p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--n200);
}

/* Links */
.allauth-div a {
  color: var(--n400);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  text-decoration: underline;
}
.allauth-div a:hover,
.allauth-div a:focus {
  color: var(--n300);
}

/* Labels */
.allauth-div label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--n50);
}

/* Inputs, Textareas, and Selects */
.allauth-div input,
.allauth-div textarea,
.allauth-div select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--n700);
  border-radius: 0.375rem;
  background-color: var(--n800);
  color: var(--n50);
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-size: 1rem;
}

.allauth-div input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  appearance: none;
  background-color: var(--n800);
  border: 2px solid var(--n600);
  border-radius: 0.25rem;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  transition: background-color 0.2s, border-color 0.2s;
}

.allauth-div input[type="checkbox"]:checked {
  background-color: var(--n600);
  border-color: var(--n500);
}

.allauth-div input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--n50);
  font-size: 0.875rem;
}

.allauth-div input[type="checkbox"]:hover {
  border-color: var(--n500);
}

.allauth-div input[type="checkbox"]:focus {
  outline: none;
  border-color: var(--n500);
  box-shadow: 0 0 0 2px rgba(75, 85, 99, 0.3);
}

.allauth-div input:focus,
.allauth-div textarea:focus,
.allauth-div select:focus {
  outline: none;
  border-color: var(--n600);
  box-shadow: 0 0 0 2px rgba(75, 85, 99, 0.3);
}

/* Buttons */
.allauth-div button {
  background-color: var(--n700);
  color: var(--n50);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1rem;
}
.allauth-div button:hover,
.allauth-div button:focus {
  background-color: var(--n600);
  transform: translateY(-2px);
}

/* Form Container */
.allauth-div form {
  width: 100%;
}

/* Labels */
.allauth-div label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--n50);
}

.allauth-button {
  color: var(--n900);
}

.allauth-button:hover {
  color: var(--n50);
}