.ddr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.ddr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.ddr-hide-search .premium-search__query-wrap,
.premium-search__query-wrap.ddr-hidden {
  display: none !important;
}

.ddr-row .premium-search__input,
.ddr-row input[type="text"] {
  flex: 1;
  height: 52px;
  padding: 12px 16px;
  border: 2px solid #2d6078;
  border-radius: 14px;
  font-size: 16px;
  outline: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.ddr-row .premium-search__input:focus,
.ddr-row input[type="text"]:focus {
  border-color: #4c58e3;
}

.ddr-search-button {
  flex: 0 0 auto;
  padding: 12px 20px;
  background: #4c58e3 !important;
  color: #fff !important;
  border: 2px solid #4c58e3 !important;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 8px 18px rgba(76, 88, 227, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ddr-search-button:hover,
.ddr-search-button:focus {
  transform: translateY(-1px);
  opacity: 0.85;
  box-shadow: 0 10px 22px rgba(76, 88, 227, 0.35);
  outline: none;
}

.ddr-search-button:active {
  transform: translateY(1px);
}

.ddr-search-output {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid #d7e3f4;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  white-space: pre-line;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ddr-search-output.ddr-error {
  border-color: #f87171;
  background: #fef2f2;
  color: #991b1b;
  box-shadow: 0 10px 22px rgba(153, 27, 27, 0.12);
}
