.modal.login {
  visibility: visible;
}

.modal .primary {
  font-size: 14px;
}

.modal .primary.submit {
  font-weight: 400;
  background: var(--Y500);
}

.modal {
  width: 440px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 30px;
  z-index: 10;
  line-height: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 8px -4px rgba(10, 13, 18, 0.03), 0 20px 24px -4px rgba(10, 13, 18, 0.14);
}

.modal button {
  max-width: fit-content;
}

.modal .top span {
  font-size: 20px;
  font-weight: 700;
}

.modal .body {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.modal body button {
  font-weight: 700;
}

.modal .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.modal.profile {
  height: 28.875rem;
}

.continue-with-google {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--N100);
  border-radius: 6px;
  background: white;
  gap: 6px;
}

.continue-with-google span {
  color: var(--N400);
  font-size: 14px;
}

.edit-image-container {
  position: relative;
}

.edit-icon {
  width: 20px;
  height: 20px;
  fill: white;
}

.profile-tab-index {
  border: 2px solid var(--N100);
  margin-top: 30px;
  overflow: hidden;
}

.profile-tab-index button {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px;
  border: none;
  background: var(--N000);
  font-size: 9px;
  justify-content: space-between;
}

.profile-tab-index button div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-tab-index .divider {
  height: 2px;
  width: 100%;
  background: var(--N100);
}

.modal.add-edit-playlist-modal .album-title {
  font-size: 12px;
  color: var(--N300);
}

.input-field-heading {
  display: inline-block;
  font-size: 8px;
  color: var(--N300);
  margin-bottom: 12px;
}

.add-edit-playlist-modal .content .image-container,
.modal.post-song .image-container {
  width: 135px;
  height: 135px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background-color: var(--color-gray-100); /* TODO: Get a proper name for this value */
}

.modal .button-container {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: auto;
}

.modal.support-us .button-container a {
  width: 100%;
}

.modal.support-us .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal.support-us svg {
  margin-bottom: 10px;
}

.modal.support-us .title {
  font-size: 15px;
  margin-bottom: 20px;
}

.modal.support-us .paragraph {
  font-size: 10px;
  color: var(--N350);
  margin-bottom: 30px;
  line-height: 20px;
}

.modal.cry {
  width: 275px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.modal.cry .title {
  font-size: 15px;
}

.modal.cry .paragraph {
  font-size: 10px;
  color: var(--N350);
  line-height: 20px;
}

.modal.delete-playlist .content {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal.delete-playlist .content .primary {
  width: 118px;
  font-size: 11px;
}

.modal .primary.cancel {
  background: white;
}

.modal.post-song .file-upload-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal.post-song .file-upload-section .file-text-container {
  width: fit-content;
  padding: 10px 14px;
  background-color: var(--color-gray-100);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: inherit;
}

.file-text-container svg {
  width: 0.875rem;
  height: 0.875rem;
  filter: brightness(0) saturate(100%) invert(9%) sepia(0%) saturate(246%) hue-rotate(271deg)
    brightness(100%) contrast(98%);
}

.modal.post-song .file-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
}

.image-container {
  overflow: hidden;
  position: relative;
}

#image-loader {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.add-edit-playlist-modal svg path {
  stroke: var(--N200);
}

.loaded-image {
  width: 20px;
  height: 20px;
}

.loaded-image.full {
  width: auto;
  height: 100%;
}

.loaded-image.full-vertical {
  width: auto;
  height: 100%;
}

.item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item .title {
  font-size: 12px;
  color: var(--N300);
}

.modal .exit {
  padding: 8px;
}

.modal.restrict-user .body .content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal .body .content-image-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.modal.restrict-user .disable-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-restrict-user .disable-container p {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-300);
}

.modal.restrict-user select {
  width: 100%;
  background: white;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  appearance: none; /* removes default arrow in most browsers */
  -webkit-appearance: none; /* for Safari */
  -moz-appearance: none;
  background: url("/icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 1.0625rem;
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 623px) {
  .modal {
    width: 100%;
    transform: none;
    top: initial;
    bottom: 0;
    left: 0;
    transform: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
}

@media (max-width: 480px) {
  .modal.more a {
    font-size: 10px;
    padding: 20px;
    width: 100%;
    align-items: center;
  }

  .modal.more a:hover {
    background: var(--U200) !important;
  }
}
