/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #0066cc;
}

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 16px;
  color: #666666;
  font-weight: normal;
}

/* Back Button per WHOIS */
.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 15px;
  background-color: #f0f0f0;
  color: #333333;
  text-decoration: none;
  border: 1px solid #cccccc;
  border-radius: 3px;
  font-size: 13px;
}

.back-btn:hover {
  background-color: #e0e0e0;
}

.back-btn i {
  margin-right: 5px;
}

/* Domain Title per WHOIS */
.domain-title {
  font-size: 28px;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 10px;
  font-family: Courier, monospace;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 3px;
  font-weight: bold;
  font-size: 12px;
  margin-top: 10px;
}

.status-active {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-expired {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-available {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.status-unknown {
  background-color: #e2e3e5;
  color: #383d41;
  border: 1px solid #d6d8db;
}

/* Stats */
.stats {
  display: table;
  width: 100%;
  margin-bottom: 30px;
  border-collapse: separate;
  border-spacing: 10px;
}

.stat-card {
  display: table-cell;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  width: 33.33%;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: #666666;
  text-transform: uppercase;
}

/* Navigation */
.nav {
  text-align: center;
  margin-bottom: 30px;
  padding: 15px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
}

.nav-item {
  display: inline-block;
  margin: 0 15px;
  padding: 8px 15px;
  background-color: #ffffff;
  color: #0066cc;
  text-decoration: none;
  border: 1px solid #0066cc;
  border-radius: 3px;
  font-size: 14px;
}

.nav-item:hover {
  background-color: #0066cc;
  color: #ffffff;
}

.nav-item.active {
  background-color: #0066cc;
  color: #ffffff;
}

.nav-item i {
  margin-right: 5px;
}

/* Date Picker */
.date-picker {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
}

.date-picker label {
  display: block;
  margin-bottom: 10px;
  color: #666666;
  font-size: 14px;
}

.date-input {
  padding: 8px 12px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  font-size: 14px;
  font-family: Courier, monospace;
}

.date-input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 3px rgba(0, 102, 204, 0.3);
}

/* Search */
.search-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto 30px;
}

.search-input {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  font-size: 14px;
}

.search-input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 3px rgba(0, 102, 204, 0.3);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666666;
}

/* Table */
.table-container {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  overflow: hidden;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table thead {
  background-color: #f8f9fa;
}

.table th {
  padding: 12px 15px;
  text-align: left;
  font-weight: bold;
  color: #333333;
  font-size: 14px;
  border-bottom: 2px solid #dee2e6;
}

.table td {
  padding: 12px 15px;
  border-bottom: 1px solid #dee2e6;
  font-size: 14px;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
}

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

.domain-cell {
  font-family: Courier, monospace;
  font-weight: bold;
  color: #333333;
}

.whois-btn {
  display: inline-block;
  padding: 6px 12px;
  background-color: #0066cc;
  color: #ffffff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

.whois-btn:hover {
  background-color: #0052a3;
}

.whois-btn i {
  margin-right: 5px;
}

/* WHOIS Grid */
.whois-grid {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 20px;
  margin-bottom: 30px;
}

.whois-card {
  display: table-cell;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 20px;
  width: 50%;
  vertical-align: top;
}

.card-header {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
}

.card-icon {
  display: inline-block;
  margin-right: 8px;
  color: #0066cc;
}

.info-item {
  display: table;
  width: 100%;
  margin-bottom: 8px;
}

.info-label {
  display: table-cell;
  width: 40%;
  color: #666666;
  font-weight: bold;
  font-size: 13px;
  vertical-align: top;
  padding-right: 10px;
}

.info-value {
  display: table-cell;
  color: #333333;
  font-family: Courier, monospace;
  font-size: 13px;
  word-break: break-all;
}

/* Nameservers */
.nameserver-list {
  list-style: none;
  margin-top: 10px;
}

.nameserver-item {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  padding: 8px 12px;
  margin-bottom: 5px;
  border-radius: 3px;
  font-family: Courier, monospace;
  font-size: 12px;
  color: #333333;
}

/* Raw WHOIS */
.raw-whois {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 20px;
  margin-top: 20px;
}

.raw-whois-header {
  display: table;
  width: 100%;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
}

.raw-whois-title {
  display: table-cell;
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  vertical-align: middle;
}

.copy-btn {
  display: table-cell;
  text-align: right;
  vertical-align: middle;
}

.copy-btn button {
  padding: 6px 12px;
  background-color: #0066cc;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
}

.copy-btn button:hover {
  background-color: #0052a3;
}

.whois-raw {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  padding: 15px;
  font-family: Courier, monospace;
  font-size: 12px;
  line-height: 1.4;
  color: #333333;
  white-space: pre-wrap;
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666666;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: #cccccc;
}

.empty-text {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333;
}

.empty-subtext {
  font-size: 14px;
  color: #666666;
}

/* Footer */
.footer {
  margin-top: 50px;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #dee2e6;
  color: #666666;
  font-size: 12px;
  background-color: #f8f9fa;
}

.footer a {
  color: #0066cc;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Loading */
.loading {
  display: none;
  text-align: center;
  padding: 40px;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #0066cc;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Theme Toggle - Nascosto per questo stile */
.theme-toggle {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
  
  .logo {
    font-size: 24px;
  }
  
  .domain-title {
    font-size: 20px;
  }
  
  .stats {
    display: block;
  }
  
  .stat-card {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
  
  .nav-item {
    display: block;
    margin: 5px 0;
  }
  
  .table-container {
    overflow-x: auto;
  }
  
  .table th,
  .table td {
    padding: 8px;
    font-size: 12px;
  }
  
  .whois-grid {
    display: block;
  }
  
  .whois-card {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .info-item {
    display: block;
  }
  
  .info-label {
    display: block;
    width: 100%;
    margin-bottom: 5px;
  }
  
  .info-value {
    display: block;
    padding-left: 0;
  }
  
  .raw-whois-header {
    display: block;
  }
  
  .copy-btn {
    display: block;
    text-align: left;
    margin-top: 10px;
  }
}

/* Rimuovi tutte le animazioni fancy */
.fade-in-up,
.stagger-1,
.stagger-2,
.stagger-3,
.stagger-4 {
  /* Nessuna animazione */
}
