﻿.cd-form-wrapper {
  position: relative;
  width: 100%;
}

@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.cd-loading {
  animation: rotating 2s linear infinite;
}

.cd-form-wrapper .cd-button-group {
  justify-content: center;
}

.cd-form-info,
.cd-form-info a {
  color: #D6D5D5;
  font-size: 0.875rem;
  text-align: center;
}

.cd-form-info a {
  text-decoration: underline;
  cursor: pointer;
}

.cd-droparea {
  width: 100%;
  background: #fff;
  border: 2px dashed #D4D4D4;
  margin: 30px 0;
}

.cd-droparea--url {
  position: relative;
  border: 1px solid rgba(212, 212, 212, 0.29);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-result-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.cd-result-centered .cd-form-result-keywords {
  width: 100%;
  max-width: 500px;
}
.cd-result-centered .cd-form-result-keywords .cd-grid {
  width: 100%;
  justify-content: space-between;
}

textarea.result {
  background-color: rgba(227, 242, 253, 0.5);
}

.cd-textarea {
  background: #FFFFFF;
  border: 1.7px solid rgba(212, 212, 212, 0.29);
  box-sizing: border-box;
  height: 200px;
  width: 100%;
  padding: 0 1rem;
  resize: none;
  padding: 20px;
}

.cd-textarea-grid-2 {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.input-textarea,
.output-textarea {
  border: 1.7px solid rgba(212, 212, 212, 0.29);
  padding: 20px;
  flex: 1 1 50%;
}

.cd-textarea:focus {
  outline: none;
}

.cd-textarea::-webkit-scrollbar {
  width: 4px;
  margin-right: 10px;
}

.cd-textarea::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #F2F2F2;
}

.cd-textarea::-webkit-scrollbar-thumb {
  background-color: #0054FA;
  height: 24px;
}

.cd-textarea-borderless {
  border: none;
  outline: none;
  text-align: center;
}

.cd-textarea {
  height: 150px;
}

.cd-textarea {
  border: none;
  padding: 0%;
}

.cd-params {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.cd-src-params {
  display: flex;
  align-items: center;
  min-width: 450px;
}
.cd-src-params label {
  width: 200px;
}
.pt-1 {
  padding-top: 1em;
}

.mr-20 {
  margin-right: 20px;
}

.mr-30 {
  margin-right: 30px;
}

.mr-60 {
  margin-right: 60px;
}

.ml-20 {
  margin-left: 20px;
}

.cd-input-sitemap {
  background: #FFFFFF;
  border: 1px solid #c1c1c1;
  box-sizing: border-box;
  border-radius: 8px;
  height: 42px;
  width: 100%;
  padding: 0 1rem;
  font-size: 16px;
}

.cd-button-result {
  background-color: var(--browse-bg-color);
  color: var(--browse-text-color);
  width: 70%;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
}

.cd-center-content {
  justify-content: center;
  display: flex;
}

.cd-choice-tab {
  cursor: pointer;
  color: #72A1FF;
  padding-bottom: 4px;
  border-bottom: 2px #fff solid;
}

.cd-choice-tab:hover {
  border-bottom: 2px #72A1FF solid;
}

.apply-tab {
  border-bottom: 2px #72A1FF solid;
}

@media (max-width: 1499px) {
  .cd-paraphrase {
    flex-direction: column;
  }
}
@media (max-width: 1029px) {
  .cd-choice {
    width: 150px;
    height: 32px;
  }
}
@media (max-width: 996px) {
  .cd-button-section {
    flex: auto;
  }
  .cd-textarea-grid-2 {
    flex-direction: column;
  }
  .cd-paraphrase {
    flex-direction: row;
  }
}
@media (max-width: 869px) {
  .cd-paraphrase-and-convert,
  .cd-paraphrase,
  .cd-buttons-section {
    flex-direction: column;
  }
  .cd-buttons-section {
    gap: 20px;
  }
}
