.card {
  width: 80%;
  margin: 0 auto;
}

.input-group {
  position: relative;
}

.input-group i {
  position: absolute;
  right: 2rem;
  top: 60%;
  transform: translateY(-60%);
  color: var(--primary-color);
  font-size: 1.8rem;
}

#result {
  margin-top: 30px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.result-header h2 {
  color: var(--box-text-color);
  font-size: 2rem;
  font-weight: 700;
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.status-section {
  background: var(--box-bg-color);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.status-indicator {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 3rem;
  color: white;
  animation: pulse 2s infinite;
}

.status-indicator.indexed {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.status-indicator.noindex {
  background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.status-indicator.error {
  background: linear-gradient(135deg, #6c757d, #495057);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.status-text {
  color: var(--box-text-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.status-description {
  font-size: 1.4rem;
  color: var(--box-text-color);
  line-height: 1.6;
}

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

.detail-card {
  background: var(--box-bg-color);
  color: var(--box-text-color);
  font-size: 1.2rem;
  line-height: 1.5;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.detail-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-card h3 i {
  color: var(--primary-color);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  background: var(--box-text-color);
  color: var(--box-bg-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
}

.tag.noindex {
  background: #f8d7da;
  color: #721c24;
}

.tag.nofollow {
  background: #fff3cd;
  color: #856404;
}

.recommendations {
  background: var(--box-bg-color);
  border-radius: 12px;
  padding: 25px;
  margin-top: 20px;
}

.recommendations h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.recommendations ul {
  list-style: none;
  padding: 0;
}

.recommendations li {
  color: var(--box-text-color);
  font-size: 1.3rem;
  padding: 8px 0;
  border-bottom: 1px solid #cce7ff;
  position: relative;
  padding-left: 25px;
}

.recommendations li:last-child {
  border-bottom: none;
}

.recommendations li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bolder;
}

.url-info {
  background: var(--primary-color);
  color: #fff;
  width: fit-content;
  border-radius: 8px;
  padding: 15px;
  margin: 10px auto;
  word-break: break-all;
  font-family: "Courier New", monospace;
  font-size: 1.4rem;
}

.response-time {
  display: inline-block;
  background: #28a745;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .tool-container {
    padding: 20px;
  }

  .tool-heading {
    padding: 20px;
  }

  .tool-heading h1 {
    font-size: 2rem;
  }

  .result-header {
    flex-direction: column;
    align-items: stretch;
  }

  .action-buttons {
    justify-content: center;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 425px) {
  .card {
    width: 100%;
    margin: 0;
  }
}
