.username-dashboard {
  background-color: rgba(25, 28, 36, 0.7);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(60, 70, 80, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.username-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(60, 70, 80, 0.3);
  background: linear-gradient(to right, rgba(35, 40, 50, 0.7), rgba(40, 45, 60, 0.7));
  flex-wrap: wrap;
  gap: 20px;
}

.username-title-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.username-title-section i {
  font-size: 36px;
  color: #4f7cac;
  background: rgba(30, 35, 45, 0.6);
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(79, 124, 172, 0.5);
}

.username-details h3 {
  margin: 0;
  font-size: 24px;
  color: #ffffff;
  font-weight: 600;
}

.username-subtitle {
  color: #aaaaaa;
  font-size: 14px;
}

.username-stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.stat-card {
  min-width: 100px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  background-color: rgba(30, 35, 45, 0.7);
  border: 1px solid rgba(60, 70, 80, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: #bbbbbb;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.stat-found .stat-value {
  color: #4CAF50;
}

.stat-not-found .stat-value {
  color: #f44336;
}

.stat-error .stat-value {
  color: #ff9800;
}

.stat-success .stat-value {
  color: #4f7cac;
}

.presence-meter {
  padding: 15px 24px;
  background-color: rgba(28, 32, 40, 0.7);
  border-bottom: 1px solid rgba(60, 70, 80, 0.3);
}

.presence-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: #cccccc;
}

.presence-level {
  font-weight: 600;
  font-size: 14px;
}

.presence-level.low {
  color: #f44336;
}

.presence-level.medium {
  color: #ff9800;
}

.presence-level.high {
  color: #4CAF50;
}

.presence-bar {
  height: 8px;
  background-color: rgba(40, 45, 55, 0.7);
  border-radius: 4px;
  overflow: hidden;
}

.presence-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-out;
}

.presence-fill.low {
  background: linear-gradient(to right, #f44336, #ff5252);
}

.presence-fill.medium {
  background: linear-gradient(to right, #ff9800, #ffb74d);
}

.presence-fill.high {
  background: linear-gradient(to right, #4CAF50, #81C784);
}

.username-actions {
  padding: 15px 24px;
  border-bottom: 1px solid rgba(60, 70, 80, 0.3);
}

.action-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-label {
  color: #aaaaaa;
  font-size: 14px;
}

.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-filter {
  background-color: rgba(40, 45, 55, 0.7);
  border: 1px solid rgba(60, 70, 80, 0.3);
  padding: 6px 12px;
  border-radius: 20px;
  color: #bbbbbb;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.tag-filter:hover {
  background-color: rgba(60, 70, 80, 0.7);
  color: #ffffff;
}

.tag-filter.active {
  background-color: #4f7cac;
  color: #ffffff;
  border-color: #4f7cac;
}

.results-section {
  background-color: rgba(25, 28, 36, 0.7);
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.section-header {
  padding: 15px 20px;
  background: linear-gradient(to right, rgba(35, 40, 50, 0.7), rgba(40, 45, 60, 0.7));
  border-bottom: 1px solid rgba(60, 70, 80, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #eeeeee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header h3 i {
  color: #4f7cac;
}

.collapse-toggle {
  background: none;
  border: none;
  color: #aaaaaa;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.collapse-toggle:hover {
  background-color: rgba(79, 124, 172, 0.2);
  color: #ffffff;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.profile-card {
  background-color: rgba(30, 35, 45, 0.7);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(60, 70, 80, 0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-color: rgba(79, 124, 172, 0.5);
}

.profile-card-header {
  background: linear-gradient(to right, rgba(40, 45, 55, 0.7), rgba(45, 50, 65, 0.7));
  padding: 15px;
  border-bottom: 1px solid rgba(60, 70, 80, 0.3);
}

.profile-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #eeeeee;
  margin-bottom: 10px;
}

.profile-name i {
  color: #4CAF50;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-badge {
  background-color: rgba(79, 124, 172, 0.2);
  color: #aaaaaa;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: lowercase;
}

.profile-card-body {
  padding: 15px;
  flex-grow: 1;
}

.profile-username {
  font-size: 18px;
  color: #eeeeee;
  margin-bottom: 8px;
  word-break: break-all;
}

.profile-url {
  font-size: 12px;
  color: #aaaaaa;
  word-break: break-all;
}

.profile-card-footer {
  padding: 15px;
  background-color: rgba(28, 32, 40, 0.7);
  display: flex;
  justify-content: flex-end;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #05060b;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.28s ease;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  box-shadow: 0 16px 28px rgba(10, 13, 21, 0.45);
}

.profile-button:hover {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 24px 35px rgba(8, 10, 18, 0.55), 0 0 0 1px rgba(143, 156, 255, 0.18);
}

.site-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
}

.site-chip {
  background-color: rgba(40, 45, 55, 0.7);
  border: 1px solid rgba(60, 70, 80, 0.3);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  color: #cccccc;
}

.site-chip.error-chip {
  border-left: 3px solid #ff9800;
  position: relative;
}

.site-chip.error-chip:after {
  content: "!";
  position: absolute;
  top: 2px;
  right: 5px;
  font-size: 10px;
  color: #ff9800;
  background-color: rgba(255, 152, 0, 0.2);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.empty-state i {
  font-size: 48px;
  color: #4f7cac;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  margin: 0 0 10px;
  color: #eeeeee;
  font-size: 18px;
}

.empty-state p {
  color: #aaaaaa;
  font-size: 14px;
  max-width: 600px;
}

.collapsible-content {
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.collapsible-content.hidden {
  max-height: 0;
  opacity: 0;
  padding: 0;
}

.metrics-dashboard {
  padding: 15px 24px;
  background-color: rgba(28, 32, 40, 0.7);
  border-bottom: 1px solid rgba(60, 70, 80, 0.3);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.metrics-card {
  background-color: rgba(30, 35, 45, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(60, 70, 80, 0.3);
  overflow: hidden;
}

.metrics-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(to right, rgba(40, 45, 55, 0.7), rgba(45, 50, 65, 0.7));
  padding: 12px 15px;
  border-bottom: 1px solid rgba(60, 70, 80, 0.3);
  color: #eeeeee;
  font-size: 14px;
  font-weight: 600;
}

.metrics-header i {
  color: #4f7cac;
}

.metrics-content {
  padding: 15px;
}

.platform-bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.platform-bar-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.platform-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #dddddd;
}

.platform-count {
  color: #4f7cac;
  font-weight: 600;
}

.platform-bar-container {
  height: 6px;
  background-color: rgba(40, 45, 55, 0.7);
  border-radius: 3px;
  overflow: hidden;
}

.platform-bar-fill {
  height: 100%;
  background: linear-gradient(to right, #4f7cac, #4CAF50);
  border-radius: 3px;
  transition: width 0.8s ease-out;
}

.platform-bar-percent {
  text-align: right;
  font-size: 10px;
  color: #aaaaaa;
}

.metrics-grid-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.metric-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: rgba(40, 45, 55, 0.7);
  border-radius: 6px;
  border: 1px solid rgba(60, 70, 80, 0.3);
}

.metric-value {
  font-size: 18px;
  font-weight: bold;
  color: #4f7cac;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 11px;
  text-align: center;
  color: #bbbbbb;
}

.no-data {
  color: #aaaaaa;
  font-style: italic;
  text-align: center;
  padding: 10px;
}


#email-pwn-results .breach-intel-report {
    background: linear-gradient(145deg, rgba(18, 20, 28, 0.95) 0%, rgba(14, 16, 22, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

#email-pwn-results .breach-report-header {
    background: linear-gradient(135deg, rgba(22, 25, 35, 0.98) 0%, rgba(18, 20, 28, 0.99) 100%);
    padding: 28px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#email-pwn-results .breach-report-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

#email-pwn-results .breach-report-subject {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

#email-pwn-results .breach-header-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#email-pwn-results .breach-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    min-height: 42px;
}

#email-pwn-results .breach-indicator-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

#email-pwn-results .breach-indicator-value {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

#email-pwn-results .breach-highlight-section {
    padding: 24px 32px;
}

#email-pwn-results .recent-breach-featured {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 24px;
}

#email-pwn-results .breach-recent-info-featured {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

#email-pwn-results .breach-recent-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#email-pwn-results .breach-recent-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.2px;
}

#email-pwn-results .breach-recent-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

#email-pwn-results .breach-recent-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#email-pwn-results .breach-recent-domain {
    font-size: 13px;
    font-weight: 500;
    color: #5b9bd5;
}

#email-pwn-results .breach-recent-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

#email-pwn-results .breach-metric-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

#email-pwn-results .breach-data-section,
#email-pwn-results .breach-details-section {
    padding: 0 32px 24px;
}

#email-pwn-results .breach-section-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#email-pwn-results .breach-data-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#email-pwn-results .breach-data-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

#email-pwn-results .breach-list {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

#email-pwn-results .breach-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

#email-pwn-results .breach-item:last-child {
    border-bottom: none;
}

#email-pwn-results .breach-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.01);
    cursor: pointer;
    transition: background 0.15s ease;
}

