/* Enhanced Auth Forms CSS */

/* Form container styling */
.auth-form-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .auth-form-container {
    padding: 30px 20px;
  }
}

/* Form title styling */
.auth-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-dark-1);
}

.auth-subtitle {
  font-size: 16px;
  color: var(--color-light-1);
  margin-bottom: 30px;
}

/* Input field styling */
.auth-input {
  position: relative;
  margin-bottom: 25px;
}

.auth-input input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.auth-input input:focus {
  border-color: var(--color-accent-1);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-1-rgb), 0.1);
}

.auth-input label {
  position: absolute;
  top: -10px;
  left: 15px;
  background: white;
  padding: 0 5px;
  font-size: 14px;
  color: var(--color-light-1);
}

/* Button styling */
.auth-button {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  background-color: var(--color-accent-1);
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-button:hover {
  background-color: var(--color-accent-2);
}

/* Links styling */
.auth-link {
  color: var(--color-accent-1);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.auth-link:hover {
  color: var(--color-accent-2);
  text-decoration: underline;
}

/* OTP input styling */
.otp-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.otp-input {
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.otp-input:focus {
  border-color: var(--color-accent-1) !important;
  box-shadow: 0 0 0 3px rgba(var(--color-accent-1-rgb), 0.1) !important;
}

@media (max-width: 480px) {
  .otp-input {
    width: 40px;
    height: 50px;
    font-size: 20px;
    margin: 0 2px;
  }
}

/* Alert styling */
.auth-alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.auth-alert-danger {
  background-color: #ffe5e5;
  color: #d63031;
  border: 1px solid #fab1a0;
}

.auth-alert-success {
  background-color: #e5f9e0;
  color: #00b894;
  border: 1px solid #55efc4;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .auth-title {
    font-size: 24px;
  }

  .auth-subtitle {
    font-size: 14px;
  }

  .auth-input input {
    padding: 12px 15px;
    font-size: 14px;
  }

  .auth-button {
    padding: 12px;
    font-size: 14px;
  }
}

/* Animation for form appearance */
@keyframes formAppear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form-container {
  animation: formAppear 0.5s ease forwards;
}

/* Enhanced Auth Forms CSS */

/* Form container styling */
.auth-form-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .auth-form-container {
    padding: 30px 20px;
  }
}

/* Form title styling */
.auth-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-dark-1);
}

.auth-subtitle {
  font-size: 16px;
  color: var(--color-light-1);
  margin-bottom: 30px;
}

/* Input field styling */
.auth-input {
  position: relative;
  margin-bottom: 25px;
}

.auth-input input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.auth-input input:focus {
  border-color: var(--color-accent-1);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-1-rgb), 0.1);
}

.auth-input label {
  position: absolute;
  top: -10px;
  left: 15px;
  background: white;
  padding: 0 5px;
  font-size: 14px;
  color: var(--color-light-1);
}

/* Button styling */
.auth-button {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  background-color: var(--color-accent-1);
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-button:hover {
  background-color: var(--color-accent-2);
}

/* Links styling */
.auth-link {
  color: var(--color-accent-1);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.auth-link:hover {
  color: var(--color-accent-2);
  text-decoration: underline;
}

/* OTP input styling */
.otp-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.otp-input {
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.otp-input:focus {
  border-color: var(--color-accent-1);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-1-rgb), 0.1);
}

.row {
  --bs-gutter-x: 0px !important;
}

@media (max-width: 480px) {
  .otp-input {
    width: 40px;
    height: 50px;
    font-size: 20px;
    margin: 0 2px;
  }
}

/* Alert styling */
.auth-alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.auth-alert-danger {
  background-color: #ffe5e5;
  color: #d63031;
  border: 1px solid #fab1a0;
}

.auth-alert-success {
  background-color: #e5f9e0;
  color: #00b894;
  border: 1px solid #55efc4;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .auth-title {
    font-size: 24px;
  }

  .auth-subtitle {
    font-size: 14px;
  }

  .auth-input input {
    padding: 12px 15px;
    font-size: 14px;
  }

  .auth-button {
    padding: 12px;
    font-size: 14px;
  }
}

/* Animation for form appearance */
@keyframes formAppear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form-container {
  animation: formAppear 0.5s ease forwards;
}