.proxy-checker-page {
  padding-top: 40px;
  padding-bottom: 100px;
}

.proxy-checker-section {
  max-width: 785px;
  margin: auto;
  padding: 0 20px;
}

.proxy-checker-title {
  text-align: center;
  color: #0a1048;
  font-family: "GoogleSansBold";
  letter-spacing: -0.4px;
  font-size: clamp(24px, 4vw, 36px);
}

.proxy-checker-description {
  color: #5e6278;
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}

.subtitle-proxy-checker {
  color: #000000;
  font-size: 20px;
  font-family: "GoogleSansMedium";
}

.box-proxy-checker {
  border: 1px solid #eceef3;
  border-radius: 18px;
  background-color: #fff;
  padding: 20px 25px;
  box-shadow: 0 2px 14px rgba(8, 26, 62, 0.06);
  max-width: 785px;
  margin: auto;
}

.result-proxy-checker {
  max-width: 1170px;
  margin: auto;
  background-color: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.result-proxy-checker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 25px 16px 25px;
}

.result-proxy-checker__header__left {
  display: flex;
  align-items: start;
  gap: 15px;
  flex: 1;
}

.result-proxy-checker__header__left__content__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.result-proxy-checker__header__left__content__title {
  font-size: 24px;
  font-family: "GoogleSansBold";
  color: #181D27;
}

.checking-status {
  background: #F0F9FF;
  border: 1px solid #B9E6FE;
  padding: 2px 8px;
  color: #0062FE;
  font-size: 12px;
  border-radius: 16px;
  font-family: "GoogleSansMedium";
  display: flex;
  align-items: center;
  gap: 6px;
}

.checking-status__spiner {
  width: 12px;
  height: 12px;
  border: 2px solid #ddd;
  border-top: 2px solid #0062FE;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #0062FE;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.result-proxy-checker__header__left__content__description {
  font-size: 14px;
  color: #535862;
}

.result-proxy-checker__header__right {
  display: flex;
  align-items: center;
  background: #FAFAFA;
  border: 1px solid #D5D7DA;
  padding: 0 0 0 0.75rem;
  border-radius: 12px;
  color: #414651;
}

.result-proxy-checker__header__right select {
  font-size: 15px;
  border-radius: 16px;
  outline-style: none;
  cursor: pointer;
  padding: 0.5rem 2rem 0.5rem 0.8rem;
}

.btn-back-checker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ebe6e7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-back-checker:hover {
  background-color: #d4d0d1;
}

.btn-back-checker i {
  font-size: 20px;
  color: #4a5565;
}

