/* SiteReport Style - Copied from sitereport.mmediausa.com */

/* Ensure logo container is visible and doesn't collapse */
.site-logo {
  max-height: 30px;
  min-height: 30px;
  display: flex;
  align-items: center;
}

/* Logo theme swap */
.logo-img {
  min-height: 27px;
  max-height: 27px;
  height: auto;
}

.logo-light {
  display: block;
}

.logo-dark {
  display: none;
}

body.dark-mode .logo-light {
  display: none !important;
}

body.dark-mode .logo-dark {
  display: block !important;
}

/* Header Styling - Always dark mode */
header.site-header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: auto;
  width: 100%;
  background: #181a1b !important;
  color: #ffffff !important;
}

header.site-header .lead {
  color: #b0b3b8 !important;
}

/* Footer Styling - Always dark mode */
footer.site-footer {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 1rem;
  margin-top: auto;
  width: 100%;
  background: #181a1b !important;
  color: #ffffff !important;
}

/* Stage Progress Bar */
.stage-progress .progress {
  height: 8px;
  border-radius: 4px;
  background-color: #e9ecef;
}

.stage-labels span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Cards */
.card {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.375rem;
}

.card.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Hero Section */
.hero-section {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}

.badge-section h5 {
  color: #495057;
  margin-bottom: 0.5rem;
}

/* Results */
#results {
  max-width: 1000px;
  margin: 2rem auto;
}

.result-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.result-header {
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  border-radius: 8px 8px 0 0;
}

.result-header h5,
.result-header h6 {
  margin: 0;
  color: #333333;
  font-weight: 600;
}

.result-body {
  padding: 1.5rem;
}

.whois-data {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 1rem;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #333;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 400px;
  overflow-y: auto;
}

.ip-info .info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.ip-info .info-label {
  font-weight: 600;
  color: #333333;
}

.ip-info .info-value {
  color: #0d6efd;
  font-family: monospace;
}

/* Progress Bar */
#progressBar {
  height: 6px;
  background-color: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
  margin: 1rem 0;
}

#progressBar .progress-bar {
  height: 100%;
  background-color: #0d6efd;
  transition: width 0.3s ease;
  border-radius: 3px;
}

/* Logos Animation */
.logos-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 2rem;
}

.logos-track {
  display: flex;
  gap: 3rem; /* same spacing as before */
  font-size: 1.5rem;
  animation: scroll 25s linear infinite; /* adjust speed */
}

.logos-track i {
  flex: 0 0 auto;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  } /* scroll halfway to loop */
}

/* Responsive */
@media (max-width: 768px) {
  .site-logo {
    min-width: auto;
  }

  .site-logo img {
    max-width: 80px !important;
  }

  .card {
    margin: 1rem;
    padding: 1rem !important;
  }

  body {
    padding-top: 0;
  }
}

/* Remove margin and force full width on mobile for main container card */
@media (max-width: 768px) {
  #landingScreen > .container > .card {
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  #landingScreen > .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    justify-content: flex-start !important; /* Force left alignment */
  }

  .mobile-analysis {
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  .mobile-text * {
    font-size: 75% !important;
  }
}
