:root {
  --soul-profile-color: #d99896;
}

.soul-profile-dialog {
  border: 0;
  border-radius: 0.65rem;
  box-shadow: 0 1rem 3rem #0003;
  color: #343a40;
  font: inherit;
  margin: auto;
  max-height: 90vh;
  max-width: 30rem;
  overflow: auto;
  padding: 1.5rem;
  width: calc(100% - 2rem);
}

.soul-profile-dialog::backdrop {
  background: #0008;
}

.soul-profile-dialog h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.soul-profile-content,
.soul-profile-content label {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.soul-profile-content label {
  margin-bottom: 0.75rem;
}

.soul-profile-color {
  border: 1px solid #d1d3e2;
  border-radius: 0.35rem;
  cursor: pointer;
  height: 3rem;
  padding: 0.25rem;
  width: 100%;
}

.soul-profile-photo-editor {
  align-self: center;
  border-radius: 50%;
  height: 8rem;
  object-fit: cover;
  width: 8rem;
}

.soul-profile-file-label {
  color: #343a40;
  font-weight: 600;
}

.soul-profile-file-input {
  background: #fff;
  border: 2px dashed #858796;
  border-radius: 0.45rem;
  color: #343a40;
  cursor: pointer;
  display: block;
  min-height: 3.25rem;
  padding: 0.5rem;
  width: 100%;
}

.soul-profile-file-input::file-selector-button {
  background: var(--soul-profile-color);
  border: 0;
  border-radius: 0.3rem;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  margin-right: 0.75rem;
  padding: 0.6rem 0.9rem;
}

.soul-profile-file-input::-webkit-file-upload-button {
  background: var(--soul-profile-color);
  border: 0;
  border-radius: 0.3rem;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  margin-right: 0.75rem;
  padding: 0.6rem 0.9rem;
}

.soul-profile-file-input:focus-visible {
  border-color: var(--soul-profile-color);
  outline: 3px solid color-mix(in srgb, var(--soul-profile-color), transparent 65%);
  outline-offset: 2px;
}

.soul-profile-photo-large {
  border-radius: 0.35rem;
  display: block;
  margin: 0 auto;
  max-height: 65vh;
  max-width: 100%;
  object-fit: contain;
}

.soul-profile-help {
  color: #6c757d;
}

.soul-profile-status {
  background: #f1f4fb;
  border-radius: 0.25rem;
  margin: 0 0 1rem;
  min-height: 0.5rem;
  padding: 0.65rem;
}

.soul-profile-status:empty {
  display: none;
}

.soul-profile-error {
  background: #fff0f0;
  color: #a11b1b;
}

.soul-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.soul-profile-primary,
.soul-profile-secondary {
  border: 1px solid var(--soul-profile-color);
  border-radius: 0.35rem;
  cursor: pointer;
  font: inherit;
  padding: 0.4rem 0.8rem;
}

.soul-profile-primary {
  background: var(--soul-profile-color);
  color: #fff;
}

.soul-profile-secondary {
  background: #fff;
  color: #343a40;
}

.soul-profile-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.soul-profile-avatar {
  cursor: zoom-in;
}

.btn-primary,
.bg-primary,
.badge-primary,
.progress-bar,
.soul-multi-primary,
.soul-move-primary {
  background-color: var(--soul-profile-color) !important;
  border-color: var(--soul-profile-color) !important;
}

.text-primary,
a:not(.dropdown-item):not(.btn):not(.nav-link):not(.sidebar-brand):not(.collapse-item) {
  color: var(--soul-profile-color) !important;
}

.btn-outline-primary {
  border-color: var(--soul-profile-color) !important;
  color: var(--soul-profile-color) !important;
}

.btn-outline-primary:hover,
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--soul-profile-color) !important;
  border-color: var(--soul-profile-color) !important;
}

#accordionSidebar.bg-gradient-primary,
.sidebar.bg-gradient-primary {
  background-color: var(--soul-profile-color);
  background-image: linear-gradient(180deg, var(--soul-profile-color) 10%, color-mix(in srgb, var(--soul-profile-color), #000 25%) 100%);
}

#sidebarToggle,
#sidebarToggleTop {
  background-color: var(--soul-profile-color);
}
