
 
 
/* Fade-in animation for result cards and errors */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
ti
.result-card {
  display: none; /* Hidden by default */
}

.result-card.active {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

.dns-error {
  animation: fadeInUp 0.4s ease-out;
}
/* Base Styling */


.dns-abuse-checker {
   font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 14px;
   color: #5aa7ab;
    margin-top: 0.5em;
   /* display: none; */
}

.dns-abuse-checker h2,
.dns-abuse-checker h3 {
  font-size: 1rem;
  margin-bottom: 0.3em;
}

.dns-abuse-checker table {
  font-size: 0.75rem;
  margin: 0.5em 0;
}

.dns-abuse-checker th,
.dns-abuse-checker td {
  padding: 0.25em 0.4em;
}




/* Subtitle Styling */
.record-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
  text-align: left;
}

/* Timing Badge in Top Right */
button.copy-table-button {
    background: #e7eaeb;
    font-size: 12px;
    padding: 2px;
    border-radius: 2px !important;
    color: black;
    text-transform: capitalize;
}
.timing-badge {

/* border: 1px solid; */

position: absolute;

top: 10px;

right: 10px;

font-size: 0.8em;

color: #ffffff;

background: #e7eaeb;

border-radius: 6px;

padding: 2px 8px;

display: flex;

align-items: center;

gap: 4px;

z-index: 2;

font-size: 12px;
}

/* Raw JSON Toggle Block */
.raw-json pre {
  text-align: left;
  background-color: #1e1e1e;
  color: #dcdcdc;
  padding: 1em;
  overflow-x: auto;
  border-radius: 6px;
  font-family: Consolas, Menlo, monospace;
  font-size: 12px;
  line-height: 1.5em;
  white-space: pre-wrap;
  max-height: 350px;
  word-break: break-word;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.raw-json button {
background: #ffff;
    border: 1px solid #ccc;
    padding: 0.4em 1em;
    margin-bottom: 0.5em;
    cursor: pointer;
    border-radius: 4px;
    color: black;
    text-transform: capitalize;
    font-size: 11px;
}

.raw-json button:hover {
  background: #eaeaea;
  text-decoration: none;
}

/* Tabs */
.tabs {
    position: relative;
    background:#ffffff;
    padding: 1em;
    border-radius: 6px;
    border: none !important;
    margin-top: 1em;
    padding: 1em;
}

.tab-buttons {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1em;
    margin: 0;
  margin-bottom: 1em;
}
.tab-buttons li {
 
    margin: 0;
}

.tab-buttons li a {
    
  text-decoration: none;
  /* padding: 0.5em 1em; */
  display: block;
  /* background: #eee; */
  border-radius: 4px;
    background: #ffffff;
  font-weight: bold;
  color: #5aa7ab;
  /* border: 1px solid #ccc; */
  font-size: 14px;
  font-weight: 400;
}

.tab-buttons li a.active,
.tab-buttons li a:hover {
  background: #ffffff;
  font-weight: bold;
  color: #5aa7ab;
  /* border: 1px solid #ccc; */
  font-size: 14px;
  font-weight: 400;
}

.tab-content.hidden {
  display: none;
}

/* Spinner */
span.button-spinner img {
  height: 2.5em;
}

div#dns-abuse-spinner {
    display: none;
    padding: 0 20px;
    margin: 20px auto;
    position: relative;
    text-align: center;
}

/* Error Block */
.dns-error {
  background: #ffe9e9;
  color: #a00;
  padding: 0.75em 1em;
  border-left: 4px solid #d00;
  margin: 1em 0;
  border-radius: 4px;
  font-size: 0.95em;
}

/* Abuse Card */
.abuse-card {
  position: relative;
  padding: 1em;
  border-radius: 6px;
  margin-bottom: 0 !important;
}

/* Unified Timing Bar */
.timing-unified-bar {
  display: flex;
  margin: 2em 0 1em;
  height: 26px;
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.75em;
  background: #eee;
  box-shadow: 0 0 0 1px #ccc inset;
}

.timing-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  white-space: nowrap;
  font-weight: bold;
  padding: 0 4px;
  height: 100%;
  position: relative;
  transform: scaleX(0);
  transform-origin: left;
  animation: growSegment 0.6s ease-out forwards;
}

