﻿.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;
}

.list li {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 0px;
}

.list li:hover {
  cursor: pointer;
  color: #0054FA;
}

.search-input-block {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  height: 44px;
  width: 160px;
}

.search-input {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #111111;
  border: none;
  width: 100%;
}

.search-input:focus {
  border: none;
  outline: none;
}

.search-item-list {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 20px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-height: 200px;
  overflow-x: hidden;
  overflow-y: scroll;
  z-index: 15;
  background: #FFFFFF;
}

.icon-clear {
  cursor: pointer;
}

.show {
  display: block;
}

.search-item-list::-webkit-scrollbar {
  width: 4px;
  margin-right: 10px;
}

.search-item-list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #F2F2F2;
}

.search-item-list::-webkit-scrollbar-thumb {
  background-color: #0054FA;
  height: 24px;
}

.cd-choice-search-block {
  position: relative;
  cursor: pointer;
  width: 100%;
  display: inline-block;
  height: 40px;
}

.cd-change-search-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #3B3E45;
  background-color: #FCFCFC;
}

.change-search-border {
  border-radius: 4px;
}

.cd-change-search-list {
  display: none;
  position: absolute;
  background-color: #FCFCFC;
  width: 100%;
  margin-top: 4px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 20px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.cd-change-search-list ul {
  padding: 8px 16px;
  list-style-type: none;
}

.cd-change-search-list ul li {
  padding: 8px 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
}

.cd-change-search-list ul li:hover {
  cursor: pointer;
  color: #0054FA;
}

.show {
  display: block;
  z-index: 5;
}

select:focus {
  border: 0px;
  outline: 0px;
}

.query-input__keyword__row {
  display: flex;
  flex: 100%;
}
.query-input__keyword__row .query-input__keyword__place {
  flex: 100%;
}

.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;
  }
}
