/* Create Icons Collection Professional Styling */

.create-icons-page {
  max-width: 100%;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: calc(100vh - 140px);
}

.create-icons-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Card */
.create-icons-header-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 40px;
}

.create-icons-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 50px 40px;
  text-align: center;
  color: white;
}

.create-icons-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 15px 0;
  letter-spacing: -0.5px;
}

.create-icons-subtitle {
  font-size: 20px;
  margin: 0;
  opacity: 0.95;
  font-weight: 300;
}

/* Content Section */
.create-icons-content {
  background: white;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

/* Introduction Section */
.intro-section {
  margin-bottom: 50px;
}

.intro-section h2 {
  font-size: 32px;
  color: #1f2937;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 3px solid #667eea;
  font-weight: 700;
}

.intro-section p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.8;
  margin: 0 0 15px 0;
}

.intro-section a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.intro-section a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Steps Section */
.steps-section {
  margin-top: 50px;
}

.steps-section > h2 {
  font-size: 32px;
  color: #1f2937;
  margin: 0 0 40px 0;
  padding-bottom: 12px;
  border-bottom: 3px solid #667eea;
  font-weight: 700;
}

/* Step Item */
.step-item {
  background: #f9fafb;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  border-left: 5px solid #667eea;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.step-header h3 {
  font-size: 24px;
  color: #1f2937;
  margin: 0;
  font-weight: 600;
}

.step-body {
  padding-left: 70px;
}

.step-body p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.8;
  margin: 0 0 20px 0;
}

.note-text {
  font-style: italic;
  color: #6b7280;
  margin-top: 20px !important;
}

/* Lists */
.convention-list,
.requirements-list,
.parameters-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.convention-list li,
.requirements-list li,
.parameters-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

.convention-list li:last-child,
.requirements-list li:last-child,
.parameters-list li:last-child {
  border-bottom: none;
}

.convention-list strong,
.requirements-list strong,
.parameters-list strong {
  color: #1f2937;
  font-weight: 600;
}

/* Code Blocks */
code {
  background: #1f2937;
  color: #10b981;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

pre {
  background: #1f2937;
  color: #10b981;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 10px 0;
}

pre code {
  background: none;
  padding: 0;
}

/* JSON Textarea Container */
.json-textarea-container {
  position: relative;
  margin: 15px 0;
}

.json-textarea {
  width: 100%;
  background: #1f2937;
  color: #10b981;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #374151;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.json-textarea:focus {
  outline: none;
  border-color: #667eea;
}

.copy-json-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(102, 126, 234, 0.9);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.copy-json-btn:hover {
  background: rgba(118, 75, 162, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.copy-json-btn.copied {
  background: #10b981;
}

.copy-json-btn svg {
  flex-shrink: 0;
}

/* Update convention list for textarea */
.convention-list li:has(.json-textarea-container) {
  border-bottom: none;
  padding-bottom: 0;
}

/* Example & Parameters Boxes */
.example-box,
.parameters-box {
  background: white;
  border: 2px solid #667eea;
  border-radius: 12px;
  padding: 25px;
  margin: 25px 0;
}

.example-box h4,
.parameters-box h4 {
  font-size: 20px;
  color: #667eea;
  margin: 0 0 20px 0;
  font-weight: 700;
}

.example-box ul,
.parameters-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.example-box li,
.parameters-box li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
}

.example-box li:last-child,
.parameters-box li:last-child {
  border-bottom: none;
}

/* Image Container */
.image-container {
  margin: 25px 0;
  text-align: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.02);
}

/* Tips Section */
.tips-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 3px solid #667eea;
}

.tips-section h2 {
  font-size: 32px;
  color: #1f2937;
  text-align: center;
  margin: 0 0 40px 0;
  font-weight: 700;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.tip-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.tip-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.tip-card h3 {
  font-size: 20px;
  margin: 0 0 12px 0;
  font-weight: 700;
}

.tip-card p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 768px) {
  .create-icons-page {
    padding: 20px 15px;
  }

  .create-icons-header {
    padding: 40px 25px;
  }

  .create-icons-title {
    font-size: 36px;
  }

  .create-icons-subtitle {
    font-size: 16px;
  }

  .create-icons-content {
    padding: 30px 20px;
  }

  .step-body {
    padding-left: 0;
  }

  .step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

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

  pre {
    font-size: 12px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .create-icons-title {
    font-size: 28px;
  }

  .step-header h3 {
    font-size: 20px;
  }

  .intro-section h2,
  .steps-section > h2,
  .tips-section h2 {
    font-size: 26px;
  }
}
