 /* Reset */
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ebd6d2;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #f33514;
  border-radius: 5px;
}

/* Header */
.header {
  background: linear-gradient(135deg, #c5280c 0%, #f7664c 100%);
  color: white;
  padding: 1.2rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo i {
  color: #c5280c;
  font-size: 1.8rem;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.site-tagline {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* main */
.main-content {
  flex: 1;
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.intro-section {
  text-align: center;
  margin-bottom: 3rem;
}

.intro-section h1 {
  color: #c5280c;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.intro-section p {
  color: #64748b;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* sea */
.search-section {
  background-color: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 2.5rem;
}

.search-title {
  color: #a72109;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-title i {
  color: #c5280c;
}

.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 18px 20px;
  padding-left: 55px;
  font-size: 1.1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
  outline: none;
  background-color: #f8fafc;
}

.search-input:focus {
  border-color: #c5280c;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background-color: white;
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.2rem;
}

.search-btn {
  background: linear-gradient(to right, #f33b1a, #96230e);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.search-btn:hover {
  background: linear-gradient(to right, #c5280c, #551105);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.search-btn:active {
  transform: translateY(0);
}

/* exam sea */
.examples {
  margin-top: 1.5rem;
}

.examples-title {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 10px;
}

.example-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.example-tag {
  background-color: #f1f5f9;
  color: #475569;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.example-tag:hover {
  background-color: #e2e8f0;
  color: #c5280c;
}

/* res */
.results-section {
  background-color: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: none; 
}

.results-title {
  color: #c5280c;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.results-title i {
  color: #10b981;
}

.result-card {
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid #f73b1a;
}

.mac-address {
  font-size: 1.2rem;
  font-weight: 600;
  color: #994b3d;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copy-btn {
  background-color: #f8300c;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background-color 0.2s;
}

.copy-btn:hover {
  background-color: #e68372;
}

.vendor-info {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.5;
}

.vendor-name {
  color: #c5280c;
  font-weight: 600;
}

/* info */
.info-section {
  margin-top: 3rem;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.info-card {
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card i {
  font-size: 2rem;
  color: #c5280c;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: #c5280c;
  margin-bottom: 0.8rem;
}

.info-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* footer */
.footer {
  background-color: #6e1809;
  color: #cbd5e1;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #60a5fa;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .header {
      padding: 1rem 1.5rem;
  }
  
  .site-title {
      font-size: 1.5rem;
  }
  
  .main-content {
      padding: 2rem 1rem;
  }
  
  .intro-section h1 {
      font-size: 2rem;
  }
  
  .search-section, .results-section {
      padding: 1.8rem;
  }
  
  .info-cards {
      grid-template-columns: 1fr;
  }
  
  .footer-links {
      flex-direction: column;
      gap: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-container {
      flex-direction: column;
      text-align: center;
      gap: 8px;
  }
  
  .intro-section h1 {
      font-size: 1.7rem;
  }
}

.search-input.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.search-input.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* up */
.search-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.search-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* error */
.error-message {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* sucss */
.result-card.success {
    border-left-color: #10b981;
}

.results-section {
    transition: all 0.3s ease;
}