/* Styles for AI Photo Editor, AI Logo Designer, and AI Prompt Generator */

/* --- Logo Designer Showcase --- */
.logo-gallery {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.logo-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8dc;
}
.logo-gallery-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.logo-gallery-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #1f2937);
  letter-spacing: -0.3px;
}
.logo-gallery-title p {
  margin: 0;
  font-size: 11px;
  color: #718067;
}
.logo-theme-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f4ea;
  border: 1px solid #dbe4d2;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #4b6342;
  cursor: pointer;
  transition: all 0.2s;
}
.logo-theme-all:hover {
  background: #e3ebd9;
}

.logo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.logo-card {
  background: #ffffff;
  border: 1px solid #e1e7d8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.logo-card:hover {
  border-color: #b5c7aa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.logo-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #fbfdf9;
  border-bottom: 1px solid #edf1e7;
}
.logo-concept-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #1f2937);
}
.logo-concept-info span {
  font-size: 10px;
  color: #7c8872;
}
.logo-card-theme-toggle {
  font-size: 10px;
  font-weight: 600;
  color: #556c4d;
  background: #eef3e6;
  border: 1px solid #d5dfcc;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.logo-card-theme-toggle:hover {
  background: #e2ebd8;
}

.logo-svg-display {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: #0f172a;
  transition: background 0.25s ease;
}
.logo-svg-display.light-mode {
  background: #f8fafc;
}
.logo-svg-display svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #ffffff;
  border-top: 1px solid #edf1e7;
  flex-wrap: wrap;
  gap: 10px;
}
.logo-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.logo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
}
.logo-btn-svg {
  background: #eef5e6;
  color: #3b5c32;
  border-color: #d1dfc5;
}
.logo-btn-svg:hover {
  background: #e1eed4;
}
.logo-btn-png {
  background: #2563eb;
  color: #ffffff;
}
.logo-btn-png:hover {
  background: #1d4ed8;
}
.logo-btn-copy {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}
.logo-btn-copy:hover {
  background: #e2e8f0;
}

.logo-disclaimer {
  font-size: 10px;
  line-height: 1.6;
  color: #839178;
  padding: 12px 16px;
  background: #f4f8ee;
  border: 1px solid #e3ebd9;
  border-radius: 8px;
  margin-top: 6px;
}

/* --- Prompt Generator Showcase --- */
.prompt-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.prompt-card {
  background: #ffffff;
  border: 1px solid #e1e7d8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
}
.prompt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fbfdf9;
  border-bottom: 1px solid #edf1e7;
}
.prompt-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.prompt-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #eaf1e2;
  color: #476339;
  text-transform: uppercase;
}
.prompt-badge.secondary {
  background: #e2eaf7;
  color: #33548a;
}
.prompt-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #d3dfc7;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #416335;
  cursor: pointer;
  transition: all 0.15s;
}
.prompt-copy-btn:hover {
  background: #eef5e7;
  border-color: #b8cba8;
}
.prompt-body {
  padding: 16px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink, #1f2937);
  background: #ffffff;
  word-break: break-word;
  white-space: pre-wrap;
  user-select: all;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.prompt-body.code-font {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  background: #f8faf6;
  border-top: 1px solid #edf1e7;
}

@media (max-width: 640px) {
  .logo-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .logo-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .logo-btn {
    flex: 1;
    justify-content: center;
  }
}
