*{
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  position: relative;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 25px;
  width: 100%;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.main{
  background: #fff;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.input-group {
  display: flex;
  gap: 20px;
}

.url-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.url-input:focus {
  outline: none;
  border-color: #3498db;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
}

.btn-secondary {
  background-color: #2ecc71;
  color: white;
}

.btn-secondary:hover {
  background-color: #27ae60;
}

.btn-danger {
  background-color: #e74c3c;
  color: white;
}

.btn-danger:hover {
  background-color: #c0392b;
}

.result-container {
  display: none;
  margin-top: 25px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.info-table th,
.info-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.info-table th {
  background-color: #f8f9fa;
  width: 150px;
}

.preview-container {
  text-align: center;
  margin-top: 25px;
}

.preview-container h3{
  margin-bottom: 10px;
  font-size: 18px;
}

.icon-preview {
  max-width: 200px;
  max-height: 200px;
  margin: 0 auto;
  border: 1px solid #eee;
  padding: 10px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.footer {
  background: #fff;
  padding: 20px;
  width: 100%;
  border-radius: 12px;
}

.footer h3{
  font-size: 20px;
  margin-bottom: 15px;
}

.footer p{
 color: #7f8c8d;
 font-size: 14px;
 margin-top: 10px;
}

.features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 25px;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #2c3e50;
}

.loading {
  display: none;
  text-align: center;
  margin: 20px 0;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: #3498db;
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
  font-size: 14px;
  min-width: 200px;
  text-align: center;
}

.notice.show {
  display: block;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    bottom: 0;
  }

  10% {
    opacity: 1;
    bottom: 20px;
  }

  90% {
    opacity: 1;
    bottom: 20px;
  }

  100% {
    opacity: 0;
    bottom: 0;
  }
}
