* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #FFF5F5 0%, #FFE4E6 50%, #FFF0F3 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #FF2442;
}

.logo svg {
  width: 36px;
  height: 36px;
}

.steps {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 10px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .steps {
    top: 20px;
    right: 20px;
    left: auto;
    transform: none;
  }
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 12px;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  background: #FFF0F0;
  color: #FF2442;
}

.step.active {
  background: linear-gradient(135deg, #FF2442 0%, #FF6B8A 100%);
  color: white;
}

.step.disabled {
  background: #F5F5F5;
  color: #999;
  cursor: not-allowed;
  pointer-events: none;
}

.step-number {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  background: #FF2442;
  color: white;
}

.step.active .step-number {
  background: rgba(255, 255, 255, 0.3);
}

.step.disabled .step-number {
  background: #E0E0E0;
  color: #999;
}

.step-label {
  font-size: 13px;
  font-weight: 500;
}

.main-content {
  will-change: opacity;
  animation: fadeIn 0.5s ease;
  padding-top: 50px;
}

@media (min-width: 768px) {
  .main-content {
    padding-top: 0;
  }
}

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

.hidden {
  display: none !important;
}

.input-card {
  background: white;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 32px rgba(255, 36, 66, 0.08);
  text-align: center;
  margin-bottom: 24px;
}

.title {
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 10px;
  line-height: 1.3;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.input-group {
  display: flex;
  gap: 12px;
  max-width: 450px;
  margin: 0 auto;
}

#industry-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #E8E8E8;
  border-radius: 14px;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
  background: #FAFAFA;
}

#industry-input:focus {
  border-color: #FF2442;
  box-shadow: 0 0 0 3px rgba(255, 36, 66, 0.1);
  background: white;
}

#industry-input::placeholder {
  color: #BBB;
}

.generate-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #FF2442 0%, #FF6B8A 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 36, 66, 0.25);
}

.generate-btn:active {
  transform: translateY(0);
}

.generate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.generate-btn:hover .btn-icon {
  transform: translateX(4px);
}

.tips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: #999;
  font-size: 13px;
}

.tip-icon {
  font-size: 14px;
}

.read-report-container {
  margin-top: 16px;
  text-align: center;
}

.read-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border: 1.5px solid #E8E8E8;
  border-radius: 12px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-report-btn:hover {
  border-color: #FF2442;
  color: #FF2442;
  box-shadow: 0 2px 8px rgba(255, 36, 66, 0.1);
}

.read-report-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
  pointer-events: none;
}

.read-report-btn.disabled:hover {
  border-color: #ddd;
  color: #999;
  box-shadow: none;
}

.preview-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.preview-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.preview-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #FFF5F5;
  border-radius: 10px;
  color: #333;
  font-size: 13px;
}

