/* WHOIS Tool Specific Styles */

.whois-result-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.whois-summary {
  background-color: #f8f9fa;
  border-left: 4px solid #0d6efd;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

.whois-domain {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.whois-domain i {
  color: #0d6efd;
  margin-right: 0.5rem;
}

.whois-quick-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-stat i {
  font-size: 1.1rem;
  color: #6c757d;
}

.stat-label {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
}

.stat-value.success {
  background-color: #d1eddc;
  color: #155724;
}

.stat-value.warning {
  background-color: #fff3cd;
  color: #856404;
}

.stat-value.danger {
  background-color: #f8d7da;
  color: #721c24;
}

.whois-sections {
  margin-top: 1.5rem;
}

.whois-section {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.15s ease-in-out;
}

.whois-section:hover {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.whois-section h6 {
  color: #495057;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 0.5rem;
}

.whois-section h6 i {
  color: #17a2b8;
  margin-right: 0.5rem;
}

.whois-details {
  display: grid;
  gap: 0.5rem;
}

.whois-item {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 2fr;
  gap: 1rem;
  padding: 0.5rem;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  border-left: 3px solid #e9ecef;
}

.whois-key {
  font-weight: 600;
  color: #495057;
  font-size: 0.875rem;
}

.whois-value {
  color: #212529;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  word-break: break-all;
}

/* Raw result section */
.raw-result-section {
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
}

.raw-result-section h6 {
  color: #495057;
  font-weight: 600;
}

.raw-result-section h6 i {
  color: #6c757d;
  margin-right: 0.5rem;
}

.raw-output {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-top: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.raw-output pre {
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #495057;
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .whois-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  
  .whois-key {
    font-size: 0.8rem;
  }
  
  .whois-value {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .whois-quick-stats {
    gap: 0.5rem;
  }
  
  .quick-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .raw-output {
    max-height: 300px;
  }
  
  .raw-output pre {
    font-size: 0.75rem;
  }
}