.ppb-wrapper {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
    background: #fafafa;
    max-width: 900px;
}

.ppb-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.ppb-steps {
    margin-bottom: 24px;
}

.ppb-step {
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
    margin-top: 12px;
}

.ppb-step:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.ppb-step-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ppb-step-level {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #eee;
    color: #555;
}

.ppb-step-level-basic {
    background: #e7f4ff;
    color: #225a8a;
}

.ppb-step-level-advanced {
    background: #fdf0d2;
    color: #8a5a22;
}

.ppb-field-group {
    margin-bottom: 10px;
}

.ppb-field-label {
    margin: 0 0 4px;
    font-size: 0.95rem;
}

.ppb-select,
.ppb-textarea,
.ppb-output-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
}

.ppb-select:focus,
.ppb-textarea:focus,
.ppb-output-textarea:focus {
    outline: none;
    border-color: #2684ff;
    box-shadow: 0 0 0 1px rgba(38, 132, 255, 0.2);
}

.ppb-output-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 16px;
    margin-top: 16px;
}

.ppb-output-section h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.ppb-output-textarea {
    resize: vertical;
    min-height: 120px;
    margin-bottom: 10px;
}

.ppb-output-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ppb-btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #2684ff;
    background: #2684ff;
    color: #fff;
    cursor: pointer;
    line-height: 1.3;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}

.ppb-btn:hover {
    background: #1a64c5;
    border-color: #1a64c5;
}

.ppb-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.ppb-btn-active {
    transform: scale(0.98);
}

.ppb-btn-copy {
    background: #fff;
    color: #2684ff;
}

.ppb-btn-copy:hover {
    background: #f0f6ff;
}

/* Small screens */
@media (max-width: 600px) {
    .ppb-wrapper {
        padding: 12px;
    }
}