.result-proxy-checker .table-proxy {
  max-height: calc(100vh - 450px);
  overflow: auto;
  border-radius: 10px;
  /* border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.result-proxy-checker .table-proxy table {
  width: 100%;
}

.result-proxy-checker .table-proxy table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #FDFDFD;
}

.result-proxy-checker .table-proxy table thead tr th {
  padding: 10px 10px;
  color: #A4A7AE;
  font-family: "GoogleSansMedium";
  font-size: 14px;
  text-transform: uppercase;
  font-weight: lighter;
}

.result-proxy-checker .table-proxy table thead tr th::before,
.result-proxy-checker .table-proxy table thead tr th::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #E9EAEB;
}

.result-proxy-checker .table-proxy table thead tr th::before {
  top: 0;
}

.result-proxy-checker .table-proxy table thead tr th::after {
  bottom: 0;
}

.result-proxy-checker .table-proxy table tbody tr {
  border: none;
}

.result-proxy-checker .table-proxy table tbody tr td {
  padding: 8px 10px;
  font-size: 15px;
  color: #717680;
  font-family: "GoogleSansMedium";
}

.result-proxy-checker .table-proxy table thead tr th:first-child,
.result-proxy-checker .table-proxy table tbody tr td:first-child {
  padding-left: 25px;
  text-align: center;
}

.result-proxy-checker .table-proxy table tbody tr td:nth-child(1),
.result-proxy-checker .table-proxy table tbody tr td:nth-child(2) {
  color: #252B37;
}

.result-proxy-checker .table-proxy table thead tr th:last-child,
.result-proxy-checker .table-proxy table tbody tr td:last-child {
  text-align: right;
  text-align: -webkit-right;
  padding-right: 25px;
}

.result-proxy-checker .proxy-string {
  max-width: 190px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.action-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-green {
  border: 1px solid #ABEFC6;
  background-color: #ECFDF3;
  color: #067647;
}

.action-red {
  background: #FFFAEB;
  border: 1px solid #FEDF89;
  color: #B54708;
}

.btn-copy-all {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #0062FE;
  font-size: 14px;
  padding: 8px 15px;
  min-width: 110px;
  border-radius: 32px;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.0509803922), 0px -2px 0px 0px rgba(10, 13, 18, 0.0509803922) inset, 0px 0px 0px 1px rgba(10, 13, 18, 0.1803921569) inset;
  border: 1px solid #B9E6FE;
  background: #F0F9FF;
  white-space: nowrap;
}

.btn-copy-all img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(7471%) hue-rotate(214deg) brightness(100%) contrast(102%);
}

.action-box-dot {
  width: 6px;
  height: 6px;
  border-radius: 50px;
}

.action-green .action-box-dot {
  background-color: #067647;
}

.action-red .action-box-dot {
  background-color: #B54708;
}

.result-proxy-checker .table-proxy table tbody tr button {
  border: 1px solid #D5D7DA;
  color: #414651;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
  font-family: "GoogleSansBold";
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.proxy-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.proxy-actions .proxy-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proxy-actions .proxy-filter .proxy-filter__label {
  font-size: 16px;
  color: #000;
  text-wrap: nowrap;
  font-family: "GoogleSansMedium";
}

.proxy-actions .proxy-filter .proxy-filter__select {
  max-width: 180px;
  outline-style: none;
  font-size: 15px;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  cursor: pointer;
  border: 1px solid #C8C8CC;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.0705882353);
  border-radius: 8px;
}

.proxy-checker-textbox {
  position: relative;
  border: 1px dashed oklch(87.2% 0.01 258.338deg);
  border-radius: 12px;
  padding: 1rem 0 2px 1.2rem;
  margin: 1rem 0;
  font-size: 16px;
}

.proxy-checker-textbox [x-ref=lines] {
  color: #C8C8CC;
  overflow: hidden;
  text-align: right;
}

.proxy-checker-textbox textarea {
  flex: 1;
  resize: none;
  overflow: auto;
  margin-left: 0.75rem;
  outline-style: none;
}

.proxy-checker-textbox textarea.nowrap {
  white-space: nowrap;
}

.proxy-actions__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0062FE;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  font-family: "GoogleSansBold";
  height: 40px;
  padding: 0 20px;
  border-radius: 32px;
  border-image-source: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.0509803922), 0px -2px 0px 0px rgba(10, 13, 18, 0.0509803922) inset, 0px 0px 0px 1px rgba(10, 13, 18, 0.1803921569);
}

.proxy-actions__submit:disabled {
  cursor: not-allowed;
  background-color: #629EFF;
}

.result-proxy-checker__footer {
  gap: 20px;
  background-color: #FAFAFA;
  display: flex;
  align-items: center;
  padding: 20px 25px 20px 25px;
  flex-wrap: wrap;
}

.result-proxy-checker__footer__left {
  color: #717680;
  width: 100%;
}

.result-proxy-checker__footer .btn-back-check,
.result-proxy-checker__footer .btn-new-check {
  padding: 0 15px;
  height: 42px;
  font-size: 15px;
  cursor: pointer;
  gap: 8px;
  font-family: "GoogleSansMedium";
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-proxy-checker__footer .btn-back-check {
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.0509803922), 0px -2px 0px 0px rgba(10, 13, 18, 0.0509803922) inset, 0px 0px 0px 1px rgba(10, 13, 18, 0.1803921569) inset;
  border: 1px solid #D5D7DA;
  border-radius: 32px;
  color: #414651;
  margin-left: auto;
}

.result-proxy-checker__footer .btn-new-check {
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.0509803922), 0px -2px 0px 0px rgba(10, 13, 18, 0.0509803922) inset, 0px 0px 0px 1px rgba(10, 13, 18, 0.1803921569) inset;
  border: 2px solid;
  border-image-source: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 32px;
  color: #fff;
  background-color: #0062FE;
}

.notify {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 20px 10px 20px;
  background-color: #FEF3F2;
  border-radius: 12px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.notify img {
  object-fit: contain;
}

.notify .notify-content {
  flex: 1;
}

.notify .notify-title {
  font-size: 16px;
  color: #F04438;
  font-family: "GoogleSansBold";
}

.notify-text {
  font-size: 14px;
  color: #F04438;
}

.btn-remove,
.btn-remove-mobile {
  display: flex;
  color: #F04438;
  background-color: transparent;
  text-decoration: underline;
  gap: 8px;
  cursor: pointer;
  font-family: "GoogleSansMedium";
  font-size: 14px;
}

.btn-remove img,
.btn-remove-mobile img {
  object-fit: contain;
}

.btn-remove-mobile {
  display: none;
}

.format-proxy-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #000;
  flex-wrap: wrap;
}

.format-proxy-group img {
  margin-bottom: 2px;
}

.format-proxy-group .format-proxy {
  background-color: #F5F5F5;
  padding: 2px 8px;
  border-radius: 4px;
  color: #717680;
  font-size: 14px;
}

.filter-select {
  position: relative;
  width: 140px;
  outline: none;
}

.filter-select__trigger {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  padding: 10px;
  cursor: pointer;
  border-radius: 6px;
  background: #FAFAFA;
  gap: 10px;
  font-size: 15px;
  border-radius: 12px;
  outline-style: none;
  cursor: pointer;
  padding: 0.5rem 0.8rem 0.5rem 0.8rem;
  outline: none;
  position: relative;
}

.filter-select__trigger::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='1518' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 7L10 12L15 7' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.filter-select__label {
  flex: 1;
}

.filter-select__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ddd;
  background: white;
  display: none;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  border-radius: 6px;
  z-index: 10;
  overflow: hidden;
}

.filter-select__dropdown li {
  padding: 10px;
  cursor: pointer;
}

.filter-select__dropdown li:hover {
  background: #FAFAFA;
}

.filter-select__dropdown li.active {
  background: #F0F9FF;
  font-weight: normal;
  font-family: "GoogleSansMedium";
}

.filter-select.show .filter-select__dropdown {
  display: block;
}

img[alt=ic-proxies] {
  display: none;
}

.list-proxy {
  display: none;
}

@media (max-width: 575px) {
  .proxy-checker-textbox {
    padding: 0.5rem 0 0 0.5rem;
  }
  .btn-remove {
    display: none;
  }
  .btn-remove-mobile {
    display: flex;
  }
  .btn-remove-mobile {
    margin: 0 auto 20px;
    font-size: 16px;
  }
  .proxy-actions {
    gap: 10px;
  }
  .proxy-filter__label {
    width: 35%;
  }
  .proxy-actions__submit svg {
    display: none;
  }
  .proxy-checker-description {
    font-size: 18px;
    color: #5e6278;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .result-proxy-checker__header__left__content__title {
    font-size: 20px;
  }
  .result-proxy-checker__header__left__content__description,
  .filter-select__label,
  [alt=dropdown] {
    display: none;
  }
  .filter-select__trigger {
    width: fit-content;
  }
  .result-proxy-checker__footer {
    gap: 10px;
    flex-direction: column;
  }
  .btn-back-check,
  .btn-new-check {
    font-size: 16px;
    width: 100%;
  }
  .list-proxy {
    display: block;
    padding: 0 20px;
    max-height: calc(100vh - 300px);
    overflow: auto;
  }
  .filter-select {
    width: fit-content;
  }
  .filter-select__dropdown {
    width: 100px;
    right: 0;
    left: auto;
  }
  .table-proxy {
    display: none;
  }
  .list-proxy .card-proxy {
    border-bottom: 1px solid #E9EAEB;
    padding: 10px;
    font-family: "GoogleSansMedium";
  }
  .list-proxy .card-proxy:nth-child(1) {
    border-top: 1px solid #E9EAEB;
  }
  .list-proxy .card-proxy .card-proxy__header {
    display: flex;
    font-size: 16px;
    color: #252B37;
    margin-bottom: 15px;
    gap: 8px;
  }
  .list-proxy .card-proxy .card-proxy__header > div:nth-child(1) {
    color: #535862;
  }
  .list-proxy .card-proxy .card-proxy__header > div:nth-child(2) {
    max-width: 50%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .list-proxy .card-proxy .card-proxy__header .action-box {
    font-size: 12px;
    margin-left: auto;
  }
  .list-proxy .card-proxy .card-proxy__body {
    color: #717680;
    font-size: 14px;
    display: flex;
    align-items: center;
  }
  .card-proxy__body__left {
    flex: 1;
  }
  .text-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .card-proxy__body__left__item {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .card-proxy__body__left__item:nth-child(1) {
    margin-bottom: 8px;
  }
  .btn-copy-proxy {
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.0509803922), 0px -2px 0px 0px rgba(10, 13, 18, 0.0509803922) inset, 0px 0px 0px 1px rgba(10, 13, 18, 0.1803921569) inset;
    border: 1px solid #D5D7DA;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
  .btn-copy-proxy img {
    height: 18px;
    object-fit: contain;
  }
}
@media (max-width: 760px) {
  .proxy-actions__filters {
    flex-direction: column;
  }
  .proxy-filter.proxy-filter--type,
  .proxy-filter.proxy-filter--type .proxy-filter__select,
  .proxy-filter.proxy-filter--format {
    width: 100%;
  }
  .proxy-filter.proxy-filter--type > .proxy-filter__label,
  .proxy-filter.proxy-filter--format > .proxy-filter__label {
    font-size: 16px;
  }
}
@media (max-width: 922px) {
  .proxy-actions {
    flex-direction: column;
  }
  .proxy-actions__filters,
  .proxy-actions__submit {
    width: 100%;
  }
}
@media (min-width: 576px) {
  .proxy-checker-description {
    font-size: 16px;
  }
}
@media (min-width: 768px) {
  .proxy-checker-description {
    font-size: 18px;
  }
  .result-proxy-checker__footer .result-proxy-checker__footer__left {
    width: fit-content;
  }
  img[alt=ic-proxies] {
    display: block;
    margin-top: 3px;
  }
}
@media (min-width: 992px) {
  .result-proxy-checker .table-proxy table thead tr th {
    padding: 10px 10px;
  }
  .btn-copy-all {
    font-size: 15px;
    padding: 8px 20px;
  }
  .result-proxy-checker .table-proxy table tbody tr td {
    padding: 10px 10px;
    font-size: 16px;
  }
  .result-proxy-checker__footer {
    padding: 20px 32px 20px 32px;
  }
  .result-proxy-checker__footer .btn-new-check,
  .result-proxy-checker__footer .btn-back-check {
    padding: 10px 20px;
    font-size: 16px;
    height: 48px;
  }
  .result-proxy-checker__footer .btn-back-check {
    min-width: 150px;
  }
  .result-proxy-checker .table-proxy table thead tr th:last-child,
  .result-proxy-checker .table-proxy table tbody tr td:last-child {
    padding-right: 32px;
  }
  .result-proxy-checker__header {
    padding: 20px 32px 16px 32px;
    gap: 20px;
  }
  .result-proxy-checker .table-proxy {
    max-height: calc(100vh - 500px);
  }
  .result-proxy-checker__footer__left {
    font-size: 18px;
  }
  .result-proxy-checker__header__left {
    gap: 15px;
  }
  .filter-select {
    width: 160px;
  }
}
