/* Base styles - modify existing .auth-container */
.auth-container {
  width: 90%; /* Changed from 30% */
  max-width: 480px; /* Added max-width for larger screens */
  background: #fff;
  padding: 40px 30px;
  margin: 30px auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.auth-subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

.input-field {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  border: none;
  border-bottom: 1px solid black;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.input-field:focus {
  outline: none;
}

.primary-btn {
  background: #eac428;
  color: #000000;
  border: none;
  padding: 10px 18px;
  width: 100%;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.primary-btn:hover {
  background: #c2a120;
}

.forgot-password {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

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

.google-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  margin: 22px 0;
}

.google-btn:hover {
  border-color: #222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.auth-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 15px 0;
  gap: 100px;
}

.auth-bottom {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.bottom-text {
  color: #555;
}

.link-btn {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.link-btn:hover {
  text-decoration: underline;
}

.google-icon {
  height: 20px;
}

.reset-passowrd-otp,
.otp-field::-webkit-outer-spin-button,
.reset-passowrd-otp,
.otp-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.back-arrow {
  margin: 6px 0;
}

.resend-otp {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
}

.resendButton {
  color: #eac428;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  background-color: white;
  border: none;
}

.highlight-email {
  color: #eac428;
}

.otp-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
  text-align: center;
}

.otp-subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
  text-align: center;
}

.reset-passowrd-otp,
.otp-field {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  border: none;
  border-bottom: 1px solid black;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.otp-field {
  text-align: center;
}

.input-field:focus {
  outline: none;
}

.main-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.forgotpassword-container {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.forgotpassword-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
  text-align: center;
}

.forgotpassword-subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
  text-align: center;
}

.forgotpassword-bottom {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  margin-top: 15px;
}

.forgotpassword-field {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  border: none;
  border-bottom: 1px solid black;
  outline: none;
  box-shadow: none;
  background: transparent;
  text-align: center;
}

.reset-field::-webkit-outer-spin-button,
.reset-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.error-message {
  color: red;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.resendButton.active {
  background-color: #4caf50;
  color: white;
  cursor: pointer;
}

.resendButton:disabled {
  color: #666;
  cursor: not-allowed;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.success-message {
  color: green;
  font-size: 0.75rem;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
}

.admin-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

.admininput-field {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  box-shadow: none;
  background: transparent;
  border-radius: 6px;
  border: solid 1px gray;
}

.pawsome-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pawsome-icon {
  height: 110px;
  margin-bottom: 16px;
}

.password-container {
  position: relative;
  width: 100%;
}

.password-container .input-field {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #777;
}

.toggle-password:hover {
  color: #000;
}

/* ========== RESPONSIVE STYLES ========== */

/* Large Desktop - Keep 30% width */
@media (min-width: 1200px) {
  .auth-container {
    width: 30%;
    max-width: 480px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .auth-container {
    width: 50%;
    padding: 35px 25px;
  }
}

/* Small Tablet */
@media (max-width: 768px) {
  .auth-container {
    width: 70%;
    padding: 32px 24px;
    margin: 20px auto;
  }

  .auth-title {
    font-size: 22px;
  }

  .auth-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .auth-container {
    width: 90%;
    padding: 28px 20px;
    margin: 16px auto;
  }

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

  .auth-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .w-44 {
    width: 140px !important;
  }

  .input-field {
    padding: 11px 12px;
    font-size: 14px;
  }

  .primary-btn,
  .google-btn {
    padding: 11px;
    font-size: 14px;
  }

  .password-container .toggle-password {
    right: 12px;
    font-size: 14px;
  }

  .auth-actions {
    gap: 20px;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  main {
    padding: 12px;
  }

  .auth-container {
    width: 95%;
    padding: 24px 18px;
    border-radius: 12px;
    margin: 12px auto;
  }

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

  .auth-subtitle {
    font-size: 12px;
    margin-bottom: 18px;
  }

  .w-44 {
    width: 110px !important;
  }

  .auth-form {
    gap: 12px;
  }

  .input-field {
    padding: 10px 12px;
    font-size: 13px;
  }

  .primary-btn,
  .google-btn {
    padding: 10px;
    font-size: 13px;
  }

  .auth-bottom {
    flex-direction: column;
    gap: 4px;
  }

  .google-icon {
    width: 18px;
    height: 18px;
  }

  .auth-actions {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .auth-container {
    width: 85%;
    max-width: 600px;
    padding: 20px 30px;
    margin: 10px auto;
  }

  .flex.justify-center {
    margin-bottom: 12px;
  }

  .w-44 {
    width: 90px !important;
  }

  .auth-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .auth-subtitle {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .auth-form {
    gap: 10px;
  }

  .input-field {
    padding: 9px 12px;
  }

  .primary-btn,
  .google-btn {
    padding: 9px;
  }

  .google-btn {
    margin: 14px 0;
  }
}

/* Ensure main container is responsive */
main {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

/* Responsive form elements */
.input-field,
.password-container,
.password-container input {
  width: 100%;
  box-sizing: border-box;
}

/* Responsive buttons */
.primary-btn,
.google-btn {
  width: 100%;
  box-sizing: border-box;
}