@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.dtc-tool-wrap,
.dtc-tool-wrap div,
.dtc-tool-wrap section,
.dtc-tool-wrap header,
.dtc-tool-wrap h1,
.dtc-tool-wrap h2,
.dtc-tool-wrap p,
.dtc-tool-wrap span,
.dtc-tool-wrap label,
.dtc-tool-wrap button,
.dtc-tool-wrap input,
.dtc-tool-wrap svg {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  font-size: 16px;
}

.dtc-tool-wrap {
  position: relative;
  width: 100%;
  max-width: none;
  overflow-x: hidden;
  border-radius: 0 !important;
  padding: 32px;
  color: #f8fbff;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 214, 201, 0.34), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 193, 69, 0.28), transparent 28%),
    linear-gradient(135deg, #10233f 0%, #1d3560 42%, #51295e 100%);
}

.dtc-tool-wrap .dtc-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.dtc-tool-wrap .dtc-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  text-align: center;
}

.dtc-tool-wrap .dtc-title {
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  color: #ffffff;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.dtc-tool-wrap .dtc-subtitle {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(235, 245, 255, 0.9);
}

.dtc-tool-wrap .dtc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.dtc-tool-wrap .dtc-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dtc-tool-wrap .dtc-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 244, 232, 0.42);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.34);
}

.dtc-tool-wrap .dtc-input-panel,
.dtc-tool-wrap .dtc-result-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dtc-tool-wrap .dtc-field {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

.dtc-tool-wrap .dtc-field:last-of-type {
  margin-bottom: 0;
}

.dtc-tool-wrap .dtc-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.dtc-tool-wrap .dtc-help {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(235, 245, 255, 0.78);
}

.dtc-tool-wrap .dtc-input,
.dtc-tool-wrap .dtc-search,
.dtc-tool-wrap .dtc-dropdown-toggle {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(226, 242, 255, 0.34);
  border-radius: 12px;
  outline: none;
  color: #ffffff;
  background: rgba(9, 21, 39, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.dtc-tool-wrap .dtc-input:focus,
.dtc-tool-wrap .dtc-search:focus,
.dtc-tool-wrap .dtc-dropdown-toggle:focus-visible {
  border-color: #7df4e8;
  box-shadow: 0 0 0 4px rgba(125, 244, 232, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: rgba(8, 20, 38, 0.82);
}

.dtc-tool-wrap .dtc-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.85;
}

.dtc-tool-wrap .dtc-dropdown {
  position: relative;
  width: 100%;
}

.dtc-tool-wrap .dtc-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.dtc-tool-wrap .dtc-dropdown-text {
  min-width: 0;
  overflow: hidden;
  font-size: 0.96rem;
  font-weight: 650;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dtc-tool-wrap .dtc-chevron {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #7df4e8;
  transition: transform 160ms ease;
}

.dtc-tool-wrap .dtc-chevron svg,
.dtc-tool-wrap .dtc-btn svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.dtc-tool-wrap .dtc-dropdown.is-open .dtc-chevron {
  transform: rotate(180deg);
}

.dtc-tool-wrap .dtc-options {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 9999;
  display: none;
  max-height: 240px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(125, 244, 232, 0.48);
  border-radius: 14px;
  color: #f8fbff;
  background: #071426;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.48);
}

.dtc-tool-wrap .dtc-dropdown.is-open .dtc-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dtc-tool-wrap .dtc-dropdown.is-up .dtc-options {
  top: auto;
  bottom: calc(100% + 8px);
}

.dtc-tool-wrap .dtc-search {
  min-height: 42px;
  color: #ffffff;
  background: #10233f;
}

.dtc-tool-wrap .dtc-option-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 178px;
  overflow-y: auto;
  padding-right: 2px;
}

.dtc-tool-wrap .dtc-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  color: #f8fbff;
  background: transparent;
  transition: background 140ms ease, color 140ms ease;
}

.dtc-tool-wrap .dtc-option:hover,
.dtc-tool-wrap .dtc-option.is-active {
  color: #03111f;
  background: #7df4e8;
}

.dtc-tool-wrap .dtc-option[aria-selected="true"] {
  color: #061426;
  background: #ffc145;
}

.dtc-tool-wrap .dtc-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.dtc-tool-wrap .dtc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dtc-tool-wrap .dtc-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.dtc-tool-wrap .dtc-btn:hover {
  transform: translateY(-1px);
}

.dtc-tool-wrap .dtc-btn-primary {
  flex: 1 1 auto;
  color: #061426;
  background: linear-gradient(135deg, #7df4e8, #ffc145);
  box-shadow: 0 14px 28px rgba(125, 244, 232, 0.2);
}

.dtc-tool-wrap .dtc-btn-primary:hover {
  box-shadow: 0 18px 34px rgba(255, 193, 69, 0.3);
}

.dtc-tool-wrap .dtc-btn-primary span {
  width: 19px;
  height: 19px;
}

.dtc-tool-wrap .dtc-btn-clear {
  flex: 0 0 auto;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.dtc-tool-wrap .dtc-result-panel {
  min-height: 100%;
}

.dtc-tool-wrap .dtc-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.dtc-tool-wrap .dtc-panel-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.dtc-tool-wrap .dtc-status {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #061426;
  background: #7df4e8;
}

.dtc-tool-wrap .dtc-status.is-error {
  color: #ffffff;
  background: #d9415d;
}

.dtc-tool-wrap .dtc-result-list {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
  min-height: 260px;
}

.dtc-tool-wrap .dtc-empty,
.dtc-tool-wrap .dtc-error {
  display: flex;
  flex: 1 1 auto;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  text-align: center;
  background: rgba(6, 20, 38, 0.34);
}

.dtc-tool-wrap .dtc-empty-icon {
  width: 56px;
  height: 56px;
  color: #7df4e8;
}

.dtc-tool-wrap .dtc-empty-text,
.dtc-tool-wrap .dtc-error-text {
  max-width: 390px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(248, 251, 255, 0.9);
}

.dtc-tool-wrap .dtc-error-text {
  color: #ffffff;
  font-weight: 700;
}

.dtc-tool-wrap .dtc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(7, 20, 38, 0.48);
  animation: dtcFadeIn 220ms ease both;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.dtc-tool-wrap .dtc-row:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 193, 69, 0.42);
  background: rgba(7, 20, 38, 0.64);
}

.dtc-tool-wrap .dtc-row-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.dtc-tool-wrap .dtc-row-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #7df4e8;
  text-transform: uppercase;
}

.dtc-tool-wrap .dtc-row-value {
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 650;
  color: #ffffff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dtc-tool-wrap .dtc-copy {
  flex-shrink: 0;
  max-width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  color: #061426;
  background: #ffffff;
  border-radius: 10px;
  box-sizing: border-box;
}

.dtc-tool-wrap .dtc-copy:hover {
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.18);
}