#email-pwn-results .breach-item-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

#email-pwn-results .breach-item-primary {
    display: flex;
    align-items: center;
    gap: 12px;
}

#email-pwn-results .breach-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

#email-pwn-results .breach-item-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

#email-pwn-results .breach-item-secondary {
    display: flex;
    align-items: center;
    gap: 16px;
}

#email-pwn-results .breach-item-records {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

#email-pwn-results .breach-item-toggle {
    width: 20px;
    height: 20px;
    position: relative;
}

#email-pwn-results .breach-item-toggle::before,
#email-pwn-results .breach-item-toggle::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease;
}

#email-pwn-results .breach-item-toggle::before {
    width: 10px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#email-pwn-results .breach-item-toggle::after {
    width: 2px;
    height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#email-pwn-results .breach-item-expanded .breach-item-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

#email-pwn-results .breach-item-content {
    display: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

#email-pwn-results .breach-item-expanded .breach-item-content {
    display: block;
}

#email-pwn-results .breach-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

#email-pwn-results .breach-item-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#email-pwn-results .breach-field-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#email-pwn-results .breach-field-value {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

#email-pwn-results .breach-link {
    color: #5b9bd5;
    text-decoration: none;
}

#email-pwn-results .breach-link:hover {
    text-decoration: underline;
}

#email-pwn-results .breach-item-data {
    margin-bottom: 12px;
}

#email-pwn-results .breach-data-list {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 4px;
}

#email-pwn-results .breach-item-description {
    margin-top: 12px;
}

#email-pwn-results .breach-description-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-top: 4px;
}

#email-pwn-results .breach-description-text a {
    color: #5b9bd5;
}

#email-pwn-results .breach-no-results {
    text-align: center;
    padding: 48px 32px;
    margin: 0 32px 24px;
    background: rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: 6px;
}

#email-pwn-results .breach-no-results-title {
    font-size: 16px;
    font-weight: 600;
    color: #66bb6a;
    margin-bottom: 12px;
}

#email-pwn-results .breach-no-results-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

#email-pwn-results .breach-report-footer {
    padding: 20px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: center;
}

#email-pwn-results .breach-download-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

#email-pwn-results .breach-download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

#email-pwn-results .loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    position: relative;
}

