/* Slug Generator — slug-generator.css */
.slug-section {
    --tool-accent: #6366F1;
    --tool-accent-rgb: 99, 102, 241;
}

.sg-input-textarea {
    min-height: 200px;
}

/* Mode pills */
.sg-mode-group {
    align-items: center;
}

.sg-mode-pills {
    display: flex;
    gap: 2px;
    background: rgba(100, 116, 139, 0.1);
    border-radius: 8px;
    padding: 2px;
}

.sg-mode-pill {
    padding: 4px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.sg-mode-pill--active {
    background: #FFFFFF;
    color: var(--tool-accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* URL preview strip */
.sg-url-preview-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
    background: rgba(99, 102, 241, 0.02);
    flex-wrap: wrap;
}

.sg-url-preview-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    white-space: nowrap;
}

.sg-base-url-input {
    width: 220px;
    padding: 5px 10px;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.sg-url-preview-full {
    font-family: ui-monospace, 'Cascadia Code', 'Fira Code', monospace;
    font-size: 0.8125rem;
    color: var(--tool-accent);
    font-weight: 600;
    word-break: break-all;
    min-width: 0;
}

/* Slug display area */
.sg-output-wrap {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    background: #F8FAFC;
    border: 1.5px solid rgba(100, 116, 139, 0.15);
    border-radius: 10px;
    min-height: 200px;
    word-break: break-all;
}

.sg-slug-display {
    font-family: ui-monospace, 'Cascadia Code', 'Fira Code', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--tool-accent);
    line-height: 1.8;
    letter-spacing: 0.01em;
    width: 100%;
    white-space: pre-wrap;
}

.sg-empty-hint {
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #94A3B8;
}

/* Bulk mode — numbered rows */
.sg-bulk-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 3px 0;
}

.sg-bulk-num {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #94A3B8;
    min-width: 20px;
    text-align: right;
    flex-shrink: 0;
    user-select: none;
}

.sg-bulk-slug {
    color: var(--tool-accent);
    word-break: break-all;
}

.sg-bulk-empty {
    color: #CBD5E1;
    font-style: italic;
    font-size: 0.8125rem;
}

/* SEO badge */
.sg-seo-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.sg-seo-badge--good {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.sg-seo-badge--warn {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
}

.sg-seo-badge--bad {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
}

/* Bulk textarea — taller */
.sg-input-textarea--bulk {
    min-height: 280px;
}

@media (max-width: 680px) {
    .sg-base-url-input {
        width: 100%;
    }

    .sg-url-preview-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}