/* DNS Check CSS - IntoDNS benzeri modern tasarım */

/* Main content wrapper */
.main-content {
    min-height: 80vh;
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Ana konteyner */
.dns-check-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Form bölümü */
.dns-check-form {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    color: white;
}

.dns-check-form h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.dns-check-form p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.domain-input-group {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 15px;
    flex-wrap: wrap;
}

.domain-input {
    flex: 1;
    min-width: 300px;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.domain-input:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.check-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.check-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.check-button:active {
    transform: translateY(0);
}

/* Sonuçlar bölümü */
.results-section {
    margin-top: 30px;
    display: none;
}

.results-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.results-header h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.summary-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 15px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #4a5568;
}

.stat-number.passed {
    color: #48bb78;
}

.stat-number.warning {
    color: #ed8936;
}

.stat-number.failed {
    color: #f56565;
}

.stat-number.score {
    color: #667eea;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    margin-top: 5px;
}

/* Test kategorileri */
.test-categories {
    display: grid;
    gap: 20px;
}

.category-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.category-header {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-header i {
    font-size: 1.5rem;
    color: #667eea;
    width: 30px;
    text-align: center;
}

.category-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.3rem;
    color: #2d3748;
    font-weight: 600;
}

.category-count {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-tests {
    padding: 0;
}

.test-item {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.test-item:last-child {
    border-bottom: none;
}

.test-item:hover {
    background: #f8fafc;
}

.test-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    gap: 20px;
}

.test-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.test-item.success .test-icon {
    background: linear-gradient(45deg, #48bb78, #68d391);
    color: white;
}

.test-item.error .test-icon {
    background: linear-gradient(45deg, #f56565, #fc8181);
    color: white;
}

.test-item.warning .test-icon {
    background: linear-gradient(45deg, #ed8936, #f6ad55);
    color: white;
}

.test-item.info .test-icon {
    background: linear-gradient(45deg, #4299e1, #63b3ed);
    color: white;
}

.test-content {
    flex: 1;
}

.test-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.test-message {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

.test-details {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
}

.test-status {
    flex-shrink: 0;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.success {
    background: linear-gradient(45deg, #48bb78, #68d391);
    color: white;
}

.status-badge.error {
    background: linear-gradient(45deg, #f56565, #fc8181);
    color: white;
}

.status-badge.warning {
    background: linear-gradient(45deg, #ed8936, #f6ad55);
    color: white;
}

.status-badge.info {
    background: linear-gradient(45deg, #4299e1, #63b3ed);
    color: white;
}

/* DNS kayıtları bölümü */
.dns-records-section {
    margin-top: 30px;
    display: none;
}

.dns-records-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.dns-records-container h2 {
    margin: 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.5rem;
    color: #2d3748;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.dns-records-container h2 i {
    color: #667eea;
}

/* Tab sistemi */
.tabs-container {
    background: white;
}

.tabs-menu {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-menu::-webkit-scrollbar {
    display: none;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    color: #4a5568;
    background: rgba(102, 126, 234, 0.05);
}

.tab-button.active {
    color: #667eea;
    background: white;
    border-bottom-color: #667eea;
}

.tabs-content {
    padding: 0;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    color: #2d3748;
    font-weight: 600;
}

/* DNS tabloları */
.dns-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.dns-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dns-table tbody td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #4a5568;
    vertical-align: top;
}

.dns-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.02);
}

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

.ip-address, .ipv6-address {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-weight: 600;
    color: #2d3748;
    background: #f7fafc;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.priority {
    background: #ffd6cc;
    color: #c53030;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    min-width: 30px;
}

.txt-content {
    max-width: 300px;
    word-break: break-all;
}

.txt-short {
    cursor: help;
}

.no-records {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-style: italic;
}

/* Loading spinner */
.loading-spinner {
    text-align: center;
    padding: 60px;
    color: #667eea;
    font-size: 1.1rem;
}

.loading-spinner::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notification sistemi */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

.notification.error {
    border-left: 4px solid #f56565;
    color: #c53030;
}

.notification.info {
    border-left: 4px solid #4299e1;
    color: #2b6cb0;
}

.notification.success {
    border-left: 4px solid #48bb78;
    color: #276749;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .dns-check-container {
        padding: 15px;
    }
    
    .dns-check-form {
        padding: 30px 20px;
    }
    
    .dns-check-form h1 {
        font-size: 2rem;
    }
    
    .domain-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .domain-input {
        min-width: auto;
    }
    
    .summary-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .test-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .test-header .test-status {
        align-self: flex-end;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tabs-menu {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .tab-button.active {
        border-left-color: #667eea;
        border-bottom-color: transparent;
    }
    
    .dns-table {
        font-size: 0.8rem;
    }
    
    .dns-table thead th,
    .dns-table tbody td {
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .dns-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* =================================
   DNS CHECK PAGE STYLES
   ================================= */

.dns-check-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* =================================
   HERO SECTION
   ================================= */

.dns-hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.dns-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.title-primary {
  display: block;
  color: #ffffff;
}

.title-secondary {
  display: block;
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* =================================
   SEARCH FORM
   ================================= */

.dns-search-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-container {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #667eea;
  z-index: 2;
}

.search-input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e0e6ff;
  border-radius: 12px;
  font-size: 1.1rem;
  background: #ffffff;
  color: #2d3748;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-button {
  padding: 15px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.search-button:active {
  transform: translateY(0);
}

.search-help {
  display: flex;
  gap: 20px;
  color: #4a5568;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.help-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  cursor: help;
}

.help-icon {
  width: 16px;
  height: 16px;
  color: #667eea;
}

/* =================================
   HERO ILLUSTRATION
   ================================= */

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dns-visual {
  position: relative;
  width: 300px;
  height: 300px;
}

.dns-layers {
  position: relative;
  width: 100%;
  height: 100%;
}

.layer {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.layer i {
  width: 24px;
  height: 24px;
}

.layer-1 {
  top: 0;
  left: 0;
  width: 120px;
  height: 100px;
  animation-delay: 0s;
}

.layer-2 {
  top: 50px;
  right: 0;
  width: 120px;
  height: 100px;
  animation-delay: 0.5s;
}

.layer-3 {
  bottom: 50px;
  left: 0;
  width: 120px;
  height: 100px;
  animation-delay: 1s;
}

.layer-4 {
  bottom: 0;
  right: 0;
  width: 120px;
  height: 100px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.layer-2 {
  animation-name: float-right;
}

.layer-4 {
  animation-name: float-left;
}

@keyframes float-right {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-10px) translateX(5px); }
}

@keyframes float-left {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-10px) translateX(-5px); }
}

/* =================================
   RESULTS SECTION
   ================================= */

.dns-results {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.results-header {
  text-align: center;
  margin-bottom: 50px;
}

.results-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
}

.queried-domain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
}

.loading-state, .error-state {
  text-align: center;
  padding: 60px 20px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e0e6ff;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

.error-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.error-icon i {
  width: 40px;
  height: 40px;
  color: white;
}

.error-state h3 {
  font-size: 1.8rem;
  color: #2d3748;
  margin-bottom: 15px;
}

.retry-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.retry-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* =================================
   DNS SUMMARY
   ================================= */

.dns-summary {
  margin-bottom: 40px;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d3748;
  margin-bottom: 8px;
}

.stat-number.passed {
  color: #48bb78;
}

.stat-number.warning {
  color: #ed8936;
}

.stat-number.failed {
  color: #f56565;
}

.stat-number.score {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =================================
   DNS TEST CATEGORIES
   ================================= */

.dns-test-categories {
  margin-bottom: 30px;
}

.category-section {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.2s ease;
}

.category-section:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-header {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  padding: 15px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-header i {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.category-header h3 {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}

.category-count {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.category-tests {
  padding: 0;
}

.test-item {
  padding: 15px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.test-item:last-child {
  border-bottom: none;
}

.test-item:hover {
  background: #f8fafc;
}

.test-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.test-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.test-item.success .test-icon {
  background: linear-gradient(135deg, #48bb78, #38a169);
}

.test-item.error .test-icon {
  background: linear-gradient(135deg, #f56565, #e53e3e);
}

.test-item.warning .test-icon {
  background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.test-item.info .test-icon {
  background: linear-gradient(135deg, #4299e1, #3182ce);
}

.test-content {
  flex: 1;
  min-width: 0;
}

.test-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 6px;
  line-height: 1.3;
}

.test-message {
  color: #4a5568;
  line-height: 1.4;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.test-details {
  color: #718096;
  font-size: 0.85rem;
  line-height: 1.3;
  font-style: italic;
}

.test-status {
  margin-left: auto;
  flex-shrink: 0;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-badge.success {
  background: rgba(72, 187, 120, 0.1);
  color: #38a169;
}

.status-badge.error {
  background: rgba(245, 101, 101, 0.1);
  color: #e53e3e;
}

.status-badge.warning {
  background: rgba(237, 137, 54, 0.1);
  color: #dd6b20;
}

.status-badge.info {
  background: rgba(66, 153, 225, 0.1);
  color: #3182ce;
}

/* =================================
   DNS RECORDS SECTION
   ================================= */

.dns-records-section {
  margin-top: 50px;
}

.dns-records-container {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.dns-records-container h2 {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}

.section-icon {
  width: 28px;
  height: 28px;
  color: #667eea;
}

.tabs-container {
  margin-top: 25px;
}

.tabs-menu {
  display: flex;
  gap: 5px;
  margin-bottom: 25px;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  padding-bottom: 0;
}

.tabs-menu::-webkit-scrollbar {
  height: 4px;
}

.tab-button {
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  color: #718096;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  position: relative;
}

.tab-button:hover {
  background: #f8fafc;
  color: #4a5568;
}

.tab-button.active {
  color: #667eea;
  border-bottom-color: #667eea;
  background: #f8fafc;
}

.tabs-content {
  min-height: 200px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dns-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.dns-table thead th {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  color: #4a5568;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dns-table tbody td {
  padding: 15px 20px;
  color: #2d3748;
  border-bottom: 1px solid #f1f5f9;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.9rem;
}

.dns-table tbody tr:hover {
  background: #f8fafc;
}

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

.ip-address, .ipv6-address {
  background: linear-gradient(135deg, #e6fffa, #b2f5ea);
  color: #234e52;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
}

.priority {
  background: linear-gradient(135deg, #fed7d7, #feb2b2);
  color: #742a2a;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  min-width: 30px;
  display: inline-block;
}

.txt-content {
  max-width: 400px;
  word-break: break-all;
}

.txt-short {
  color: #718096;
}

.no-records {
  text-align: center;
  padding: 40px;
  color: #718096;
  font-style: italic;
}

/* =================================
   INFO SECTIONS
   ================================= */

.dns-info, .dns-features, .related-services {
  padding: 80px 0;
  background: white;
}

.dns-info {
  background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.dns-features {
  background: white;
}

.related-services {
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #718096;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.info-grid, .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.info-item, .feature-card {
  text-align: center;
  padding: 30px 20px;
}

.info-icon, .feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
}

.info-item h3, .feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.info-item p, .feature-card p {
  color: #718096;
  line-height: 1.6;
}

.feature-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  padding: 40px 30px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.feature-content {
  text-align: left;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  text-align: left;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0;
  flex-shrink: 0;
  font-size: 1.5rem;
}

/* =================================
   SERVICES SECTION
   ================================= */

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

.service-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.service-card p {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 25px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  text-decoration: none;
  color: white;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .search-container {
    flex-direction: column;
  }

  .search-help {
    flex-direction: column;
    gap: 10px;
  }

  .dns-visual {
    width: 250px;
    height: 250px;
  }

  .summary-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .test-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .test-header .test-status {
    margin-left: 0;
    align-self: flex-start;
  }

  .category-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tabs-menu {
    justify-content: flex-start;
  }

  .tab-button {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .dns-table {
    font-size: 0.8rem;
  }

  .dns-table thead th,
  .dns-table tbody td {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .dns-hero {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .dns-search-form {
    padding: 20px;
  }

  .search-button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .dns-visual {
    width: 200px;
    height: 200px;
  }

  .layer {
    padding: 15px;
    font-size: 0.9rem;
  }

  .results-title {
    font-size: 2rem;
  }

  .dns-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* =================================
   LOADING & NOTIFICATIONS
   ================================= */

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #667eea;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateX(400px);
  transition: all 0.3s ease;
  max-width: 350px;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-left-color: #48bb78;
}

.notification.error {
  border-left-color: #f56565;
}

.notification.warning {
  border-left-color: #ed8936;
}

.notification i {
  color: #667eea;
  font-size: 1.2rem;
}

.notification.success i {
  color: #48bb78;
}

.notification.error i {
  color: #f56565;
}

.notification.warning i {
  color: #ed8936;
}

/* =================================
   TEST DETAIL TABLE
   ================================= */

/* Category Overview Simple */
.category-overview-simple {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.category-overview-simple h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-overview-simple h3 i {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
}

.category-description {
  margin: 0 0 1rem 0;
  line-height: 1.5;
  font-size: 0.9rem;
  color: #4a5568;
}

.category-stats-inline {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-stats-inline .stat-item {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.category-stats-inline .stat-item.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.category-stats-inline .stat-item.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.category-stats-inline .stat-item.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Test Detail Table */
.test-detail-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.test-detail-table th {
  background: #f8fafc;
  color: #374151;
  font-weight: 600;
  padding: 12px;
  border-bottom: 2px solid #e5e7eb;
  font-size: 0.85rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.test-detail-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
  font-size: 0.85rem;
  line-height: 1.4;
}

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

.test-row.success {
  background: rgba(16, 185, 129, 0.02);
}

.test-row.error {
  background: rgba(239, 68, 68, 0.02);
}

.test-row.warning {
  background: rgba(245, 158, 11, 0.02);
}

.test-row.info {
  background: rgba(59, 130, 246, 0.02);
}

.status-cell {
  width: 120px;
  text-align: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-indicator.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-indicator.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.status-indicator.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.status-indicator.info {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.status-indicator i {
  width: 14px;
  height: 14px;
}

.test-name {
  min-width: 180px;
  font-weight: 600;
  color: #2d3748;
}

.test-number {
  font-size: 0.75rem;
  color: #718096;
  font-weight: normal;
  margin-top: 0.25rem;
}

.test-message {
  color: #4a5568;
  max-width: 250px;
}

.test-technical {
  color: #718096;
  max-width: 200px;
  font-style: italic;
}

.test-explanation {
  max-width: 300px;
}

.explanation-content {
  line-height: 1.5;
  color: #2d3748;
}

.explanation-content strong {
  color: #2d3748;
  font-weight: 600;
}

.explanation-content em {
  color: var(--primary-color);
  font-style: normal;
  font-weight: 600;
}

.status-text {
  font-size: 0.7rem;
}

.no-tests {
  text-align: center;
  padding: 40px;
  color: #6b7280;
  font-style: italic;
}

.test-results-detailed {
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

/* Responsive Design for Test Table */
@media (max-width: 768px) {
  .category-stats-inline {
    justify-content: center;
  }
  
  .test-detail-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .test-detail-table th,
  .test-detail-table td {
    padding: 8px 6px;
    font-size: 0.8rem;
  }
  
  .test-name,
  .test-message,
  .test-technical,
  .test-explanation {
    min-width: 120px;
    max-width: 150px;
  }
} 