/* URL Cleaner tool only */

.page--clean-url {
  background-color: #f4f5f6;
}

.page--clean-url .tweak-parent-container {
  width: min(calc(100% - 2rem), 72rem);
  padding-bottom: 3rem;
  margin: 0 auto;
}

/* Layout for the action button section */
.page--clean-url .tweak-button-section {
  margin-top: 1rem;
}

.page--clean-url .tweak-ibtn-clear {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.page--clean-url .tweak-btn-clear {
  width: 86%;
  height: 2.25rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--accent);
  background-color: #f0f0f0;
  border: 1px solid var(--primary);
  border-radius: 999px;
  cursor: pointer;
}

.page--clean-url .tweak-button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 0 1rem;
}

.page--clean-url .tweak-button-container .tweak-action {
  width: calc(35% - 8px);
  margin-bottom: 1rem;
}

.page--clean-url .tweak-wide {
  width: 86%;
  height: 2.25rem;
  margin-top: 0.25rem;
}

.page--clean-url .tweak-remove-options2 {
  display: flex;
  width: 86%;
  justify-content: space-between;
  margin-block: 0.5rem 2rem;
}

.page--clean-url .tweak-round {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background-color: #f0f0f0;
  border: 1px solid var(--primary);
  border-radius: 8px;
}

.page--clean-url .tweak-round input[type='text'] {
  width: 30%;
  padding: 0.25rem;
  margin-right: 0.5rem;
  border: 0;
  border-radius: 8px;
}

.page--clean-url .tweak-remove-url {
  padding: 0.5rem;
  color: var(--primary);
  background-color: #fff;
  border: 1px solid var(--primary);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  white-space: nowrap;
}

.page--clean-url .tweak_extract {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.page--clean-url .tweak_extract button {
  padding: 0.25rem 0.6rem;
  color: #fff;
  background-color: var(--primary);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 48rem) {
  .page--clean-url .tweak-button-container .tweak-action {
    width: 47%;
    font-size: 0.75rem;
  }

  .page--clean-url #tweak-btn-copy,
  .page--clean-url #tweak-btn-dwn,
  .page--clean-url .tweak-btn-clear {
    width: 100%;
  }

  .page--clean-url #tweak-item-count-label {
    display: none;
  }

  .page--clean-url .tweak-remove-options2 {
    flex-direction: column;
    width: 100%;
  }

  .page--clean-url .tweak-round {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .page--clean-url .tweak-remove-url {
    font-size: 0.75rem;
  }
}
