/* ===================================================
   DOMAIN CHECKER MODULE STYLING
   =================================================== */

.domain-checker-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.85rem;
}

/* Module Header & Instructions (Reflects appschema.png text) */
.dc-header {
  border-bottom: 1px dashed rgba(255, 42, 95, 0.4);
  padding-bottom: 0.5rem;
}

.dc-title {
  color: #ff2a5f;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dc-instructions {
  color: #ff4d79;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 1px;
}

.dc-instructions .example-text {
  font-size: 0.72rem;
  color: #ff85a1;
  margin-top: 0.15rem;
  display: block;
}

/* Plain Textarea Box */
.dc-input-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.dc-textarea {
  width: 100%;
  min-height: 110px;
  background: rgba(5, 10, 22, 0.95);
  border: 1.5px solid #ff2a5f;
  border-radius: 8px;
  padding: 0.75rem;
  color: var(--neon-green);
  font-family: 'Share Tech Mono', 'Consolas', monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 0 10px rgba(255, 42, 95, 0.15);
}

.dc-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.35), inset 0 0 10px rgba(0, 229, 255, 0.1);
  color: #ffffff;
}

.dc-textarea::placeholder {
  color: rgba(255, 133, 161, 0.5);
  font-size: 0.8rem;
}

/* Actions Row */
.dc-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.dc-quick-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-dc-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.btn-dc-secondary:hover {
  background: rgba(0, 229, 255, 0.15);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

/* Submit Button matching appschema.png */
.btn-dc-submit {
  background: #000000;
  border: 2px solid #000000;
  color: #ffffff;
  padding: 0.55rem 1.75rem;
  font-family: 'Share Tech Mono', 'Consolas', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin-left: auto;
}

/* Futuristic Submit styling with high-contrast */
.module-domain-checker .btn-dc-submit {
  background: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
}

.module-domain-checker .btn-dc-submit:hover {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  color: #000000;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.6);
  transform: translateY(-1px);
}

.module-domain-checker .btn-dc-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ----------------------------------------------------
   RESULTS MODAL / RESULTS LIST CONTAINER
   ---------------------------------------------------- */
.dc-results-container {
  margin-top: 0.5rem;
  max-height: 220px;
  overflow-y: auto;
  background: rgba(5, 10, 22, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) rgba(0, 0, 0, 0.3);
}

.dc-results-container::-webkit-scrollbar {
  width: 6px;
}
.dc-results-container::-webkit-scrollbar-thumb {
  background-color: var(--neon-cyan);
  border-radius: 3px;
}

.dc-summary-badge-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem;
  background: rgba(0, 229, 255, 0.08);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.dc-summary-badge-bar .counts {
  display: flex;
  gap: 0.75rem;
}

.badge-stat {
  font-weight: bold;
}
.badge-stat.avail { color: var(--neon-green); }
.badge-stat.taken { color: var(--neon-red); }

.dc-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.dc-result-item:last-child {
  border-bottom: none;
}

.dc-domain-name {
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
}

.dc-status-pill {
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dc-status-pill.available {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.dc-status-pill.not-available {
  background: rgba(255, 42, 95, 0.15);
  color: var(--neon-red);
  border: 1px solid var(--neon-red);
  box-shadow: 0 0 8px rgba(255, 42, 95, 0.3);
}

.dc-status-pill.invalid {
  background: rgba(255, 170, 0, 0.15);
  color: var(--neon-amber);
  border: 1px solid var(--neon-amber);
}

.dc-loading-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 229, 255, 0.3);
  border-top-color: var(--neon-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