@keyframes dtcFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .dtc-tool-wrap {
    padding: 16px;
    border-radius: 0 !important;
  }

  .dtc-tool-wrap .dtc-shell {
    width: 100%;
    max-width: 1200px;
  }

  .dtc-tool-wrap .dtc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .dtc-tool-wrap .dtc-subtitle {
    font-size: 0.9rem;
  }

  .dtc-tool-wrap .dtc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .dtc-tool-wrap .dtc-panel {
    padding: 16px;
  }

  .dtc-tool-wrap .dtc-input,
  .dtc-tool-wrap .dtc-dropdown-toggle,
  .dtc-tool-wrap .dtc-search {
    min-height: 46px;
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  .dtc-tool-wrap .dtc-actions {
    flex-direction: column;
    gap: 12px;
  }

  .dtc-tool-wrap .dtc-btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-result-list {
    gap: 12px;
  }

  .dtc-tool-wrap .dtc-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .dtc-tool-wrap .dtc-copy {
    width: 100%;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .dtc-tool-wrap {
    padding: 20px;
    border-radius: 0 !important;
  }

  .dtc-tool-wrap .dtc-shell {
    width: 100%;
    max-width: 1200px;
  }

  .dtc-tool-wrap .dtc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .dtc-tool-wrap .dtc-subtitle {
    font-size: 0.94rem;
  }

  .dtc-tool-wrap .dtc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .dtc-tool-wrap .dtc-panel {
    padding: 18px;
  }

  .dtc-tool-wrap .dtc-input,
  .dtc-tool-wrap .dtc-dropdown-toggle,
  .dtc-tool-wrap .dtc-search {
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-btn {
    min-height: 48px;
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-row {
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  .dtc-tool-wrap .dtc-row-value {
    font-size: 0.9rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .dtc-tool-wrap {
    padding: 24px;
    border-radius: 0 !important;
  }

  .dtc-tool-wrap .dtc-shell {
    width: 100%;
    max-width: 1200px;
  }

  .dtc-tool-wrap .dtc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .dtc-tool-wrap .dtc-subtitle {
    font-size: 0.98rem;
  }

  .dtc-tool-wrap .dtc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .dtc-tool-wrap .dtc-panel {
    padding: 20px;
  }

  .dtc-tool-wrap .dtc-input,
  .dtc-tool-wrap .dtc-dropdown-toggle,
  .dtc-tool-wrap .dtc-search {
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-btn {
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-row {
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.94rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .dtc-tool-wrap {
    padding: 28px;
    border-radius: 0 !important;
  }

  .dtc-tool-wrap .dtc-shell {
    width: 100%;
    max-width: 1200px;
  }

  .dtc-tool-wrap .dtc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .dtc-tool-wrap .dtc-subtitle {
    font-size: 1rem;
  }

  .dtc-tool-wrap .dtc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .dtc-tool-wrap .dtc-panel {
    padding: 24px;
  }

  .dtc-tool-wrap .dtc-input,
  .dtc-tool-wrap .dtc-dropdown-toggle,
  .dtc-tool-wrap .dtc-search {
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-btn {
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-row {
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.96rem;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .dtc-tool-wrap {
    padding: 32px;
    border-radius: 0 !important;
  }

  .dtc-tool-wrap .dtc-shell {
    width: 100%;
    max-width: 1200px;
  }

  .dtc-tool-wrap .dtc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .dtc-tool-wrap .dtc-subtitle {
    font-size: 1.02rem;
  }

  .dtc-tool-wrap .dtc-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
  }

  .dtc-tool-wrap .dtc-panel {
    padding: 24px;
  }

  .dtc-tool-wrap .dtc-input,
  .dtc-tool-wrap .dtc-dropdown-toggle,
  .dtc-tool-wrap .dtc-search {
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-btn {
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-row {
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

@media (min-width: 1200px) {
  .dtc-tool-wrap {
    padding: 32px;
    border-radius: 0 !important;
  }

  .dtc-tool-wrap .dtc-shell {
    width: 100%;
    max-width: 1200px;
  }

  .dtc-tool-wrap .dtc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .dtc-tool-wrap .dtc-subtitle {
    font-size: 1.04rem;
  }

  .dtc-tool-wrap .dtc-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 32px;
  }

  .dtc-tool-wrap .dtc-panel {
    padding: 24px;
  }

  .dtc-tool-wrap .dtc-input,
  .dtc-tool-wrap .dtc-dropdown-toggle,
  .dtc-tool-wrap .dtc-search {
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-btn {
    padding: 12px 16px;
  }

  .dtc-tool-wrap .dtc-row {
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.96rem;
  }
}