
.generic_modal {
  background-color: white;
  border: none;
  border-radius: 16px;
  box-sizing: border-box;
  display: none;
  max-width: 526px;
  padding: 24px;
  width: 100%;
}

.generic_modal * {
  box-sizing: border-box;
}

.generic_modal[open] {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.generic_modal::backdrop {
  background-color: #2F373D77;
}

.generic_modal_header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

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

.generic_modal_label {
  color: #586A74;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.generic_modal_hint {
  color: #2E393F;
  font-size: 19px;
  font-weight: 700;
  line-height: 28px;
}

.generic_modal_footer {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  width: 100%;
}

.generic_modal_btn {
  border-radius: 8px;
  font-family: "Nunito Sans";
  font-size: 13px;
  font-weight: 700;
  height: 40px;
  line-height: 18px;
  padding: 7px 16px;
  position: relative;
  transition: background-color 100ms linear;
}

.generic_modal_btn_back {
  background-color: white;
  color: #2E393F;
}

.generic_modal_btn_back:hover {
  background-color: white;
}


.generic_modal_btn_next:disabled {
  background-color: #DDE5E9;
  cursor: default;
  pointer-events: none;
}

.generic_modal_btn_back:disabled {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

.generic_modal_btn_content_spin {
  height: auto;
  width: 32px;

  animation: btn-content-spin 1s linear infinite;
}

.generic_modal_btn_content_spin_absolute {
  height: auto;
  left: 50%;
  position: absolute;
  top: 50%;
  translate: -50% -50%;
  width: 20px;

  animation: btn-content-spin 1s linear infinite;
}

.instagram_tutorial_modal_header {
  position: relative;
}

.instagram_tutorial_modal_stepper {
  align-items: center;
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.instagram_tutorial_modal_step {
  align-items: center;
  background-color: transparent;
  display: flex;
  height: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 8px;
}

.instagram_tutorial_modal_step:hover {
  background-color: transparent;
}

.instagram_tutorial_modal_step span {
  background-color: #C2CCD3;
  border-radius: 50%;
  height: 4px;
  transition: background-color 100ms linear, transform 100ms linear;
  width: 4px;
}

.instagram_tutorial_modal_step_active span {
  background-color: #586A74;
  transform: scale(1.5);
}

.instagram_accounts_picker_modal_options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accounts_picker_row {
  align-items: center;
  background-color: #FBFCFC;
  border: 1px solid #D6DEE2;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 16px;
  padding: 16px;
  transition: filter 100ms linear;
}

.accounts_picker_row:hover:not(.accounts_picker_row_disabled) {
  filter: brightness(1.025);
}

.accounts_picker_row_disabled {
  cursor: not-allowed;
}

.accounts_picker_row_input:disabled {
  pointer-events: none;
}

.accounts_picker_row_accounts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accounts_picker_row_accounts > div {
  align-items: center;
  display: flex;
  gap: 12px;
}

.accounts_picker_row_text  {
  color: #2E393F;
  font-family: "Nunito Sans";
  font-size: 13px;
  line-height: 18px;
}

.accounts_picker_row_thumbnail  {
  align-items: center;
  border: 1px solid #D6DEE2;
  border-radius: 6px;
  color: #2E393F;
  display: flex;
  font-family: "Nunito Sans";
  font-size: 13px;
  height: 24px;
  justify-content: center;
  line-height: 18px;
  width: 24px;
}

.accounts_picker_row_warning {
  color: #B31211;
  font-size: 11px;
  line-height: 16px;
}

.instagram_error_modal_warning {
  align-items: center;
  background-color: #FCE8E8;
  border: 1px solid #F9D0D1;
  border-radius: 12px; 
  display: flex;
  flex-shrink: 0;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.instagram_relative_close_button {
  background-color: transparent;
  height: 24px;
  margin-left: auto;
  padding: 0;
  width: 24px;
}

.instagram_relative_close_button:disabled {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

.instagram_relative_close_button img {
  background-color: unset !important;
  height: unset !important;
}

.instagram_relative_close_button:hover {
  background-color: transparent;
}

.instagram_absolute_close_button {
  background-color: transparent;
  height: 16px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 16px;
}

.instagram_absolute_close_button:hover {
  background-color: transparent;
}

.instagram_absolute_close_button *,
.instagram_relative_close_button * {
  pointer-events: none;
}

.instagram_disconnecting_texts {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.instagram_disconnecting_texts p:first-child {
  color: #344149;
  font-size: 1rem;
  font-weight: 700;
  line-height: 24px;
  margin-top: 24px;
}

.instagram_disconnecting_texts p:last-child {
  color: #485c66;
  font-size: 0.875rem;
  line-height: 21px;
  margin-top: 8px;
}

@keyframes btn-content-spin {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}
