* {
  box-sizing: border-box;
}

@font-face {
  font-family: "SpecialGothicExpandedOne";
  src: url("/fonts/SpecialGothicExpandedOne-Regular.ttf") format("truetype");
  font-weight: 400;   /* the Regular file is typically 400 */
  font-style: normal;
  font-display: swap;
}
:root {
  --brand-display: "SpecialGothicExpandedOne", system-ui, -apple-system, "Segoe UI",
                   Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
html { font-family: var(--brand-display); }
body, button, input, select, textarea { font: inherit; }

/* Apply to the key UI bits (as you had) */
.logo, h2, label, .switch-link a,
.success-message, .success-button, input, #confirm-password {
  font-family: var(--brand-display);
}

button {
  background-color: #111;
  color: white;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--brand-display); /* ✅ force the brand font */
}

button:hover {
  background-color: #333;
}


.container {
  background:#fff;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
  width: 100%;
  max-width: 480px;
  margin-bottom: 7rem;  /* ✅ side margin only, no vertical push */
}

.beta-btn {
 background:#000000;
  color: #ffffff;
  padding: 0.2rem 0.5rem; /* Increased padding */
  font-size: 0.55rem; /* Increased from 0.7rem */
  border: 1px solid #000000;
  border-radius: 0.50rem;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: 0.1rem; /* Increased from 0.4rem */
  margin-right: -0.8rem;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.form-border {
  margin-top: 0.5rem;
}

.form-border:focus {
  outline: none;
  border-color: #aaa; /* Light grey */
  box-shadow: 0 0 0 0.5px #ddd; /* Optional: subtle focus highlight */
  margin-top: 0.5rem;
  font-size: 14px;
}

.enteredTextSize {
  font-size: 14px;
}

.logo {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* keep items vertically aligned */
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}
.logo span {
  color: #999;
  font-weight: 400;
}
.logo a {
  text-decoration: none;
  color: inherit;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #333;
}

input {
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 1px solid #ddd;
  font-size: 1rem;
}

button {
  background-color: #111;
  color: white;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #333;
}

.forgot-password-message,
.welcome-message {
  font-size: 1rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.switch-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.switch-link a {
  font-size: 0.9rem;
  color: #111;
  text-decoration: none;
  font-weight: 500;
}
.switch-link a:hover {
  text-decoration: underline;
}

#confirm-password {
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 1px solid #ddd;
  font-size: 1rem;
  width: 100%;
}

#welcome-heading {
  text-align: left;
}

#reset-heading {
  text-align: left;
  font-size: 1.25rem;
}

#confirm-password-group {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 1.5s ease, transform 0.4s ease;
  max-height: 0;
  overflow: hidden;
}

#confirm-password-group.show {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
}

.success-message {
  display: none;
  margin-top: 1.5rem;
  padding: 2rem 1.5rem;
  background-color: #e6f8e6;
  border: 1px solid #b2e2b2;
  border-radius: 1rem;
  text-align: center;
  color: #2c7a2c;
  font-weight: 500;
  font-size: 1rem;
  animation: fadeIn 0.4s ease-in-out;
}

.success-message.show {
  display: block;
}

.success-message svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem auto;
  fill: #2c7a2c;
  display: block;
}

.success-button {
  margin-top: 1.2rem;
  background-color: #111;
  color: white;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.success-button:hover {
  background-color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Make the entered (typed) text lighter in form fields */
input,
textarea {
  font-weight: 400;      /* or 300 if your font has it */
  color: #4b5563;        /* a softer gray for entered text */
}

/* Optional: keep placeholders lighter than entered text */
input::placeholder,
textarea::placeholder {
  color: #9ca3af;        /* lighter gray so it's clearly placeholder */
  font-weight: 400;
  opacity: 1;            /* ensure consistent tone across browsers */
}

/* Remove default blue focus outline for inputs */
input:focus,
textarea:focus {
  outline: none;            /* kills the browser’s blue outline */
  border-color: #aaa;       /* use your own subtle grey */
  box-shadow: 0 0 0 2px #ddd; /* optional subtle highlight */
}

.main-button {
color: white;
background-color: #2e2d36;
}

.main-button:hover {
  color: #fff; background-color: rgb(79,78,86);
}