/* Password Input Component Styles */
.password-input-container {
  width: 100%;
}

.password-input {
  transition: all 0.2s ease-in-out;
  font-family: inherit;
}

.password-input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.password-input.error {
  border-color: #ef4444;
}

.password-input.error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.password-toggle {
  transition: color 0.2s ease-in-out;
  cursor: pointer;
}

.password-toggle:hover:not(:disabled) {
  color: #374151;
}

.password-toggle:disabled {
  opacity: 0.5;
}

.password-toggle svg {
  transition: transform 0.2s ease-in-out;
}

.password-toggle:hover:not(:disabled) svg {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .password-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}
/* TextArea Component Styles */
.textarea-container {
  width: 100%;
}

.textarea {
  transition: all 0.2s ease-in-out;
  font-family: inherit;
  min-height: 80px;
}

.textarea:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.textarea.error {
  border-color: #ef4444;
}

.textarea.error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}