.timing-segment .label {
  position: relative;
  font-size: 0.7em;
  color: #fff;
  white-space: nowrap;
}
.copy-table-button svg {
    /* display: inline !important; */
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}

/* Animate Segment */
@keyframes growSegment {
  to {
    transform: scaleX(1);
  }
}

.tab-content {background: #ffffff;/* padding: 1em; */border-radius: 6px;border: none;}
.tab-content table {
  border: none;
  font-size: 0.75rem;
}
.tab-inner-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5em;
}

.tab-inner-wrapper .timing-badge {
	align-self: flex-end;
	margin-bottom: -0.5em;
	margin-top: -0.5em;
	font-size: 12px;
}



/* === Scoped Overrides to Prevent External Interference === */

#dns-abuse-wrapper input[type="text"],
#dns-abuse-wrapper input[type="url"],
#dns-abuse-wrapper input[type="email"] {
  all: unset!important;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
  padding: 0.75em 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  width: 100%;
}

#dns-abuse-wrapper .input-card button {
  all: unset !important;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13.3px !important;
  line-height: 14px !important;
  background:#5aa7ab !important;
  color: white !important;
  border: none !important;
  padding: 0.75em 1em !important;
  border-radius: 16px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  display: inline-block;
  text-align: center;
  font-weight: 400 !important;
  transition: background 0.3s ease;
  letter-spacing: unset;
}

#dns-abuse-wrapper .input-card button:hover {
  background: #56a0a4 !important;
}

#dns-abuse-wrapper #dns-abuse-spinner img {
  height: 1em !important;
  width: auto !important;
  vertical-align: middle !important;
  margin-right: 0.4em !important;
}
/* === Apple-style layout polish === */
#dns-abuse-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 2em 1em;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  background: #f5f5f7;
  color: #333;
}

#dns-abuse-wrapper .dns-header {
  text-align: center;
  margin-bottom: 2em;
}

#dns-abuse-wrapper .input-card {
  display: flex;
  gap: 1em;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 1em;
  box-shadow: 0 0 0 1px #ddd;
  margin-bottom: 2em;
}

#dns-abuse-wrapper .input-card input {

    flex: 1 !important;
    padding: 0.75em 1em !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    /*min-width: 280px !important;*/
}


#dns-abuse-wrapper .result-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 2em;
}

#dns-abuse-wrapper h2 {
  font-size: 1.4rem;
  text-align: left;
  margin-top: 0;
}

#dns-abuse-wrapper table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 14px !important;
}

#dns-abuse-wrapper td{
    padding: 0.6em 0.4em;
    border: 0 ;
    border-bottom: 1px solid #eee;
    text-align: left;
}

#dns-abuse-wrapper th{
    padding: 0.6em 0.4em;
    border: 0 ;
    border-bottom: 1px solid #eee;
    text-align: left;
    min-width: 65px;

}


#dns-abuse-wrapper .result-card > h2 {
  font-size: 20px;
  margin-bottom: 0.5em;
  text-align: left;
  color: #5aa7ab;
}

#dns-abuse-wrapper .result-card > p {
  font-size: 14px;
  color: #666;
  margin-bottom: 1em;
  text-align: left;
}
.dns-abuse-spinner {
  font-size: 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
	padding-bottom: -1px;
}

.dot-animate {
  display: inline-flex;
  width: 1em; /* Reserve space */
  justify-content: space-between;
  margin-left: 0.2em;
}

.dot-animate {
  display: inline-flex;
  margin-left: 0.2em;
}

.dot-animate span {
  opacity: 0;
  animation: fadeDots 1.5s infinite;
}

.dot-animate span:nth-child(1) {
  animation-delay: 0s;
}
.dot-animate span:nth-child(2) {
  animation-delay: 0.3s;
}
.dot-animate span:nth-child(3) {
  animation-delay: 0.6s;
}

@media only screen and (max-width: 415px) {

  .timing-badge {
    top: -20px !important;
  }

  .tab-inner-wrapper .timing-badge {
    top: 13px !important;
  }

  #dns-abuse-wrapper .input-card button {
    font-size: 13.3px !important;
  }
}


@keyframes fadeDots {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}