/* Container for label and input */
.input-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 10px;
  position: relative;
}

/* Label styling */
.input-label {
  font-family: var(--font-family);
  font-size: small;
  margin: 0 4px;
  margin-bottom: 4px;
  display: block;
}

/* Input field styling */
.custom-input {
  width: 100%;
  height: 40px;
  padding: 10px;
  margin-bottom: 10px;
  /* Add margin below input */
  font-size: 16px;
  border-radius: 8px;
  color: var(--bg-text);
  font-family: var(--font-family);
  background-color: var(--background);
  font-weight: bold;
  border: 1px solid var(--foreground);
  outline: none;
  box-sizing: border-box;
}

.custom-input:focus {
  border: 2px solid var(--foreground);
  box-shadow: 0 0 5px rgba(var(--background), 0.5);
}

/* Textarea styling */
.custom-textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  margin-bottom: 10px;
  font-family: var(--font-family);
  font-size: 16px;
  border-radius: 8px;
  color: var(--foreground);
  background-color: transparent;
  font-weight: bold;
  border: 1px solid var(--foreground);
  outline: none;
  box-sizing: border-box;
  resize: vertical;
  /* Allow vertical resizing */
}

.custom-textarea:focus {
  border: 2px solid var(--foreground);
  box-shadow: 0 0 5px rgba(var(--foreground), 0.5);
}

/* Toggle Password Button Styling */
.toggle-password-button {
  width: fit-content;
  height: fit-content;
  background: none;
  cursor: pointer;
  outline: none;
  border: none;
  position: absolute;
  right: 0.5rem;
  top: 60%;
  padding: 0;
  opacity: 0.7;
  /* Slightly reduced opacity for toggle icon */
  transition: opacity 0.3s ease;
  /* Smooth opacity transition on hover */
}

.toggle-password-button:hover {
  opacity: 1;
}

.toggle-password-button img {
  display: block;
  width: 20px;
  height: 20px;
}

/* Photo preview container */
.photo-preview-container {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.photo-preview-container p {
  margin-bottom: 5px;
  font-size: 0.9em;
}

.photo-preview-container img {
  display: block;
  max-width: 480px;
  height: 200px;
  border: 1px solid #444;
  border-radius: 4px;
  object-fit: cover;
}