@media (max-width: 768px) {
    #email-pwn-results .breach-metrics-grid {
        grid-template-columns: 1fr;
    }
    
    #email-pwn-results .breach-report-header,
    #email-pwn-results .breach-data-section,
    #email-pwn-results .breach-details-section,
    #email-pwn-results .breach-report-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    #email-pwn-results .breach-metrics-grid {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    #email-pwn-results .breach-item-primary {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

#download-report {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

#download-report:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

:is(#username-results, .oracle-embedded-username) .search-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

:is(#username-results, .oracle-embedded-username) .metric-card {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

:is(#username-results, .oracle-embedded-username) .metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(143, 156, 255, 0.2);
    border-color: var(--primary);
}

:is(#username-results, .oracle-embedded-username) .metric-card.success {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--terminal-bg), rgba(143, 156, 255, 0.05));
}

:is(#username-results, .oracle-embedded-username) .metric-card.info {
    border-color: var(--secondary);
    background: linear-gradient(135deg, var(--terminal-bg), rgba(10, 132, 255, 0.05));
}

:is(#username-results, .oracle-embedded-username) .metric-card.warning {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--terminal-bg), rgba(143, 156, 255, 0.03));
}

:is(#username-results, .oracle-embedded-username) .metric-card.primary {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--terminal-bg), rgba(143, 156, 255, 0.08));
}

:is(#username-results, .oracle-embedded-username) .metric-icon {
    font-size: 2rem;
    color: var(--primary);
    min-width: 50px;
    text-align: center;
}

:is(#username-results, .oracle-embedded-username) .metric-card.success .metric-icon {
    color: var(--primary);
}

:is(#username-results, .oracle-embedded-username) .metric-card.info .metric-icon {
    color: var(--secondary);
}

:is(#username-results, .oracle-embedded-username) .metric-card.warning .metric-icon {
    color: var(--primary);
}

:is(#username-results, .oracle-embedded-username) .metric-info {
    display: flex;
    flex-direction: column;
}

:is(#username-results, .oracle-embedded-username) .metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

:is(#username-results, .oracle-embedded-username) .metric-label {
    font-size: 0.9rem;
    color: var(--text-color-dimmed);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

:is(#username-results, .oracle-embedded-username) .confidence-breakdown {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--terminal-bg);
    border-radius: 8px;
    border: 1px solid var(--terminal-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

:is(#username-results, .oracle-embedded-username) .confidence-breakdown h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

:is(#username-results, .oracle-embedded-username) .confidence-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

:is(#username-results, .oracle-embedded-username) .confidence-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--content-bg);
    border-radius: 6px;
    border: 1px solid var(--terminal-border);
    transition: all 0.3s ease;
}

:is(#username-results, .oracle-embedded-username) .confidence-item:hover {
    border-color: var(--primary);
    background: rgba(143, 156, 255, 0.1);
}

:is(#username-results, .oracle-embedded-username) .confidence-item.high {
    border-left: 4px solid var(--primary);
}

:is(#username-results, .oracle-embedded-username) .confidence-item.medium {
    border-left: 4px solid var(--secondary);
}

:is(#username-results, .oracle-embedded-username) .confidence-item.low {
    border-left: 4px solid #ffc107;
}

:is(#username-results, .oracle-embedded-username) .confidence-indicator {
    font-size: 1.2rem;
}

:is(#username-results, .oracle-embedded-username) .confidence-label {
    color: var(--text-color);
    font-weight: 500;
}

:is(#username-results, .oracle-embedded-username) .confidence-count {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

:is(#username-results, .oracle-embedded-username) .categories-summary {
    margin: 2rem 0;
}

:is(#username-results, .oracle-embedded-username) .categories-summary h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

:is(#username-results, .oracle-embedded-username) .category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

:is(#username-results, .oracle-embedded-username) .category-tag {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

:is(#username-results, .oracle-embedded-username) .category-tag:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(143, 156, 255, 0.4);
}

:is(#username-results, .oracle-embedded-username) .table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--terminal-border);
    background: var(--terminal-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

:is(#username-results, .oracle-embedded-username) .results-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

:is(#username-results, .oracle-embedded-username) .results-table th {
    background: var(--content-bg);
    color: var(--primary);
    padding: 1rem;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

:is(#username-results, .oracle-embedded-username) .results-table th:nth-child(1) { width: 40%; }
:is(#username-results, .oracle-embedded-username) .results-table th:nth-child(2) { width: 25%; }
:is(#username-results, .oracle-embedded-username) .results-table th:nth-child(3) { width: 15%; }
:is(#username-results, .oracle-embedded-username) .results-table th:nth-child(4) { width: 20%; }

:is(#username-results, .oracle-embedded-username) .results-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--terminal-border);
    color: var(--text-color);
    vertical-align: middle;
    height: 48px;
}

:is(#username-results, .oracle-embedded-username) .results-table tr:hover td {
    background: rgba(143, 156, 255, 0.1);
}

:is(#username-results, .oracle-embedded-username) .result-row.high {
    border-left: 4px solid var(--primary);
}

:is(#username-results, .oracle-embedded-username) .result-row.medium {
    border-left: 4px solid var(--secondary);
}

:is(#username-results, .oracle-embedded-username) .result-row.low {
    border-left: 4px solid #ffc107;
}

:is(#username-results, .oracle-embedded-username) .platform-cell {
    vertical-align: middle;
}

:is(#username-results, .oracle-embedded-username) .status-code {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

:is(#username-results, .oracle-embedded-username) .status-code.success {
    background: rgba(143, 156, 255, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

:is(#username-results, .oracle-embedded-username) .status-code.warning {
    background: rgba(10, 132, 255, 0.2);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

:is(#username-results, .oracle-embedded-username) .link-cell a {
    color: var(--primary);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

:is(#username-results, .oracle-embedded-username) .link-cell a:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

:is(#username-results, .oracle-embedded-username) .confidence-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

:is(#username-results, .oracle-embedded-username) .confidence-badge.high {
    background: rgba(0, 255, 163, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

:is(#username-results, .oracle-embedded-username) .confidence-badge.medium {
    background: rgba(10, 132, 255, 0.2);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

:is(#username-results, .oracle-embedded-username) .confidence-badge.low {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

:is(#username-results, .oracle-embedded-username) .no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-color-dimmed);
    background: var(--terminal-bg);
    border-radius: 8px;
    border: 1px solid var(--terminal-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

:is(#username-results, .oracle-embedded-username) .no-results i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

:is(#username-results, .oracle-embedded-username) .no-results h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

:is(#username-results, .oracle-embedded-username) .no-results p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

:is(#username-results, .oracle-embedded-username) .search-metrics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

:is(#username-results, .oracle-embedded-username) .search-metrics .metric {
    text-align: center;
}

:is(#username-results, .oracle-embedded-username) .search-metrics .metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
}

:is(#username-results, .oracle-embedded-username) .search-metrics .metric-label {
    font-size: 0.9rem;
    color: var(--text-color-dimmed);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



@media (max-width: 768px) {
    :is(#username-results, .oracle-embedded-username) .search-metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    :is(#username-results, .oracle-embedded-username) .metric-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    :is(#username-results, .oracle-embedded-username) .metric-icon {
        font-size: 1.5rem;
    }
    
    :is(#username-results, .oracle-embedded-username) .metric-value {
        font-size: 1.5rem;
    }
    
    :is(#username-results, .oracle-embedded-username) .confidence-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    :is(#username-results, .oracle-embedded-username) .table-container {
        font-size: 0.85rem;
    }
    
    :is(#username-results, .oracle-embedded-username) .results-table th,
    :is(#username-results, .oracle-embedded-username) .results-table td {
        padding: 0.5rem;
    }
    
    :is(#username-results, .oracle-embedded-username) .search-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

.header-input-section {
    margin-bottom: 20px;
}

.routing-visual-map-container {
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.9), rgba(10, 14, 24, 0.9));
  border: 1px solid rgba(142, 203, 255, 0.15);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.routing-map-title {
  color: #cde7ff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}


.routing-map-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0;
  gap: 0;
}

.routing-map-node {
  background: rgba(28, 32, 45, 0.85);
  border: 1px solid rgba(142, 203, 255, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  min-width: 200px;
  max-width: 220px;
}

.routing-node-content {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.routing-node-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(74, 158, 255, 0.1);
  color: #4a9eff;
  border: 1px solid rgba(74, 158, 255, 0.3);
}

.routing-node-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.routing-node-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ecbff;
  font-weight: 700;
}

.routing-node-server {
  font-size: 13px;
  color: #e7f3ff;
  font-weight: 600;
  word-break: break-all;
}

.routing-node-ip {
  font-size: 12px;
  color: #9bc0ff;
  font-family: var(--monospace-font);
}

.routing-node-time {
  font-size: 11px;
  color: #8fa6c9;
}

.routing-node-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(74, 158, 255, 0.4), rgba(123, 255, 238, 0.5));
  border-radius: 999px;
  flex-shrink: 0;
  position: relative;
  margin: 0 2px;
}

.routing-node-line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid rgba(123, 255, 238, 0.5);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.routing-map-node.routing-node-origin .routing-node-icon {
  background: rgba(123, 255, 238, 0.1);
  border-color: rgba(123, 255, 238, 0.4);
  color: #7bffee;
}

.routing-map-node.routing-node-destination .routing-node-icon {
  background: rgba(255, 165, 123, 0.1);
  border-color: rgba(255, 165, 123, 0.4);
  color: #ffb57b;
}

.routing-map-node:hover {
  border-color: rgba(142, 203, 255, 0.35);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

@media (max-width: 700px) {
  .routing-map-wrapper {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .routing-map-node {
    min-width: 180px;
    max-width: 180px;
  }
  .routing-node-line {
    width: 30px;
  }
}


.header-journey {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.journey-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    position: relative;
    margin-bottom: 15px;
    z-index: 2;
}

.journey-step:first-child {
    margin-top: 0;
}

.journey-step:last-child {
    margin-bottom: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    border: 3px solid var(--dark);
    box-shadow: 0 0 0 2px var(--primary);
    z-index: 3;
    position: relative;
}

.step-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-server {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.step-ip {
    font-family: var(--monospace-font);
    color: var(--secondary);
    background: rgba(10, 132, 255, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    border: 1px solid rgba(10, 132, 255, 0.3);
    font-weight: 500;
}

.step-location {
    color: var(--text-color-dimmed);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-location i {
    color: var(--primary);
    font-size: 0.9rem;
}

.step-timestamp {
    color: var(--text-color-dimmed);
    font-size: 0.9rem;
    font-family: var(--monospace-font);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.step-protocol {
    color: var(--text-color-dimmed);
    font-size: 0.9rem;
    font-weight: 500;
}

.table-container-desktop {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 15px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--monospace-font);
    font-size: 0.9rem;
}

.results-table thead {
    background: rgba(0, 255, 163, 0.1);
}

/* Oracle Username Coverage table header should not have green tint */
.oracle-results .username-block .results-table thead {
    background: transparent;
}

.oracle-results .username-block .results-table th {
    background: transparent;
}

.results-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: bold;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.results-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    vertical-align: top;
}

.results-table tr:hover td {
    background: rgba(0, 255, 163, 0.05);
}

.results-table tr:last-child td {
    border-bottom: none;
}

.results-table code {
    background: rgba(0, 255, 163, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--primary);
    font-weight: bold;
    border: 1px solid rgba(0, 255, 163, 0.2);
}

.ip-cell {
    font-family: var(--monospace-font);
    font-weight: bold;
}

.location-cell {
    max-width: 200px;
    word-wrap: break-word;
}

.organization-cell {
    max-width: 250px;
    word-wrap: break-word;
    font-size: 0.85rem;
}

.reputation-cell {
    text-align: center;
}

.security-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.security-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.security-badge.pass {
    background: rgba(0, 255, 163, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.security-badge.fail {
    background: rgba(255, 82, 82, 0.2);
    color: #ff5252;
    border: 1px solid #ff5252;
}

.security-badge.neutral {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.threat-indicators {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.threat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border-left: 3px solid var(--border-color);
}

.threat-item.safe {
    border-left-color: var(--primary);
}

.threat-item.warning {
    border-left-color: #ffc107;
}

.threat-item.danger {
    border-left-color: #ff5252;
}

.threat-label {
    font-weight: bold;
    color: var(--text-color);
    text-transform: capitalize;
}

.threat-value {
    color: var(--text-color-dimmed);
    font-family: var(--monospace-font);
    font-size: 0.9rem;
}

.search-metrics-mobile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.metric-card-mobile {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card-mobile.primary {
    border-left-color: var(--primary);
}

.metric-card-mobile.success {
    border-left-color: #28a745;
}

.metric-content-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.metric-icon-mobile {
    color: var(--primary);
    font-size: 1.2rem;
}

.metric-info-mobile {
    display: flex;
    flex-direction: column;
}

.metric-value-mobile {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-color);
}

.metric-label-mobile {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.confidence-breakdown-mobile {
    margin-bottom: 20px;
}

.confidence-breakdown-mobile h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.confidence-stats-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.confidence-item-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.confidence-indicator-mobile {
    font-size: 18px;
}

.confidence-text-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.confidence-label-mobile {
    font-weight: 500;
}

.confidence-count-mobile {
    font-weight: bold;
    color: var(--primary);
}

.categories-summary-mobile {
    margin-bottom: 20px;
}

.categories-summary-mobile h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.category-tags-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag-mobile {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.results-mobile-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-card-mobile {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-card-mobile.high {
    border-left: 4px solid #dc3545;
}

.result-card-mobile.medium {
    border-left: 4px solid #fd7e14;
}

.result-card-mobile.low {
    border-left: 4px solid #ffc107;
}

.result-card-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.platform-info-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
}

.confidence-icon-mobile {
    font-size: 16px;
}

.platform-name-mobile {
    font-weight: bold;
    font-size: 16px;
}

.confidence-badge-mobile {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.confidence-badge-mobile.high {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.confidence-badge-mobile.medium {
    background: rgba(253, 126, 20, 0.2);
    color: #fd7e14;
    border: 1px solid rgba(253, 126, 20, 0.3);
}

.confidence-badge-mobile.low {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.result-card-body-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-detail-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label-mobile {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.detail-value-mobile {
    font-size: 13px;
    font-weight: 500;
}

.status-code-mobile {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.status-code-mobile.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-code-mobile.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.platform-link-mobile {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.platform-link-mobile:hover {
    color: var(--primary-light);
}

.table-container-desktop {
    display: block;
}

@media (max-width: 768px) {
    .search-metrics-mobile {
        flex-direction: column;
    }
    
    .metric-card-mobile {
        min-width: unset;
    }
    
    .confidence-stats-mobile {
        gap: 8px;
    }
    
    .confidence-item-mobile {
        padding: 8px;
    }
    
    .category-tags-mobile {
        gap: 6px;
    }
    
    .category-tag-mobile {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .result-card-mobile {
        padding: 12px;
    }
    
    .platform-name-mobile {
        font-size: 14px;
    }
    
    .confidence-badge-mobile {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .table-container-desktop {
        display: none;
    }
}

@media (min-width: 769px) {
    .results-mobile-container {
        display: none;
    }
}

@media (max-width: 480px) {
    .result-card-header-mobile {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .platform-info-mobile {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .confidence-text-mobile {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .result-detail-mobile {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

.header-analysis-info {
    margin-bottom: 20px;
}

.analysis-features {
    padding: 20px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.feature-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary);
    background: rgba(143, 156, 255, 0.05);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-item h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.header-journey {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.journey-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.journey-step:last-child {
    border-bottom: none;
}

.journey-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -15px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.journey-step:last-child::before {
    display: none;
}

.step-number {
    background: var(--primary);
    color: var(--terminal-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.step-details {
    flex: 1;
}

.step-server {
    font-weight: bold;
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 5px;
}

.step-ip {
    color: #007bff;
    font-family: var(--monospace-font);
    margin-bottom: 5px;
}

.step-location {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 5px;
}

.step-timestamp {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-family: var(--monospace-font);
}

.security-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.security-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.security-badge.pass {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.security-badge.fail {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.security-badge.neutral {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.threat-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.threat-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 12px;
    border-left: 4px solid transparent;
}

.threat-item.safe {
    border-left-color: #28a745;
}

.threat-item.warning {
    border-left-color: #ffc107;
}

.threat-item.danger {
    border-left-color: #dc3545;
}

.threat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.threat-value {
    font-weight: bold;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .header-textarea {
        min-height: 150px;
        font-size: 13px;
    }
    
    .journey-step {
        flex-direction: column;
        gap: 10px;
    }
    
    .threat-indicators {
        grid-template-columns: 1fr;
    }
}

.transcript-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.transcript-segment {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid rgba(0, 255, 163, 0.3);
    transition: all 0.3s ease;
}

.transcript-segment:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 255, 163, 0.15);
}

.transcript-timestamp {
    flex-shrink: 0;
    min-width: 80px;
}

.timestamp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    text-decoration: none;
    font-family: var(--monospace-font);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    background: rgba(0, 255, 163, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 163, 0.3);
    transition: all 0.3s ease;
}

.timestamp-link:hover {
    background: rgba(0, 255, 163, 0.2);
    color: var(--primary-dark);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.2);
    text-decoration: none;
    transform: translateY(-1px);
}

.timestamp-link i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.transcript-text {
    flex: 1;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.full-text-container {
    position: relative;
}

.full-text-area {
    width: 100%;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 1rem;
    color: var(--text-color);
    font-family: var(--monospace-font);
    font-size: 0.85rem;
    line-height: 1.6;
    resize: vertical;
    outline: none;
}

.full-text-area:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.2);
}

.copy-text-btn {
    margin-top: 0.5rem;
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-text-btn:hover {
    background: rgba(0, 255, 163, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.15);
}

.copy-text-btn.copied {
    background: rgba(40, 167, 69, 0.2);
    border-color: #28a745;
    color: #28a745;
}

.copy-text-btn i {
    font-size: 0.8rem;
}

.transcript-container::-webkit-scrollbar {
    width: 6px;
}

.transcript-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.transcript-container::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 163, 0.3);
    border-radius: 3px;
}

.transcript-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 163, 0.5);
}

@media (max-width: 768px) {
    .transcript-segment {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .transcript-timestamp {
        min-width: auto;
        align-self: flex-start;
    }
    
    .timestamp-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .transcript-text {
        font-size: 0.85rem;
    }
    
    .full-text-area {
        min-height: 150px;
        font-size: 0.8rem;
    }
}

.email-card-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.email-scan-card {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(143, 156, 255, 0.25);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 12px 35px rgba(10, 12, 20, 0.35);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.email-scan-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.email-scan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.email-card-profile-photo-wrap {
    display: flex;
    justify-content: center;
    margin: 18px 0 10px;
}

.email-card-profile-photo {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.email-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
}

.email-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-color-dimmed);
    margin-top: 4px;
}

.email-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(143, 156, 255, 0.4);
    background: transparent;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.email-card-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #05060b;
}

.email-card-btn i {
    font-size: 0.9rem;
}

.email-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.email-card-pill {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    border: 1px solid transparent;
}

.pill-scan {
    background: rgba(0, 132, 255, 0.12);
    color: #66c2ff;
    border-color: rgba(0, 132, 255, 0.3);
}

.pill-google {
    background: rgba(234, 67, 53, 0.12);
    color: #f28c82;
    border-color: rgba(234, 67, 53, 0.3);
}

.pill-microsoft {
    background: rgba(0, 120, 212, 0.12);
    color: #7cc3ff;
    border-color: rgba(0, 120, 212, 0.3);
}

.pill-presence {
    background: rgba(111, 207, 151, 0.12);
    color: #a7f3d0;
    border-color: rgba(111, 207, 151, 0.35);
}

.pill-active-poster {
    background: rgba(152, 109, 255, 0.2);
    color: #dcccff;
    border-color: rgba(152, 109, 255, 0.45);
}

.pill-gamer {
    background: rgba(255, 166, 46, 0.2);
    color: #ffd4a1;
    border-color: rgba(255, 166, 46, 0.45);
}

.email-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.email-card-grid.metrics-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .email-card-grid.metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .email-card-grid.metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .email-card-grid.metrics-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.email-card-grid-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(143, 156, 255, 0.2);
    border-radius: 12px;
    padding: 14px;
}

.email-card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color-dimmed);
    margin-bottom: 4px;
}

.email-card-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    word-break: break-word;
}

.email-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.email-card-links a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.email-card-links a:hover {
    color: var(--primary);
}

.email-card-pre {
    margin-top: 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(143, 156, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    font-family: var(--monospace-font);
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 320px;
    overflow-y: auto;
    white-space: pre-wrap;
}

.email-card-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.email-card-list li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.email-card-list li:last-child {
    border-bottom: none;
}

.email-card-mono {
    font-family: var(--monospace-font);
    font-size: 0.82rem;
    color: var(--text-color);
    word-break: break-all;
}

.email-sites-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-sites-list li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(143, 156, 255, 0.15);
}

.site-entry-content {
    display: flex;
    gap: 12px;
    align-items: center;
}

.email-sites-list a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.email-sites-list a:hover {
    color: var(--primary);
}

.site-index {
    font-weight: 600;
    color: var(--primary);
    min-width: 24px;
}

.phone-hint-reply {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 36px;
    padding: 6px 10px;
    padding-left: 12px;
    border-left: 3px solid rgba(143, 156, 255, 0.4);
    background: rgba(143, 156, 255, 0.08);
    border-radius: 4px;
    font-size: 0.85rem;
}

.phone-hint-label {
    color: rgba(143, 156, 255, 0.9);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-hint-value {
    color: #a8b4ff;
    font-weight: 500;
}

.site-list .site-entry {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-list .site-entry-content {
    display: flex;
    gap: 12px;
    align-items: center;
}

.email-card-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid;
}

.status-active {
    border-color: rgba(97, 255, 200, 0.4);
    color: #b7ffe5;
    background: rgba(97, 255, 200, 0.08);
}

.status-failed {
    border-color: rgba(255, 99, 132, 0.4);
    color: #ffb3c1;
    background: rgba(255, 99, 132, 0.12);
}

.email-scan-card-empty {
    text-align: left;
}

.email-card-empty-text {
    margin-top: 12px;
    color: var(--text-color-dimmed);
}

.email-scan-card-error {
    border-color: rgba(255, 99, 132, 0.4);
}

.email-card-body {
    margin-top: 18px;
}

@media (max-width: 640px) {
    .email-scan-card {
        padding: 18px;
    }

    .email-scan-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .email-card-btn {
        width: 100%;
        justify-content: center;
    }
}


:is(#username-results, .oracle-embedded-username) .ui-report {
    background: linear-gradient(145deg, rgba(18, 20, 28, 0.95) 0%, rgba(14, 16, 22, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

:is(#username-results, .oracle-embedded-username) .ui-report-header {
    background: linear-gradient(135deg, rgba(22, 25, 35, 0.98) 0%, rgba(18, 20, 28, 0.99) 100%);
    padding: 28px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

:is(#username-results, .oracle-embedded-username) .ui-report-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

:is(#username-results, .oracle-embedded-username) .ui-report-subject {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
    font-family: var(--ui-font);
}

:is(#username-results, .oracle-embedded-username) .ui-header-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

:is(#username-results, .oracle-embedded-username) .ui-header-data {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

:is(#username-results, .oracle-embedded-username) .ui-data-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

:is(#username-results, .oracle-embedded-username) .ui-data-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(143, 156, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

:is(#username-results, .oracle-embedded-username) .ui-data-value {
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.4;
}

:is(#username-results, .oracle-embedded-username) .ui-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    min-height: 42px;
}

:is(#username-results, .oracle-embedded-username) .ui-indicator-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

:is(#username-results, .oracle-embedded-username) .ui-indicator-value {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

:is(#username-results, .oracle-embedded-username) .ui-mono {
    font-family: var(--monospace-font);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

:is(#username-results, .oracle-embedded-username) .ui-report-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

:is(#username-results, .oracle-embedded-username) .ui-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s ease;
}

:is(#username-results, .oracle-embedded-username) .ui-action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

:is(#username-results, .oracle-embedded-username) .ui-action-btn i {
    font-size: 11px;
}

:is(#username-results, .oracle-embedded-username) .ui-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

:is(#username-results, .oracle-embedded-username) .ui-section-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 32px 0;
    margin-bottom: 0;
}

:is(#username-results, .oracle-embedded-username) .ui-section-body {
    padding: 16px 32px 28px;
}

:is(#username-results, .oracle-embedded-username) .ui-category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

:is(#username-results, .oracle-embedded-username) .ui-category-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(143, 156, 255, 0.08);
    border: 1px solid rgba(143, 156, 255, 0.2);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(143, 156, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

:is(#username-results, .oracle-embedded-username) .ui-platform-matrix {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:is(#username-results, .oracle-embedded-username) .ui-category-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

:is(#username-results, .oracle-embedded-username) .ui-category-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

:is(#username-results, .oracle-embedded-username) .ui-category-group-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

:is(#username-results, .oracle-embedded-username) .ui-category-group-count {
    font-size: 11px;
    font-weight: 700;
    color: rgba(143, 156, 255, 0.8);
    background: rgba(143, 156, 255, 0.1);
    padding: 2px 10px;
    border-radius: 10px;
}

:is(#username-results, .oracle-embedded-username) .ui-platform-entries {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

:is(#username-results, .oracle-embedded-username) .ui-platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.12s ease;
    min-width: 160px;
}

:is(#username-results, .oracle-embedded-username) .ui-platform-chip:hover {
    background: rgba(143, 156, 255, 0.08);
    color: #ffffff;
}

:is(#username-results, .oracle-embedded-username) .ui-platform-chip i {
    font-size: 9px;
    opacity: 0.4;
    transition: opacity 0.12s ease;
}

:is(#username-results, .oracle-embedded-username) .ui-platform-chip:hover i {
    opacity: 1;
    color: var(--primary);
}

:is(#username-results, .oracle-embedded-username) .ui-intel-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

:is(#username-results, .oracle-embedded-username) .ui-intel-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

:is(#username-results, .oracle-embedded-username) .ui-intel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

:is(#username-results, .oracle-embedded-username) .ui-intel-platform {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

:is(#username-results, .oracle-embedded-username) .ui-intel-view {
    font-size: 12px;
    font-weight: 500;
    color: rgba(143, 156, 255, 0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

:is(#username-results, .oracle-embedded-username) .ui-intel-view:hover {
    color: var(--primary);
}

:is(#username-results, .oracle-embedded-username) .ui-intel-view i {
    font-size: 10px;
}

:is(#username-results, .oracle-embedded-username) .ui-intel-card-body {
    padding: 16px 20px;
}

:is(#username-results, .oracle-embedded-username) .ui-intel-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0;
}

:is(#username-results, .oracle-embedded-username) .ui-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

:is(#username-results, .oracle-embedded-username) .ui-field-wide {
    grid-column: 1 / -1;
    border-right: none;
}

:is(#username-results, .oracle-embedded-username) .ui-field-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

:is(#username-results, .oracle-embedded-username) .ui-field-value {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    word-break: break-word;
}

:is(#username-results, .oracle-embedded-username) .ui-pre-wrap {
    white-space: pre-wrap;
}

:is(#username-results, .oracle-embedded-username) .ui-link {
    color: #5b9bd5;
    text-decoration: none;
    transition: color 0.15s ease;
}

:is(#username-results, .oracle-embedded-username) .ui-link:hover {
    color: #7cc3ff;
    text-decoration: underline;
}

:is(#username-results, .oracle-embedded-username) .ui-links-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

:is(#username-results, .oracle-embedded-username) .ui-links-list .ui-link {
    font-size: 12px;
    word-break: break-all;
}

:is(#username-results, .oracle-embedded-username) .ui-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

:is(#username-results, .oracle-embedded-username) .ui-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

:is(#username-results, .oracle-embedded-username) .ui-list-item {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

:is(#username-results, .oracle-embedded-username) .ui-list-item:last-child {
    border-bottom: none;
}

:is(#username-results, .oracle-embedded-username) .ui-post-item {
    padding: 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    margin-bottom: 8px;
    border-left: 2px solid rgba(143, 156, 255, 0.3);
}

:is(#username-results, .oracle-embedded-username) .ui-post-item:last-child {
    margin-bottom: 0;
}

:is(#username-results, .oracle-embedded-username) .ui-post-meta {
    font-size: 12px;
    font-weight: 600;
    color: rgba(143, 156, 255, 0.8);
    margin-bottom: 4px;
}

:is(#username-results, .oracle-embedded-username) .ui-post-stats {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

:is(#username-results, .oracle-embedded-username) .ui-post-caption {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    white-space: pre-wrap;
    margin-bottom: 6px;
}

:is(#username-results, .oracle-embedded-username) .ui-post-media-link {
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 12px;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 6px;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-posts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 100%;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-post-thumb-wrap {
    flex-shrink: 0;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-post-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-post-details {
    flex: 1;
    min-width: 0;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-profile-pic-inline {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 6px;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-posts-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-post-inline {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    border-left: 2px solid rgba(143, 156, 255, 0.3);
}

:is(#username-results, .oracle-embedded-username) .username-instagram-thumb-link {
    display: block;
    margin-bottom: 6px;
}

:is(#username-results, .oracle-embedded-username) .username-instagram-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

:is(#username-results, .oracle-embedded-username) .ui-archive-site {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

:is(#username-results, .oracle-embedded-username) .ui-archive-card-body {
    padding: 14px 18px;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-snapshots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-snapshot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.12s ease;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-snapshot:hover {
    background: rgba(143, 156, 255, 0.08);
    border-color: rgba(143, 156, 255, 0.25);
    color: #ffffff;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-snapshot i {
    font-size: 9px;
    opacity: 0.4;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-snapshot:hover i {
    opacity: 1;
}

:is(#username-results, .oracle-embedded-username) .ui-archive-date {
    font-family: var(--monospace-font);
    font-weight: 500;
}

@media (max-width: 768px) {
    :is(#username-results, .oracle-embedded-username) .ui-report-header {
        padding: 20px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-report-subject {
        font-size: 20px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-header-indicators {
        flex-direction: column;
        gap: 8px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-indicator {
        width: 100%;
        justify-content: space-between;
    }

    :is(#username-results, .oracle-embedded-username) .ui-section-title {
        padding: 16px 20px 0;
    }

    :is(#username-results, .oracle-embedded-username) .ui-section-body {
        padding: 12px 20px 20px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-platform-chip {
        min-width: 140px;
        padding: 8px 12px;
        font-size: 12px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-intel-fields {
        grid-template-columns: 1fr;
    }

    :is(#username-results, .oracle-embedded-username) .ui-field {
        border-right: none;
    }

    :is(#username-results, .oracle-embedded-username) .ui-report-actions {
        flex-direction: column;
    }

    :is(#username-results, .oracle-embedded-username) .ui-action-btn {
        width: 100%;
        justify-content: center;
    }

    :is(#username-results, .oracle-embedded-username) .ui-intel-card-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    :is(#username-results, .oracle-embedded-username) .ui-archive-card-header {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    :is(#username-results, .oracle-embedded-username) .ui-category-group-header {
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    :is(#username-results, .oracle-embedded-username) .ui-report-header {
        padding: 16px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-report-subject {
        font-size: 18px;
        margin-bottom: 16px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-section-title {
        padding: 14px 16px 0;
        font-size: 11px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-section-body {
        padding: 10px 16px 16px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-platform-chip {
        min-width: 120px;
    }

    :is(#username-results, .oracle-embedded-username) .ui-category-tag {
        font-size: 10px;
        padding: 4px 10px;
    }
}

.gm-reviews-section {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(143, 156, 255, 0.15);
    overflow: hidden;
}

.gm-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(143, 156, 255, 0.08);
    border-bottom: 1px solid rgba(143, 156, 255, 0.1);
}

.gm-reviews-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.gm-reviews-count {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-color-dimmed);
    background: rgba(143, 156, 255, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
}

.gm-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
    padding: 16px;
}

.gm-review-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(143, 156, 255, 0.1);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gm-review-card:hover {
    border-color: rgba(143, 156, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gm-review-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(143, 156, 255, 0.06);
    border-bottom: 1px solid rgba(143, 156, 255, 0.08);
}

.gm-review-card-number {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(143, 156, 255, 0.15);
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 28px;
    text-align: center;
}

.gm-review-card-business {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.gm-review-card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gm-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: baseline;
}

.gm-review-meta-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    flex-shrink: 0;
}

.gm-review-meta-value {
    font-size: 0.85rem;
    color: var(--text-color);
    word-break: break-word;
}

.gm-review-rating {
    font-size: 0.85rem;
    font-weight: 600;
}

.gm-review-rating.rating-high {
    color: #4caf50;
}

.gm-review-rating.rating-mid {
    color: #ffc107;
}

.gm-review-rating.rating-low {
    color: #f44336;
}

.gm-review-text,
.gm-review-owner {
    margin-top: 4px;
}

.gm-review-quote {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-color);
    line-height: 1.45;
    font-style: italic;
    padding: 8px 10px;
    background: rgba(143, 156, 255, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
}

.gm-review-owner-text {
    opacity: 0.9;
}

.gm-review-photos {
    margin-top: 8px;
}

.gm-review-photos-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.gm-review-photos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gm-review-photo-thumb {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(143, 156, 255, 0.2);
    flex-shrink: 0;
}

.gm-review-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.google-reviews-placeholder {
    min-height: 20px;
}