.preview-dot {
  width: 6px;
  height: 6px;
  background: #FF2442;
  border-radius: 50%;
  flex-shrink: 0;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.loading {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.loading-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: #FF2442;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.loading-ring:nth-child(2) {
  animation-delay: 0.3s;
  border-top-color: #FF6B8A;
}

.loading-ring:nth-child(3) {
  animation-delay: 0.6s;
  border-top-color: #FFB3C1;
}

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

.loading-text {
  font-size: 15px;
  color: #666;
  text-align: center;
}

.result-container {
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  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: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.result-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.4;
  flex: 1;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: white;
  border: 1.5px solid #E8E8E8;
  border-radius: 10px;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.back-btn:hover {
  border-color: #FF2442;
  color: #FF2442;
}

.result-content {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.modules {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.module-card {
  background: #FAFAFA;
  border-radius: 14px;
  border-left: 4px solid #FF2442;
  overflow: hidden;
  transition: all 0.3s ease;
}

.module-enter {
  animation: slideIn 0.5s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  background: #FAFAFA;
  transition: background 0.3s ease;
}

.module-header:hover {
  background: #F0F0F0;
}

.module-title {
  font-size: 17px;
  font-weight: 600;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: #FF2442;
  border-radius: 2px;
  flex-shrink: 0;
}

.module-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.module-arrow svg {
  width: 16px;
  height: 16px;
}

.module-arrow.expanded {
  transform: rotate(180deg);
  color: #FF2442;
}

.module-content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.3s ease;
  opacity: 0;
}

.module-content-wrapper.expanded {
  max-height: 5000px;
  opacity: 1;
}

.module-content {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.module-content ul {
  list-style: none;
  padding-left: 0;
}

.module-content li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.module-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #FF2442;
  font-weight: bold;
  font-size: 14px;
}

.module-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  margin-top: 18px;
  margin-bottom: 10px;
}

.module-content h5 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-top: 14px;
  margin-bottom: 8px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 6px 0;
}

.table-wrapper + .table-wrapper {
  margin-top: 6px;
}

.module-content table {
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.module-content th,
.module-content td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #F0F0F0;
  white-space: normal;
  word-break: break-word;
  vertical-align: top;
}

.module-content thead th {
  background: #FFF5F5;
  font-weight: 600;
  color: #333;
  font-size: 13px;
  border-bottom: 2px solid #FFE4E6;
}

.module-content tbody tr:last-child td {
  border-bottom: none;
}

.module-content tbody tr:nth-child(even) {
  background: #FAFAFA;
}

.module-content td {
  color: #444;
  line-height: 1.5;
  font-size: 13px;
}

.module-content code {
  background: #FFF5F5;
  padding: 3px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  color: #FF2442;
  word-break: break-all;
}

.module-content strong {
  color: #1A1A1A;
  font-weight: 600;
}

.module-content em {
  font-style: normal;
  color: #FF2442;
}

.module-content blockquote {
  background: #FFF5F5;
  border-left: 4px solid #FF2442;
  padding: 10px 14px;
  margin: 14px 0;
  border-radius: 0 8px 8px 0;
  color: #555;
  font-size: 13px;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0;
  border-radius: 10px;
  border: 1px solid #E8E8E8;
}

.table-wrapper table {
  margin-top: 0;
  border-radius: 0;
}

.footer {
  text-align: center;
  padding: 32px 0;
  color: #999;
  font-size: 13px;
}

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

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

  .logo {
    font-size: 18px;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }

  .steps {
    align-self: flex-end;
  }

  .input-card {
    padding: 24px 16px;
  }

  .title {
    font-size: 22px;
  }

  .subtitle {
    font-size: 13px;
  }

  .input-group {
    flex-direction: column;
    gap: 10px;
  }

  .generate-btn {
    justify-content: center;
    padding: 14px 20px;
  }

  .preview-card {
    padding: 20px 16px;
  }

  .preview-content {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .preview-item {
    font-size: 13px;
  }

  .loading-container {
    padding: 40px 16px;
  }

  .loading {
    width: 50px;
    height: 50px;
  }

  .loading-text {
    font-size: 14px;
  }

  .result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .result-title {
    font-size: 18px;
  }

  .result-content {
    padding: 16px;
  }

  .module-card {
    padding: 16px;
  }

  .module-title {
    font-size: 16px;
  }

  .module-content {
    font-size: 13px;
    line-height: 1.7;
  }

  .module-content table {
    font-size: 12px;
  }

  .module-content th,
  .module-content td {
    padding: 8px 10px;
  }

  .module-content li {
    padding-left: 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .input-card {
    padding: 20px 14px;
    border-radius: 16px;
  }

  .title {
    font-size: 20px;
  }

  .subtitle {
    font-size: 12px;
  }

  #industry-input {
    padding: 12px 16px;
    font-size: 14px;
  }

  .generate-btn {
    padding: 12px 18px;
    font-size: 14px;
  }

  .preview-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .preview-card h3 {
    font-size: 15px;
  }

  .preview-item {
    padding: 8px 12px;
    font-size: 12px;
  }

  .result-content {
    padding: 14px;
    border-radius: 14px;
  }

  .module-card {
    padding: 14px;
    border-radius: 12px;
  }

  .module-title {
    font-size: 15px;
  }

  .module-content {
    font-size: 12px;
    line-height: 1.6;
  }

  .module-content table {
    font-size: 11px;
  }

  .module-content th,
  .module-content td {
    padding: 6px 8px;
  }

  .back-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .footer {
    padding: 24px 0;
    font-size: 12px;
  }

  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 14px 0;
    border-radius: 10px;
    border: 1px solid #E8E8E8;
  }

  .table-wrapper table {
    margin-top: 0;
    border-radius: 0;
  }
}

.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: white;
  border: 1.5px solid #E8E8E8;
  border-radius: 12px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  border-color: #FF2442;
  color: #FF2442;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 36, 66, 0.15);
}

.action-btn:active {
  transform: translateY(0);
}

.action-btn svg {
  flex-shrink: 0;
}

.copy-btn:hover {
  background: #FFF5F5;
}

.download-btn:hover {
  background: #F0FFF5;
  border-color: #22C55E;
  color: #22C55E;
}

.image-btn:hover {
  background: #F5F0FF;
  border-color: #8B5CF6;
  color: #8B5CF6;
}

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 20px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F5F5;
  border: none;
  border-radius: 50%;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #E8E8E8;
  color: #333;
}

.modal-image-container {
  max-width: 100%;
  max-height: 70vh;
  overflow: auto;
  margin-bottom: 20px;
}

