/**
 * IP Lookup Plugin Styles
 * Matches the Extortionware theme dark aesthetic
 */

.ip-lookup-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2.5rem;
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  color: #e8e6e0;
  font-family: 'Crimson Text', serif;
}

.ip-lookup-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #333;
}

.ip-lookup-icon {
  color: #d4a574;
  margin-bottom: 1rem;
}

.ip-lookup-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #e8e6e0;
  margin: 0;
  letter-spacing: 0.02em;
}

.ip-lookup-results {
  margin: 2rem 0;
}

.ip-lookup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #2a2a2a;
}

.ip-lookup-row:last-child {
  border-bottom: none;
}

.ip-lookup-label {
  font-size: 1.1rem;
  color: #999;
  font-weight: 600;
  min-width: 140px;
}

.ip-lookup-value {
  font-size: 1.1rem;
  color: #e8e6e0;
  text-align: right;
  flex: 1;
}

.ip-address-row {
  background-color: rgba(212, 165, 116, 0.05);
  padding: 1.25rem 1rem;
  margin: -0.5rem -1rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 165, 116, 0.2);
}

.ip-address-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d4a574;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
}

.ip-lookup-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  text-align: center;
}

.ip-lookup-note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ip-lookup-container {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .ip-lookup-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .ip-lookup-label {
    min-width: auto;
  }
  
  .ip-lookup-value {
    text-align: left;
  }
  
  .ip-address-value {
    font-size: 1.2rem;
  }
  
  .ip-lookup-header h3 {
    font-size: 1.5rem;
  }
}

/* Loading state (optional) */
.ip-lookup-loading {
  text-align: center;
  padding: 2rem;
  color: #999;
}

.ip-lookup-loading::after {
  content: '...';
  animation: ip-lookup-dots 1.5s steps(4, end) infinite;
}

@keyframes ip-lookup-dots {
  0%, 20% {
    content: '.';
  }
  40% {
    content: '..';
  }
  60%, 100% {
    content: '...';
  }
}
