.auth-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.auth-container span {
  font-size: 1em;
  color: #333333;
}

.auth-container .btn {
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #fc9251;
  color: #333333;
  font-weight: bold;
}

.auth-container .btn:hover {
  background-color: #d66d31;
}

.auth-container .btn-show-signup {
  background-color: #ecdeb2;
  border: 1px solid #b3a780;
}

.auth-container .btn-show-signup:hover {
  background-color: #dfce9f;
}

.auth-container .btn-signout {
  background-color: #ffc29c;
}

.auth-container .btn-signout:hover {
  background-color: #e09970;
}

.auth-modal-title {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: left;
}

.auth-form .btn {
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  align-self: flex-end;
  background-color: #fc9251;
  font-weight: bold;
  margin-top: 10px;
}

.auth-form .btn:hover {
  background-color: #d66d31;
}

.auth-error-message {
  color: #ff4d4d;
  background-color: #ffe6e6;
  border: 1px solid #ff4d4d;
  padding: 10px;
  border-radius: 5px;
  display: none;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
}

.top-controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
}

.upload-section {
  flex-grow: 1;
  max-width: 65%;
}

.top-controls .image-form,
.top-controls .hidden-image-form {
  margin-top: 0px;
}

.top-controls .auth-container {
  margin-top: 10px;
}

/* For mobile */
@media (max-width: 576px) {
  .top-controls {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 15px;
  }

  .upload-section {
    max-width: 100%;
  }

  .auth-container {
    justify-content: center;
  }
}