.modal-image-container canvas {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modal-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #FF2442 0%, #FF6B8A 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 36, 66, 0.3);
}

.copy-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #22C55E;
  color: white;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
  z-index: 1001;
  animation: toastSlideDown 0.3s ease, toastFadeOut 0.3s ease 2s forwards;
}

.copy-toast svg {
  width: 20px;
  height: 20px;
}

@keyframes toastSlideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes toastFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .action-btn {
    justify-content: center;
    padding: 14px 16px;
  }
  
  .modal-content {
    margin: 16px;
    padding: 16px;
  }
  
  .modal-image-container {
    max-height: 60vh;
  }
  
  .modal-download-btn {
    width: 100%;
    justify-content: center;
  }
}

.content-btn {
  background: linear-gradient(135deg, #FF2442 0%, #FF6B8A 100%);
  color: white;
}

.content-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 36, 66, 0.3);
}

.content-container {
  animation: slideUp 0.4s ease;
}

.content-section {
  background: white;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.content-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F0F0F0;
}

.content-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.content-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
}

.content-tabs {
  display: flex;
  background: #F5F5F5;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}

.content-tab {
  flex: 1;
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.content-tab.active {
  background: white;
  color: #FF2442;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.content-tab.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tab-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.config-section {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #FF2442;
  margin-top: 16px;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid #FF2442;
}

.config-item {
  margin-bottom: 20px;
}

.config-label {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-bottom: 8px;
}

.config-value {
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  padding: 12px 16px;
  background: #FFF5F5;
  border-radius: 10px;
  border: 1px solid #FFE4E6;
}

.config-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E8E8E8;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.config-input:focus {
  outline: none;
  border-color: #FF2442;
}

.topic-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topic-input {
  width: 100%;
}

.topic-select {
  width: 100%;
}

.config-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E8E8E8;
  border-radius: 10px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.config-select:focus {
  outline: none;
  border-color: #FF2442;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option {
  padding: 14px 16px;
  background: #F9F9F9;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-option:hover {
  background: #FFF5F5;
  border-color: #FFE4E6;
}

.radio-option.selected {
  background: #FFF5F5;
  border-color: #FF2442;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 100%;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #FF2442;
  cursor: pointer;
}

.radio-label span {
  flex: 1;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.generate-notes-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.generate-notes-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #FF2442 0%, #FF6B8A 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 36, 66, 0.3);
}

.generate-notes-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 36, 66, 0.4);
}

.generate-notes-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.result-card {
  width: 100%;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.result-section {
  margin-bottom: 24px;
}

.result-section:last-child {
  margin-bottom: 0;
}

.result-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.result-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #FF2442;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-btn {
  background: white;
  border: none;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  color: #333;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: #E8E8E8;
  color: #333;
}

.copy-btn.copied {
  background: #E8F5E9;
  color: #4CAF50;
}

.copy-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 9999;
  animation: fadeInToast 0.3s ease;
}

@keyframes fadeInToast {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.result-section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: #FF2442;
  border-radius: 2px;
}

.result-section-content {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  padding: 16px;
  background: #FAFAFA;
  border-radius: 12px;
  white-space: pre-wrap;
}

.tags-content {
  font-size: 14px;
}

.prompts-content {
  font-size: 14px;
}

.prompts-content div {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #E8E8E8;
}

.prompts-content div:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.notes-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}

.image-generate-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.generate-image-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #FF2442 0%, #FF6B8A 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.generate-image-btn.disabled {
  background: #E8E8E8;
  color: #999;
  cursor: not-allowed;
}

.disabled-hint {
  font-size: 13px;
  color: #999;
}

.step2-hint {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #FF2442, #FF6B8A);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(255, 36, 66, 0.35);
  z-index: 1001;
  animation: hintPulse 1.5s ease-in-out infinite;
  white-space: nowrap;
}

.step2-hint::before {
  content: '👆';
  margin-right: 8px;
}

@keyframes hintPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.9;
  }
}

@keyframes hintFadeOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.8);
  }
}

.step2-hint.hiding {
  animation: hintFadeOut 0.3s ease forwards;
}

@media (max-width: 768px) {
  .content-tabs {
    flex-wrap: wrap;
  }
  
  .content-tab {
    flex: none;
    min-width: calc(33.33% - 8px);
  }
  
  .config-section {
    padding: 16px;
  }
  
  .result-card {
    padding: 16px;
  }
  
  .generate-notes-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .action-btn {
    font-size: 13px;
    padding: 12px 14px;
  }
  
  .copy-toast {
    padding: 12px 20px;
    font-size: 13px;
  }
  
  .content-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .content-title {
    font-size: 18px;
  }
  
  .radio-option label {
    font-size: 13px;
  }
}