.stc-container {
    --stc-primary: #ec4899;
    --stc-secondary: #8b5cf6;
    --stc-card-bg: #fff;
    --stc-text: #0f172a;
    --stc-text-muted: #64748b;
    --stc-border: #e2e8f0;
    --stc-input-bg: #f1f5f9;
    --stc-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    max-width: 1000px;
    margin: 4rem auto;
    color: var(--stc-text);
  }

  .theme-dark .stc-container {
    --stc-card-bg: #1e293b;
    --stc-text: #f8fafc;
    --stc-text-muted: #94a3b8;
    --stc-border: #334155;
    --stc-input-bg: #0f172a;
  }

  .stc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  @media (min-width: 850px) {
    .stc-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  .stc-card {
    background: var(--stc-card-bg);
    border: 1px solid var(--stc-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--stc-shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .stc-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .stc-icon-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--stc-primary), var(--stc-secondary));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .stc-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
  }

  .stc-area-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--stc-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .stc-textarea {
    width: 100%;
    min-height: 250px;
    background: var(--stc-input-bg);
    border: 2px solid var(--stc-border);
    border-radius: 1rem;
    padding: 1.25rem;
    font-size: 0.9rem;
    color: var(--stc-text);
    outline: none;
    resize: vertical;
    transition: all 0.2s;
  }

  .stc-textarea:focus {
    border-color: var(--stc-primary);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
  }

  .stc-result-box {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .stc-copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--stc-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1;
  }

  .stc-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  }

  .stc-preview-container {
    background: var(--stc-input-bg);
    border: 2px dashed var(--stc-border);
    border-radius: 1rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
  }

  .stc-preview-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(45deg, var(--stc-border) 25%, transparent 25%),
      linear-gradient(-45deg, var(--stc-border) 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, var(--stc-border) 75%),
      linear-gradient(-45deg, transparent 75%, var(--stc-border) 75%);
    background-size: 20px 20px;
    background-position:
      0 0,
      0 10px,
      10px -10px,
      -10px 0;
    opacity: 0.1;
  }

  .stc-preview-img {
    max-width: 80px;
    max-height: 80px;
    z-index: 1;
  }

  .stc-preview-applied {
    width: 60px;
    height: 60px;
    z-index: 1;
  }

  .stc-output-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--stc-input-bg);
    padding: 0.3rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .stc-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--stc-text-muted);
    cursor: pointer;
    transition: all 0.2s;
  }

  .stc-tab-btn.active {
    background: var(--stc-card-bg);
    color: var(--stc-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }